#D2CF6A#D2CF6A
#D2CF6A is a very light, vivid yellow. Relative luminance 0.594; OKLCH L 83.6% C 0.124 H 107.3°. Best body text is #000000 at 12.87:1 contrast (WCAG AA passes).
Color values
| HEX | #D2CF6A |
|---|---|
| RGB | rgb(210, 207, 106) |
| HSL | hsl(58, 54%, 62%) |
| HSV | hsv(58, 50%, 82%) |
| CMYK | cmyk(0%, 1.4%, 49.5%, 17.6%) |
| CIE-LAB | lab(81.49, -12.63, 50.06) |
| CIE-LCH | lch(81.49, 51.63, 104.15°) |
| OKLab | oklab(83.61% -0.0368 0.1184) |
| OKLCH | oklch(83.61% 0.124 107.3) |
| XYZ | xyz(51.4939, 59.3692, 22.3797) |
| Luminance | 0.5937 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Beige
#C9D179
ΔE00 3.77
Khaki (CSS)
#F0E68C
ΔE00 6.23
Greenish Tan
#BCCB7A
ΔE00 6.30
Dull Yellow
#EEDC5B
ΔE00 6.38
Sand (survey)
#E2CA76
ΔE00 6.47
Sandy
#F1DA7A
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2CF6A #6A6DD2
analogous
#D29B6A #D2CF6A #A1D26A
triadic
#D2CF6A #6AD2CF #CF6AD2
tetradic
#D2CF6A #6AD29B #6A6DD2 #D26AA1
square
#D2CF6A #6AD29B #6A6DD2 #D26AA1
split-complementary
#D2CF6A #6AA1D2 #9B6AD2
monochromatic
#95922D #C4C03B #D2CF6A #E0DE99 #EEEDC8
Accessibility & contrast
On white
1.63
#D2CF6A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.87
#D2CF6A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2CF6A
12.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2CF6A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2CF6A | 1.00 | 1.63 | 12.87 | 12.87 |
| #FFFFFF | 1.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DDC861
Deuteranopia (green-blind)
#DFCC6F
Tritanopia (blue-blind)
#DFC4B8
Achromatopsia (no color)
#CACACA
Design tokens & code
CSS
--color: #d2cf6a; /* rgb */ color: rgb(210, 207, 106); /* oklch */ color: oklch(83.6% 0.124 107.3);
Tailwind
colors: {
custom: {
50: '#e2dd97',
500: '#d2cf6a',
950: '#000000',
},
}SCSS
$custom: #d2cf6a; $custom-light: #e2dd97; $custom-dark: #000000;
JSON
{
"hex": "#d2cf6a",
"rgb": {
"r": 210,
"g": 207,
"b": 106
},
"hsl": {
"h": 58.269,
"s": 53.608,
"l": 61.961
},
"oklch": {
"l": 0.83608,
"c": 0.12399,
"h": 107.3
},
"luminance": 0.59368
}Semantic roles & 50–950 ramp
primary
#D2CF6A
secondary
#46489A
accent
#29C124
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#16150E
muted
#84847F