Citrine Color Codes
Citrine is a light, vivid yellow with the hex code #E4D00A, RGB values of 228, 208, 10 and an HSL value of hsl(54, 92%, 47%).
| HEX | #E4D00A |
|---|---|
| RGB | 228, 208, 10 |
| HSL | hsl(54, 92%, 47%) |
| HSV | 54°, 96%, 89% |
| CMYK | 0%, 9%, 96%, 11% |
| LAB | 82.72, -9.84, 82.10 |
| CIELCHuv | 82.72, 91.04, 76.98° |
- Nearest Pantone
- PMS 605 C ΔE 2.9 · approximate
- Nearest CSS name
-
goldΔE 10.3
Source Wikipedia, List of colors (cites Maerz and Paul)
Citrine Color Hex Code
The Citrine color hex code is #E4D00A. Those six digits are three pairs, E4 for red, D0 for green and 0A for blue, which is the same triplet a browser reads from the CSS value below.
#E4D00A
Citrine Color RGB Code
The Citrine RGB code is rgb(228, 208, 10). Red carries the most light at 228 of 255, which is what puts this color where it sits on the wheel.
rgb(228, 208, 10)
Citrine Color HSV Code
The Citrine HSV code is 54°, 96%, 89%. Read it as a hue of 54 degrees, 96% saturation and 89% value, which is the form most color pickers use because moving one number changes one thing.
54°, 96%, 89%
Citrine Color CIELChuv Code
The Citrine CIELCHuv code is 82.72, 91.04, 76.98°. Unlike hex or RGB this one is perceptual: lightness 83 means light to the eye rather than to the screen, and chroma 91 is how far it sits from grey.
82.72, 91.04, 76.98°
Tonal scale
What are Citrine Color Palettes?
A shade mixes toward black, a tint toward white, a tone toward grey. Every step keeps the hue and is copy-ready.
Shades, toward black
Tints, toward white
Tones, toward grey
Palettes
What are Citrine Color Palette Codes?
Each of these is a hue rotation from #E4D00A. They are generated, not curated, so they are exact.
Complementary
Directly opposite sits #0A1EE4, a dark, vivid blue. No other pairing separates two hues further, so this is the one to reach for when a single element has to win attention. Both are saturated, so give the complement much less area than the base or the two will fight.
Analogous
#E4630A and #8BE40A sit 30 degrees either side. All three share most of their hue, so the set reads as one family instead of three separate decisions. Good for backgrounds and for state variations that should not announce themselves.
Triadic
#0AE4D0 and #D00AE4 complete an even 120 degree split. Three fully independent hues, so one has to lead: keep this base dominant and let the other two appear in small quantities.
Split-complementary
Instead of the direct complement, this takes the two hues either side of it: #0A8BE4 and #630AE4. Almost the same contrast, without the edge shimmer a true complementary pair produces at high saturation.
Tetradic
Two complementary pairs forming a rectangle: this base with #0A1EE4, and #0AE463 with #E40A8B. The richest of the five and the hardest to balance, so treat this base as the lead and hold the other three well back.
Accessibility
Contrast checker: is Citrine accessible?
Measured against white and against black, with a separate verdict for each element type. Small text, large text and UI components have different thresholds, so one pass or fail for the whole color would be wrong roughly a third of the time.
White background
1.58:11.58
contrast ratio on white background
| Element | AA | AAA |
|---|---|---|
| Small text needs 4.5:1 / 7:1 | Fails | Fails |
| Large text needs 3:1 / 4.5:1 | Fails | Fails |
| UI component needs 3:1 | Fails | n/a |
Black background
13.33:113.33
contrast ratio on black background
| Element | AA | AAA |
|---|---|---|
| Small text needs 4.5:1 / 7:1 | Passes | Passes |
| Large text needs 3:1 / 4.5:1 | Passes | Passes |
| UI component needs 3:1 | Passes | n/a |
At 1.58:1 against white, Citrine is a fill color rather than a text color. Use it for surfaces, borders and large display type, and set the copy in ink. Text placed on it should be black, which gives 13.33:1. It is a highly saturated color, so it will dominate anything it sits beside. Give it space rather than surrounding it with other strong colors.
Color vision
How Citrine looks with color blindness
Around 300 million people see color differently from the way it is specified. Each card shows the actual color beside how it appears, and how common that form of vision is.
Protanopia
About 1% of men#DCDB6E
Citrine changes substantially here. ΔE 29.4
No working red cones. Reds darken sharply and drift toward the same muddy olive as green.
Deuteranopia
About 1% of men#DDDE79
Citrine changes substantially here. ΔE 33.5
No working green cones. With the milder deuteranomaly at nearer 6% of men, this is by far the most common form, and the one worth designing around.
Tritanopia
About 1 in 10,000#E38F95
Citrine changes substantially here. ΔE 84.7
No working blue cones. Blues shift toward green and yellows toward pink. Rare, and unlike the others it is not sex-linked, so it affects men and women equally.
Achromatopsia
About 1 in 30,000#CECECE
Citrine changes substantially here. ΔE 82.7
No color vision at all. Also a fair proxy for how the color survives a greyscale print or a failing screen.
To a deuteranope, the most common form, Citrine reads as #DDDE79. That is a shift of ΔE 33.5, so it is a different color to roughly one man in sixteen. The widest shift is under tritanopia, at ΔE 84.7. The rule this leads to needs no simulator: never let color be the only thing carrying a message. Add a label, an icon, or a clear difference in lightness, and the problem disappears for everyone.
Snippets
Using Citrine in code
:root {
--citrine: #E4D00A;
}
.example {
color: var(--citrine);
}
// tailwind.config.js
theme: {
extend: {
colors: {
'citrine': '#E4D00A',
},
},
}
// SwiftUI takes 0–1 components, not 0–255.
let citrine = Color(
red: 0.894,
green: 0.816,
blue: 0.039
)
<!-- res/values/colors.xml -->
<color name="citrine">#E4D00A</color>
// Flutter wants ARGB: FF for full opacity, then the hex.
const citrine = Color(0xFFE4D00A);