#D4D87F#D4D87F
#D4D87F is a very light, moderate yellow. Relative luminance 0.646; OKLCH L 86.0% C 0.112 H 110.8°. Best body text is #000000 at 13.93:1 contrast (WCAG AA passes).
Color values
| HEX | #D4D87F |
|---|---|
| RGB | rgb(212, 216, 127) |
| HSL | hsl(63, 53%, 67%) |
| HSV | hsv(63, 41%, 85%) |
| CMYK | cmyk(1.9%, 0%, 41.2%, 15.3%) |
| CIE-LAB | lab(84.30, -14.31, 43.33) |
| CIE-LCH | lch(84.30, 45.63, 108.28°) |
| OKLab | oklab(85.96% -0.0398 0.105) |
| OKLCH | oklch(85.96% 0.112 110.8) |
| XYZ | xyz(55.5388, 64.6421, 29.6260) |
| Luminance | 0.6464 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Beige
#C9D179
ΔE00 2.13
Greenish Tan
#BCCB7A
ΔE00 4.87
Khaki (CSS)
#F0E68C
ΔE00 5.29
Pale Olive
#B9CC81
ΔE00 5.98
Light Khaki
#E6F2A2
ΔE00 6.28
Palegoldenrod
#EEE8AA
ΔE00 7.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D4D87F #837FD8
analogous
#D8B07F #D4D87F #A7D87F
triadic
#D4D87F #7FD4D8 #D87FD4
tetradic
#D4D87F #7FD8B0 #837FD8 #D87FA7
square
#D4D87F #7FD8B0 #837FD8 #D87FA7
split-complementary
#D4D87F #7FA7D8 #B07FD8
monochromatic
#A4A934 #C4CA50 #D4D87F #E4E6AE #F4F5DD
Accessibility & contrast
On white
1.51
#D4D87F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.93
#D4D87F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D4D87F
13.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D4D87F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D4D87F | 1.00 | 1.51 | 13.93 | 13.93 |
| #FFFFFF | 1.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E4D178
Deuteranopia (green-blind)
#E5D483
Tritanopia (blue-blind)
#DFCEC2
Achromatopsia (no color)
#D2D2D2
Design tokens & code
CSS
--color: #d4d87f; /* rgb */ color: rgb(212, 216, 127); /* oklch */ color: oklch(86.0% 0.112 110.8);
Tailwind
colors: {
custom: {
50: '#e2e4a5',
500: '#d4d87f',
950: '#000000',
},
}SCSS
$custom: #d4d87f; $custom-light: #e2e4a5; $custom-dark: #000000;
JSON
{
"hex": "#d4d87f",
"rgb": {
"r": 212,
"g": 216,
"b": 127
},
"hsl": {
"h": 62.697,
"s": 53.293,
"l": 67.255
},
"oklch": {
"l": 0.85964,
"c": 0.11225,
"h": 110.8
},
"luminance": 0.64641
}Semantic roles & 50–950 ramp
primary
#D4D87F
secondary
#534FAC
accent
#25C12C
background
#FEFEFC
surface
#FCFCF6
border
#D5D5D0
text
#16150F
muted
#848480