#D9C35F#D9C35F
#D9C35F is a light, vivid yellow. Relative luminance 0.546; OKLCH L 81.6% C 0.123 H 97.1°. Best body text is #000000 at 11.92:1 contrast (WCAG AA passes).
Color values
| HEX | #D9C35F |
|---|---|
| RGB | rgb(217, 195, 95) |
| HSL | hsl(49, 62%, 61%) |
| HSV | hsv(49, 56%, 85%) |
| CMYK | cmyk(0%, 10.1%, 56.2%, 14.9%) |
| CIE-LAB | lab(78.82, -4.53, 52.26) |
| CIE-LCH | lch(78.82, 52.46, 94.96°) |
| OKLab | oklab(81.59% -0.0152 0.122) |
| OKLCH | oklch(81.59% 0.123 97.1) |
| XYZ | xyz(50.1978, 54.6103, 18.7210) |
| Luminance | 0.5461 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 3.26
Sandy
#F1DA7A
ΔE00 5.62
Maize
#F4D054
ΔE00 5.75
Light Mustard
#F7D560
ΔE00 5.95
Mustard Yellow
#D2BD0A
ΔE00 6.57
Mustard
#DBB42C
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D9C35F #5F75D9
analogous
#D9865F #D9C35F #B2D95F
triadic
#D9C35F #5FD9C3 #C35FD9
tetradic
#D9C35F #5FD986 #5F75D9 #D95FB2
square
#D9C35F #5FD986 #5F75D9 #D95FB2
split-complementary
#D9C35F #5FB2D9 #865FD9
monochromatic
#998424 #CBAF30 #D9C35F #E5D690 #F0E8C2
Accessibility & contrast
On white
1.76
#D9C35F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.92
#D9C35F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D9C35F
11.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D9C35F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D9C35F | 1.00 | 1.76 | 11.92 | 11.92 |
| #FFFFFF | 1.76 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D4BF55
Deuteranopia (green-blind)
#DAC664
Tritanopia (blue-blind)
#E8B6AD
Achromatopsia (no color)
#C3C3C3
Design tokens & code
CSS
--color: #d9c35f; /* rgb */ color: rgb(217, 195, 95); /* oklch */ color: oklch(81.6% 0.123 97.1);
Tailwind
colors: {
custom: {
50: '#e7d48f',
500: '#d9c35f',
950: '#000000',
},
}SCSS
$custom: #d9c35f; $custom-light: #e7d48f; $custom-dark: #000000;
JSON
{
"hex": "#d9c35f",
"rgb": {
"r": 217,
"g": 195,
"b": 95
},
"hsl": {
"h": 49.18,
"s": 61.616,
"l": 61.176
},
"oklch": {
"l": 0.81586,
"c": 0.12291,
"h": 97.1
},
"luminance": 0.54608
}Semantic roles & 50–950 ramp
primary
#D9C35F
secondary
#3F509E
accent
#3BC91C
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140D
muted
#85837F