#D2CF62#D2CF62
#D2CF62 is a very light, vivid yellow. Relative luminance 0.592; OKLCH L 83.5% C 0.132 H 107.5°. Best body text is #000000 at 12.84:1 contrast (WCAG AA passes).
Color values
| HEX | #D2CF62 |
|---|---|
| RGB | rgb(210, 207, 98) |
| HSL | hsl(58, 55%, 60%) |
| HSV | hsv(58, 53%, 82%) |
| CMYK | cmyk(0%, 1.4%, 53.3%, 17.6%) |
| CIE-LAB | lab(81.41, -13.30, 53.71) |
| CIE-LCH | lch(81.41, 55.33, 103.91°) |
| OKLab | oklab(83.51% -0.0396 0.1255) |
| OKLCH | oklch(83.51% 0.132 107.5) |
| XYZ | xyz(51.0972, 59.2105, 20.2900) |
| Luminance | 0.5921 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Beige
#C9D179
ΔE00 4.57
Dull Yellow
#EEDC5B
ΔE00 5.85
Khaki (CSS)
#F0E68C
ΔE00 6.65
Sandy
#F1DA7A
ΔE00 6.69
Dirty Yellow
#CDC50A
ΔE00 6.77
Vomit Yellow
#C7C10C
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2CF62 #6265D2
analogous
#D29762 #D2CF62 #9DD262
triadic
#D2CF62 #62D2CF #CF62D2
tetradic
#D2CF62 #62D297 #6265D2 #D2629D
square
#D2CF62 #62D297 #6265D2 #D2629D
split-complementary
#D2CF62 #629DD2 #9762D2
monochromatic
#908D29 #C0BC37 #D2CF62 #E0DE92 #EDECC1
Accessibility & contrast
On white
1.64
#D2CF62 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.84
#D2CF62 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2CF62
12.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2CF62 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2CF62 | 1.00 | 1.64 | 12.84 | 12.84 |
| #FFFFFF | 1.64 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DEC857
Deuteranopia (green-blind)
#E0CC68
Tritanopia (blue-blind)
#DFC3B7
Achromatopsia (no color)
#CACACA
Design tokens & code
CSS
--color: #d2cf62; /* rgb */ color: rgb(210, 207, 98); /* oklch */ color: oklch(83.5% 0.132 107.5);
Tailwind
colors: {
custom: {
50: '#e2dd92',
500: '#d2cf62',
950: '#000000',
},
}SCSS
$custom: #d2cf62; $custom-light: #e2dd92; $custom-dark: #000000;
JSON
{
"hex": "#d2cf62",
"rgb": {
"r": 210,
"g": 207,
"b": 98
},
"hsl": {
"h": 58.393,
"s": 55.446,
"l": 60.392
},
"oklch": {
"l": 0.83511,
"c": 0.13162,
"h": 107.5
},
"luminance": 0.59209
}Semantic roles & 50–950 ramp
primary
#D2CF62
secondary
#424496
accent
#27C323
background
#FEFEFC
surface
#FCFCF4
border
#D5D5CE
text
#16150D
muted
#84847F