#D2CF6B#D2CF6B
#D2CF6B is a very light, vivid yellow. Relative luminance 0.594; OKLCH L 83.6% C 0.123 H 107.2°. Best body text is #000000 at 12.88:1 contrast (WCAG AA passes).
Color values
| HEX | #D2CF6B |
|---|---|
| RGB | rgb(210, 207, 107) |
| HSL | hsl(58, 53%, 62%) |
| HSV | hsv(58, 49%, 82%) |
| CMYK | cmyk(0%, 1.4%, 49%, 17.6%) |
| CIE-LAB | lab(81.51, -12.54, 49.60) |
| CIE-LCH | lch(81.51, 51.16, 104.19°) |
| OKLab | oklab(83.62% -0.0365 0.1175) |
| OKLCH | oklch(83.62% 0.123 107.2) |
| XYZ | xyz(51.5462, 59.3902, 22.6552) |
| Luminance | 0.5939 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Greenish Beige
#C9D179
ΔE00 3.68
Khaki (CSS)
#F0E68C
ΔE00 6.18
Greenish Tan
#BCCB7A
ΔE00 6.21
Sand (survey)
#E2CA76
ΔE00 6.42
Dull Yellow
#EEDC5B
ΔE00 6.46
Sandy
#F1DA7A
ΔE00 6.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2CF6B #6B6ED2
analogous
#D29B6B #D2CF6B #A2D26B
triadic
#D2CF6B #6BD2CF #CF6BD2
tetradic
#D2CF6B #6BD29B #6B6ED2 #D26BA2
square
#D2CF6B #6BD29B #6B6ED2 #D26BA2
split-complementary
#D2CF6B #6BA2D2 #9B6BD2
monochromatic
#95922D #C4C03C #D2CF6B #E0DE9A #EFEDC9
Accessibility & contrast
On white
1.63
#D2CF6B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.88
#D2CF6B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2CF6B
12.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2CF6B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2CF6B | 1.00 | 1.63 | 12.88 | 12.88 |
| #FFFFFF | 1.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DDC862
Deuteranopia (green-blind)
#DFCC70
Tritanopia (blue-blind)
#DFC4B8
Achromatopsia (no color)
#CACACA
Design tokens & code
CSS
--color: #d2cf6b; /* rgb */ color: rgb(210, 207, 107); /* oklch */ color: oklch(83.6% 0.123 107.2);
Tailwind
colors: {
custom: {
50: '#e2dd98',
500: '#d2cf6b',
950: '#000000',
},
}SCSS
$custom: #d2cf6b; $custom-light: #e2dd98; $custom-dark: #000000;
JSON
{
"hex": "#d2cf6b",
"rgb": {
"r": 210,
"g": 207,
"b": 107
},
"hsl": {
"h": 58.252,
"s": 53.368,
"l": 62.157
},
"oklch": {
"l": 0.83621,
"c": 0.123,
"h": 107.2
},
"luminance": 0.59389
}Semantic roles & 50–950 ramp
primary
#D2CF6B
secondary
#47499B
accent
#29C125
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#16150E
muted
#84847F