#D2DC4B#D2DC4B
#D2DC4B is a very light, vivid yellow. Relative luminance 0.654; OKLCH L 86.1% C 0.164 H 113.2°. Best body text is #000000 at 14.08:1 contrast (WCAG AA passes).
Color values
| HEX | #D2DC4B |
|---|---|
| RGB | rgb(210, 220, 75) |
| HSL | hsl(64, 67%, 58%) |
| HSV | hsv(64, 66%, 86%) |
| CMYK | cmyk(4.5%, 0%, 65.9%, 13.7%) |
| CIE-LAB | lab(84.69, -21.31, 67.05) |
| CIE-LCH | lch(84.69, 70.36, 107.63°) |
| OKLab | oklab(86.07% -0.0646 0.1509) |
| OKLCH | oklch(86.07% 0.164 113.2) |
| XYZ | xyz(53.4430, 65.3971, 16.4629) |
| Luminance | 0.6540 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sickly Yellow
#D0E429
ΔE00 3.42
Green Yellow
#B5CE08
ΔE00 5.39
Piss Yellow
#DDD618
ΔE00 5.44
Off Yellow
#F1F33F
ΔE00 6.44
Baby Puke Green
#B6C406
ΔE00 6.52
Yellowish Green
#B0DD16
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2DC4B #554BDC
analogous
#DC9D4B #D2DC4B #89DC4B
triadic
#D2DC4B #4BD2DC #DC4BD2
tetradic
#D2DC4B #4BDC9D #554BDC #DC4B89
square
#D2DC4B #4BDC9D #554BDC #DC4B89
split-complementary
#D2DC4B #4B89DC #9D4BDC
monochromatic
#88911C #B9C426 #D2DC4B #DFE67E #ECF0B1
Accessibility & contrast
On white
1.49
#D2DC4B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.08
#D2DC4B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2DC4B
14.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2DC4B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2DC4B | 1.00 | 1.49 | 14.08 | 14.08 |
| #FFFFFF | 1.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#ECD236
Deuteranopia (green-blind)
#ECD555
Tritanopia (blue-blind)
#E0CFBF
Achromatopsia (no color)
#D3D3D3
Design tokens & code
CSS
--color: #d2dc4b; /* rgb */ color: rgb(210, 220, 75); /* oklch */ color: oklch(86.1% 0.164 113.2);
Tailwind
colors: {
custom: {
50: '#e3e685',
500: '#d2dc4b',
950: '#000000',
},
}SCSS
$custom: #d2dc4b; $custom-light: #e3e685; $custom-dark: #000000;
JSON
{
"hex": "#d2dc4b",
"rgb": {
"r": 210,
"g": 220,
"b": 75
},
"hsl": {
"h": 64.138,
"s": 67.442,
"l": 57.843
},
"oklch": {
"l": 0.86067,
"c": 0.16416,
"h": 113.2
},
"luminance": 0.65396
}Semantic roles & 50–950 ramp
primary
#D2DC4B
secondary
#3C3696
accent
#3DEA49
background
#FEFEFC
surface
#FDFCF3
border
#D5D5CD
text
#16150C
muted
#84847F