#D1C146#D1C146
#D1C146 is a light, vivid yellow. Relative luminance 0.521; OKLCH L 80.2% C 0.141 H 101.8°. Best body text is #000000 at 11.43:1 contrast (WCAG AA passes).
Color values
| HEX | #D1C146 |
|---|---|
| RGB | rgb(209, 193, 70) |
| HSL | hsl(53, 60%, 55%) |
| HSV | hsv(53, 67%, 82%) |
| CMYK | cmyk(0%, 7.7%, 66.5%, 18%) |
| CIE-LAB | lab(77.36, -8.53, 61.47) |
| CIE-LCH | lch(77.36, 62.06, 97.90°) |
| OKLab | oklab(80.2% -0.029 0.1384) |
| OKLCH | oklch(80.2% 0.141 101.8) |
| XYZ | xyz(46.4719, 52.1394, 13.4092) |
| Luminance | 0.5214 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Yellow
#D2BD0A
ΔE00 3.96
Ugly Yellow
#D0C101
ΔE00 4.02
Vomit Yellow
#C7C10C
ΔE00 4.35
Dirty Yellow
#CDC50A
ΔE00 4.40
Olive Yellow
#C2B709
ΔE00 4.46
Puke Yellow
#C2BE0E
ΔE00 4.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D1C146 #4656D1
analogous
#D17C46 #D1C146 #9BD146
triadic
#D1C146 #46D1C1 #C146D1
tetradic
#D1C146 #46D17C #4656D1 #D1469B
square
#D1C146 #46D17C #4656D1 #D1469B
split-complementary
#D1C146 #469BD1 #7C46D1
monochromatic
#7D731F #AE9F2B #D1C146 #DDD177 #E9E2A8
Accessibility & contrast
On white
1.84
#D1C146 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.43
#D1C146 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D1C146
11.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D1C146 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D1C146 | 1.00 | 1.84 | 11.43 | 11.43 |
| #FFFFFF | 1.84 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.43 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.43 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D2BB36
Deuteranopia (green-blind)
#D7C24D
Tritanopia (blue-blind)
#E0B4A8
Achromatopsia (no color)
#BFBFBF
Design tokens & code
CSS
--color: #d1c146; /* rgb */ color: rgb(209, 193, 70); /* oklch */ color: oklch(80.2% 0.141 101.8);
Tailwind
colors: {
custom: {
50: '#e2d380',
500: '#d1c146',
950: '#000000',
},
}SCSS
$custom: #d1c146; $custom-light: #e2d380; $custom-dark: #000000;
JSON
{
"hex": "#d1c146",
"rgb": {
"r": 209,
"g": 193,
"b": 70
},
"hsl": {
"h": 53.094,
"s": 60.173,
"l": 54.706
},
"oklch": {
"l": 0.80195,
"c": 0.14138,
"h": 101.8
},
"luminance": 0.52137
}Semantic roles & 50–950 ramp
primary
#D1C146
secondary
#363F85
accent
#57E344
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E