#D9C357#D9C357
#D9C357 is a light, vivid yellow. Relative luminance 0.545; OKLCH L 81.5% C 0.130 H 97.9°. Best body text is #000000 at 11.89:1 contrast (WCAG AA passes).
Color values
| HEX | #D9C357 |
|---|---|
| RGB | rgb(217, 195, 87) |
| HSL | hsl(50, 63%, 60%) |
| HSV | hsv(50, 60%, 85%) |
| CMYK | cmyk(0%, 10.1%, 59.9%, 14.9%) |
| CIE-LAB | lab(78.74, -5.12, 55.85) |
| CIE-LCH | lch(78.74, 56.08, 95.23°) |
| OKLab | oklab(81.5% -0.0178 0.1287) |
| OKLCH | oklch(81.5% 0.13 97.9) |
| XYZ | xyz(49.8527, 54.4723, 16.9032) |
| Luminance | 0.5447 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 4.17
Maize
#F4D054
ΔE00 5.41
Mustard Yellow
#D2BD0A
ΔE00 5.56
Light Mustard
#F7D560
ΔE00 5.77
Sandy
#F1DA7A
ΔE00 5.92
Ugly Yellow
#D0C101
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D9C357 #576DD9
analogous
#D98257 #D9C357 #AED957
triadic
#D9C357 #57D9C3 #C357D9
tetradic
#D9C357 #57D982 #576DD9 #D957AE
square
#D9C357 #57D982 #576DD9 #D957AE
split-complementary
#D9C357 #57AED9 #8257D9
monochromatic
#948121 #C6AC2D #D9C357 #E4D589 #F0E7BB
Accessibility & contrast
On white
1.77
#D9C357 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.89
#D9C357 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D9C357
11.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D9C357 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D9C357 | 1.00 | 1.77 | 11.89 | 11.89 |
| #FFFFFF | 1.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D4BF4B
Deuteranopia (green-blind)
#DAC65C
Tritanopia (blue-blind)
#E9B6AB
Achromatopsia (no color)
#C3C3C3
Design tokens & code
CSS
--color: #d9c357; /* rgb */ color: rgb(217, 195, 87); /* oklch */ color: oklch(81.5% 0.130 97.9);
Tailwind
colors: {
custom: {
50: '#e8d48a',
500: '#d9c357',
950: '#000000',
},
}SCSS
$custom: #d9c357; $custom-light: #e8d48a; $custom-dark: #000000;
JSON
{
"hex": "#d9c357",
"rgb": {
"r": 217,
"g": 195,
"b": 87
},
"hsl": {
"h": 49.846,
"s": 63.107,
"l": 59.608
},
"oklch": {
"l": 0.81497,
"c": 0.12993,
"h": 97.9
},
"luminance": 0.5447
}Semantic roles & 50–950 ramp
primary
#D9C357
secondary
#3B4B99
accent
#5DE642
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F