#D6C25F#D6C25F
#D6C25F is a light, vivid yellow. Relative luminance 0.537; OKLCH L 81.1% C 0.122 H 98.1°. Best body text is #000000 at 11.74:1 contrast (WCAG AA passes).
Color values
| HEX | #D6C25F |
|---|---|
| RGB | rgb(214, 194, 95) |
| HSL | hsl(50, 59%, 61%) |
| HSV | hsv(50, 56%, 84%) |
| CMYK | cmyk(0%, 9.3%, 55.6%, 16.1%) |
| CIE-LAB | lab(78.29, -5.26, 51.59) |
| CIE-LCH | lch(78.29, 51.86, 95.82°) |
| OKLab | oklab(81.11% -0.0171 0.1206) |
| OKLCH | oklch(81.11% 0.122 98.1) |
| XYZ | xyz(49.0907, 53.7080, 18.6051) |
| Luminance | 0.5371 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 3.56
Sandy
#F1DA7A
ΔE00 5.99
Darkkhaki
#BDB76B
ΔE00 6.33
Maize
#F4D054
ΔE00 6.37
Light Mustard
#F7D560
ΔE00 6.55
Mustard Yellow
#D2BD0A
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D6C25F #5F73D6
analogous
#D6865F #D6C25F #AED65F
triadic
#D6C25F #5FD6C2 #C25FD6
tetradic
#D6C25F #5FD686 #5F73D6 #D65FAE
square
#D6C25F #5FD686 #5F73D6 #D65FAE
split-complementary
#D6C25F #5FAED6 #865FD6
monochromatic
#958226 #C5AD33 #D6C25F #E2D590 #EFE7C0
Accessibility & contrast
On white
1.79
#D6C25F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.74
#D6C25F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D6C25F
11.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D6C25F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D6C25F | 1.00 | 1.79 | 11.74 | 11.74 |
| #FFFFFF | 1.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D2BE55
Deuteranopia (green-blind)
#D8C563
Tritanopia (blue-blind)
#E5B6AC
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #d6c25f; /* rgb */ color: rgb(214, 194, 95); /* oklch */ color: oklch(81.1% 0.122 98.1);
Tailwind
colors: {
custom: {
50: '#e5d48f',
500: '#d6c25f',
950: '#000000',
},
}SCSS
$custom: #d6c25f; $custom-light: #e5d48f; $custom-dark: #000000;
JSON
{
"hex": "#d6c25f",
"rgb": {
"r": 214,
"g": 194,
"b": 95
},
"hsl": {
"h": 49.916,
"s": 59.204,
"l": 60.588
},
"oklch": {
"l": 0.81107,
"c": 0.12178,
"h": 98.1
},
"luminance": 0.53706
}Semantic roles & 50–950 ramp
primary
#D6C25F
secondary
#404F9A
accent
#3BC71F
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140D
muted
#84837F