#D6C152#D6C152
#D6C152 is a light, vivid yellow. Relative luminance 0.530; OKLCH L 80.8% C 0.132 H 98.6°. Best body text is #000000 at 11.61:1 contrast (WCAG AA passes).
Color values
| HEX | #D6C152 |
|---|---|
| RGB | rgb(214, 193, 82) |
| HSL | hsl(50, 62%, 58%) |
| HSV | hsv(50, 62%, 84%) |
| CMYK | cmyk(0%, 9.8%, 61.7%, 16.1%) |
| CIE-LAB | lab(77.90, -5.68, 57.08) |
| CIE-LCH | lch(77.90, 57.36, 95.68°) |
| OKLab | oklab(80.76% -0.0198 0.1307) |
| OKLCH | oklch(80.76% 0.132 98.6) |
| XYZ | xyz(48.3265, 53.0474, 15.6746) |
| Luminance | 0.5304 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 4.84
Mustard Yellow
#D2BD0A
ΔE00 5.03
Ugly Yellow
#D0C101
ΔE00 5.54
Dark Yellow
#D5B60A
ΔE00 5.66
Mustard (survey)
#CEB301
ΔE00 5.87
Maize
#F4D054
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D6C152 #5267D6
analogous
#D67F52 #D6C152 #A9D652
triadic
#D6C152 #52D6C1 #C152D6
tetradic
#D6C152 #52D67F #5267D6 #D652A9
square
#D6C152 #52D67F #5267D6 #D652A9
split-complementary
#D6C152 #52A9D6 #7F52D6
monochromatic
#8C7B21 #BEA72D #D6C152 #E2D383 #EDE4B5
Accessibility & contrast
On white
1.81
#D6C152 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.61
#D6C152 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D6C152
11.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D6C152 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D6C152 | 1.00 | 1.81 | 11.61 | 11.61 |
| #FFFFFF | 1.81 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D2BC46
Deuteranopia (green-blind)
#D8C458
Tritanopia (blue-blind)
#E6B4A9
Achromatopsia (no color)
#C1C1C1
Design tokens & code
CSS
--color: #d6c152; /* rgb */ color: rgb(214, 193, 82); /* oklch */ color: oklch(80.8% 0.132 98.6);
Tailwind
colors: {
custom: {
50: '#e6d387',
500: '#d6c152',
950: '#000000',
},
}SCSS
$custom: #d6c152; $custom-light: #e6d387; $custom-dark: #000000;
JSON
{
"hex": "#d6c152",
"rgb": {
"r": 214,
"g": 193,
"b": 82
},
"hsl": {
"h": 50.455,
"s": 61.682,
"l": 58.039
},
"oklch": {
"l": 0.80759,
"c": 0.13223,
"h": 98.6
},
"luminance": 0.53045
}Semantic roles & 50–950 ramp
primary
#D6C152
secondary
#3A4892
accent
#5DE543
background
#FFFEFC
surface
#FEFBF3
border
#D6D4CD
text
#16140C
muted
#85837F