#D2C03F#D2C03F
#D2C03F is a light, vivid yellow. Relative luminance 0.518; OKLCH L 80.0% C 0.145 H 101.2°. Best body text is #000000 at 11.35:1 contrast (WCAG AA passes).
Color values
| HEX | #D2C03F |
|---|---|
| RGB | rgb(210, 192, 63) |
| HSL | hsl(53, 62%, 54%) |
| HSV | hsv(53, 70%, 82%) |
| CMYK | cmyk(0%, 8.6%, 70%, 17.6%) |
| CIE-LAB | lab(77.14, -7.97, 64.03) |
| CIE-LCH | lch(77.14, 64.52, 97.09°) |
| OKLab | oklab(80.02% -0.0282 0.1426) |
| OKLCH | oklch(80.02% 0.145 101.2) |
| XYZ | xyz(46.3272, 51.7618, 12.2525) |
| Luminance | 0.5176 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Yellow
#D2BD0A
ΔE00 3.16
Ugly Yellow
#D0C101
ΔE00 3.44
Olive Yellow
#C2B709
ΔE00 4.09
Dirty Yellow
#CDC50A
ΔE00 4.14
Vomit Yellow
#C7C10C
ΔE00 4.16
Puke Yellow
#C2BE0E
ΔE00 4.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2C03F #3F51D2
analogous
#D2763F #D2C03F #9AD23F
triadic
#D2C03F #3FD2C0 #C03FD2
tetradic
#D2C03F #3FD276 #3F51D2 #D23F9A
square
#D2C03F #3FD276 #3F51D2 #D23F9A
split-complementary
#D2C03F #3F9AD2 #763FD2
monochromatic
#7A6F1D #AC9B28 #D2C03F #DED071 #E9E1A2
Accessibility & contrast
On white
1.85
#D2C03F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.35
#D2C03F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2C03F
11.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2C03F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2C03F | 1.00 | 1.85 | 11.35 | 11.35 |
| #FFFFFF | 1.85 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D2BA2B
Deuteranopia (green-blind)
#D7C247
Tritanopia (blue-blind)
#E2B2A6
Achromatopsia (no color)
#BEBEBE
Design tokens & code
CSS
--color: #d2c03f; /* rgb */ color: rgb(210, 192, 63); /* oklch */ color: oklch(80.0% 0.145 101.2);
Tailwind
colors: {
custom: {
50: '#e3d27c',
500: '#d2c03f',
950: '#000000',
},
}SCSS
$custom: #d2c03f; $custom-light: #e3d27c; $custom-dark: #000000;
JSON
{
"hex": "#d2c03f",
"rgb": {
"r": 210,
"g": 192,
"b": 63
},
"hsl": {
"h": 52.653,
"s": 62.025,
"l": 53.529
},
"oklch": {
"l": 0.8002,
"c": 0.14534,
"h": 101.2
},
"luminance": 0.5176
}Semantic roles & 50–950 ramp
primary
#D2C03F
secondary
#333D82
accent
#57E543
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D