#D3C442#D3C442
#D3C442 is a light, vivid yellow. Relative luminance 0.537; OKLCH L 81.0% C 0.147 H 102.6°. Best body text is #000000 at 11.74:1 contrast (WCAG AA passes).
Color values
| HEX | #D3C442 |
|---|---|
| RGB | rgb(211, 196, 66) |
| HSL | hsl(54, 62%, 54%) |
| HSV | hsv(54, 69%, 83%) |
| CMYK | cmyk(0%, 7.1%, 68.7%, 17.3%) |
| CIE-LAB | lab(78.30, -9.43, 64.06) |
| CIE-LCH | lch(78.30, 64.76, 98.38°) |
| OKLab | oklab(80.97% -0.0321 0.1431) |
| OKLCH | oklch(80.97% 0.147 102.6) |
| XYZ | xyz(47.5893, 53.7241, 13.0162) |
| Luminance | 0.5372 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Yellow
#D0C101
ΔE00 3.45
Dirty Yellow
#CDC50A
ΔE00 3.64
Mustard Yellow
#D2BD0A
ΔE00 3.72
Vomit Yellow
#C7C10C
ΔE00 3.81
Puke Yellow
#C2BE0E
ΔE00 4.26
Olive Yellow
#C2B709
ΔE00 4.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D3C442 #4251D3
analogous
#D37C42 #D3C442 #9AD342
triadic
#D3C442 #42D3C4 #C442D3
tetradic
#D3C442 #42D37C #4251D3 #D3429A
square
#D3C442 #42D37C #4251D3 #D3429A
split-complementary
#D3C442 #429AD3 #7C42D3
monochromatic
#7D731D #AFA129 #D3C442 #DFD374 #EAE3A5
Accessibility & contrast
On white
1.79
#D3C442 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.74
#D3C442 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D3C442
11.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D3C442 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D3C442 | 1.00 | 1.79 | 11.74 | 11.74 |
| #FFFFFF | 1.79 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D6BE2F
Deuteranopia (green-blind)
#DAC54A
Tritanopia (blue-blind)
#E3B7AA
Achromatopsia (no color)
#C2C2C2
Design tokens & code
CSS
--color: #d3c442; /* rgb */ color: rgb(211, 196, 66); /* oklch */ color: oklch(81.0% 0.147 102.6);
Tailwind
colors: {
custom: {
50: '#e4d57e',
500: '#d3c442',
950: '#000000',
},
}SCSS
$custom: #d3c442; $custom-light: #e4d57e; $custom-dark: #000000;
JSON
{
"hex": "#d3c442",
"rgb": {
"r": 211,
"g": 196,
"b": 66
},
"hsl": {
"h": 53.793,
"s": 62.232,
"l": 54.314
},
"oklch": {
"l": 0.80971,
"c": 0.14669,
"h": 102.6
},
"luminance": 0.53722
}Semantic roles & 50–950 ramp
primary
#D3C442
secondary
#343D85
accent
#53E542
background
#FFFEFB
surface
#FEFBF2
border
#D6D4CC
text
#16140A
muted
#85837D