#D2C750#D2C750
#D2C750 is a light, vivid yellow. Relative luminance 0.551; OKLCH L 81.6% C 0.139 H 104.0°. Best body text is #000000 at 12.03:1 contrast (WCAG AA passes).
Color values
| HEX | #D2C750 |
|---|---|
| RGB | rgb(210, 199, 80) |
| HSL | hsl(55, 59%, 57%) |
| HSV | hsv(55, 62%, 82%) |
| CMYK | cmyk(0%, 5.2%, 61.9%, 17.6%) |
| CIE-LAB | lab(79.12, -10.56, 59.17) |
| CIE-LCH | lch(79.12, 60.10, 100.12°) |
| OKLab | oklab(81.63% -0.0337 0.135) |
| OKLCH | oklch(81.63% 0.139 104) |
| XYZ | xyz(48.4515, 55.1294, 15.6767) |
| Luminance | 0.5513 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dirty Yellow
#CDC50A
ΔE00 4.64
Vomit Yellow
#C7C10C
ΔE00 4.72
Ugly Yellow
#D0C101
ΔE00 4.98
Puke Yellow
#C2BE0E
ΔE00 5.02
Mustard Yellow
#D2BD0A
ΔE00 5.46
Dull Yellow
#EEDC5B
ΔE00 5.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2C750 #505BD2
analogous
#D28650 #D2C750 #9CD250
triadic
#D2C750 #50D2C7 #C750D2
tetradic
#D2C750 #50D286 #505BD2 #D2509C
square
#D2C750 #50D286 #505BD2 #D2509C
split-complementary
#D2C750 #509CD2 #8650D2
monochromatic
#857D22 #B6AB2F #D2C750 #DFD781 #EBE6B1
Accessibility & contrast
On white
1.75
#D2C750 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.03
#D2C750 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2C750
12.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2C750 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2C750 | 1.00 | 1.75 | 12.03 | 12.03 |
| #FFFFFF | 1.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D7C142
Deuteranopia (green-blind)
#DBC757
Tritanopia (blue-blind)
#E1BAAE
Achromatopsia (no color)
#C4C4C4
Design tokens & code
CSS
--color: #d2c750; /* rgb */ color: rgb(210, 199, 80); /* oklch */ color: oklch(81.6% 0.139 104.0);
Tailwind
colors: {
custom: {
50: '#e3d786',
500: '#d2c750',
950: '#000000',
},
}SCSS
$custom: #d2c750; $custom-light: #e3d786; $custom-dark: #000000;
JSON
{
"hex": "#d2c750",
"rgb": {
"r": 210,
"g": 199,
"b": 80
},
"hsl": {
"h": 54.923,
"s": 59.091,
"l": 56.863
},
"oklch": {
"l": 0.81633,
"c": 0.13915,
"h": 104
},
"luminance": 0.55128
}Semantic roles & 50–950 ramp
primary
#D2C750
secondary
#3A418C
accent
#53E246
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140B
muted
#84837E