#D4C25F#D4C25F
#D4C25F is a light, vivid yellow. Relative luminance 0.534; OKLCH L 80.9% C 0.122 H 99.2°. Best body text is #000000 at 11.68:1 contrast (WCAG AA passes).
Color values
| HEX | #D4C25F |
|---|---|
| RGB | rgb(212, 194, 95) |
| HSL | hsl(51, 58%, 60%) |
| HSV | hsv(51, 55%, 83%) |
| CMYK | cmyk(0%, 8.5%, 55.2%, 16.9%) |
| CIE-LAB | lab(78.12, -6.09, 51.34) |
| CIE-LCH | lch(78.12, 51.70, 96.77°) |
| OKLab | oklab(80.93% -0.0194 0.1201) |
| OKLCH | oklch(80.93% 0.122 99.2) |
| XYZ | xyz(48.5104, 53.4088, 18.5779) |
| Luminance | 0.5341 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 3.86
Darkkhaki
#BDB76B
ΔE00 5.95
Sandy
#F1DA7A
ΔE00 6.18
Mustard Yellow
#D2BD0A
ΔE00 6.65
Maize
#F4D054
ΔE00 6.80
Light Mustard
#F7D560
ΔE00 6.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D4C25F #5F71D4
analogous
#D4875F #D4C25F #ACD45F
triadic
#D4C25F #5FD4C2 #C25FD4
tetradic
#D4C25F #5FD487 #5F71D4 #D45FAC
square
#D4C25F #5FD487 #5F71D4 #D45FAC
split-complementary
#D4C25F #5FACD4 #875FD4
monochromatic
#918127 #C2AC34 #D4C25F #E1D48F #EEE7BF
Accessibility & contrast
On white
1.80
#D4C25F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.68
#D4C25F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D4C25F
11.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D4C25F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D4C25F | 1.00 | 1.80 | 11.68 | 11.68 |
| #FFFFFF | 1.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D2BD55
Deuteranopia (green-blind)
#D7C464
Tritanopia (blue-blind)
#E3B6AC
Achromatopsia (no color)
#C1C1C1
Design tokens & code
CSS
--color: #d4c25f; /* rgb */ color: rgb(212, 194, 95); /* oklch */ color: oklch(80.9% 0.122 99.2);
Tailwind
colors: {
custom: {
50: '#e4d48f',
500: '#d4c25f',
950: '#000000',
},
}SCSS
$custom: #d4c25f; $custom-light: #e4d48f; $custom-dark: #000000;
JSON
{
"hex": "#d4c25f",
"rgb": {
"r": 212,
"g": 194,
"b": 95
},
"hsl": {
"h": 50.769,
"s": 57.635,
"l": 60.196
},
"oklch": {
"l": 0.80926,
"c": 0.12162,
"h": 99.2
},
"luminance": 0.53407
}Semantic roles & 50–950 ramp
primary
#D4C25F
secondary
#404E97
accent
#3AC520
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140D
muted
#84837F