#D9C14F#D9C14F
#D9C14F is a light, vivid yellow. Relative luminance 0.535; OKLCH L 81.0% C 0.135 H 97.4°. Best body text is #000000 at 11.69:1 contrast (WCAG AA passes).
Color values
| HEX | #D9C14F |
|---|---|
| RGB | rgb(217, 193, 79) |
| HSL | hsl(50, 64%, 58%) |
| HSV | hsv(50, 64%, 85%) |
| CMYK | cmyk(0%, 11.1%, 63.6%, 14.9%) |
| CIE-LAB | lab(78.14, -4.61, 58.73) |
| CIE-LCH | lch(78.14, 58.91, 94.49°) |
| OKLab | oklab(81.01% -0.0173 0.1337) |
| OKLCH | oklch(81.01% 0.135 97.4) |
| XYZ | xyz(49.0987, 53.4585, 15.1279) |
| Luminance | 0.5346 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Yellow
#D2BD0A
ΔE00 4.78
Sand (survey)
#E2CA76
ΔE00 4.94
Dark Yellow
#D5B60A
ΔE00 5.10
Maize
#F4D054
ΔE00 5.23
Mustard
#DBB42C
ΔE00 5.25
Ugly Yellow
#D0C101
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D9C14F #4F67D9
analogous
#D97C4F #D9C14F #ACD94F
triadic
#D9C14F #4FD9C1 #C14FD9
tetradic
#D9C14F #4FD97C #4F67D9 #D94FAC
square
#D9C14F #4FD97C #4F67D9 #D94FAC
split-complementary
#D9C14F #4FACD9 #7C4FD9
monochromatic
#8F7B1F #C1A72A #D9C14F #E4D381 #EFE4B4
Accessibility & contrast
On white
1.80
#D9C14F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.69
#D9C14F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D9C14F
11.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D9C14F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D9C14F | 1.00 | 1.80 | 11.69 | 11.69 |
| #FFFFFF | 1.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D3BD42
Deuteranopia (green-blind)
#D9C555
Tritanopia (blue-blind)
#E9B3A9
Achromatopsia (no color)
#C1C1C1
Design tokens & code
CSS
--color: #d9c14f; /* rgb */ color: rgb(217, 193, 79); /* oklch */ color: oklch(81.0% 0.135 97.4);
Tailwind
colors: {
custom: {
50: '#e8d385',
500: '#d9c14f',
950: '#000000',
},
}SCSS
$custom: #d9c14f; $custom-light: #e8d385; $custom-dark: #000000;
JSON
{
"hex": "#d9c14f",
"rgb": {
"r": 217,
"g": 193,
"b": 79
},
"hsl": {
"h": 49.565,
"s": 64.486,
"l": 58.039
},
"oklch": {
"l": 0.81005,
"c": 0.13485,
"h": 97.4
},
"luminance": 0.53456
}Semantic roles & 50–950 ramp
primary
#D9C14F
secondary
#384894
accent
#5DE740
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140B
muted
#85837E