#D2C55F#D2C55F
#D2C55F is a light, vivid yellow. Relative luminance 0.545; OKLCH L 81.4% C 0.124 H 102.1°. Best body text is #000000 at 11.89:1 contrast (WCAG AA passes).
Color values
| HEX | #D2C55F |
|---|---|
| RGB | rgb(210, 197, 95) |
| HSL | hsl(53, 56%, 60%) |
| HSV | hsv(53, 55%, 82%) |
| CMYK | cmyk(0%, 6.2%, 54.8%, 17.6%) |
| CIE-LAB | lab(78.73, -8.46, 52.01) |
| CIE-LCH | lch(78.73, 52.69, 99.24°) |
| OKLab | oklab(81.37% -0.0261 0.1216) |
| OKLCH | oklch(81.37% 0.124 102.1) |
| XYZ | xyz(48.6117, 54.4621, 18.7758) |
| Luminance | 0.5446 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 4.70
Darkkhaki
#BDB76B
ΔE00 5.86
Sandy
#F1DA7A
ΔE00 6.24
Dull Yellow
#EEDC5B
ΔE00 6.50
Vomit Yellow
#C7C10C
ΔE00 6.63
Greenish Beige
#C9D179
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D2C55F #5F6CD2
analogous
#D28B5F #D2C55F #A6D25F
triadic
#D2C55F #5FD2C5 #C55FD2
tetradic
#D2C55F #5FD28B #5F6CD2 #D25FA6
square
#D2C55F #5FD28B #5F6CD2 #D25FA6
split-complementary
#D2C55F #5FA6D2 #8B5FD2
monochromatic
#8F8328 #BEAF36 #D2C55F #DFD68F #EDE8BF
Accessibility & contrast
On white
1.77
#D2C55F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.89
#D2C55F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D2C55F
11.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D2C55F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D2C55F | 1.00 | 1.77 | 11.89 | 11.89 |
| #FFFFFF | 1.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D5C055
Deuteranopia (green-blind)
#D9C564
Tritanopia (blue-blind)
#E0B9AE
Achromatopsia (no color)
#C3C3C3
Design tokens & code
CSS
--color: #d2c55f; /* rgb */ color: rgb(210, 197, 95); /* oklch */ color: oklch(81.4% 0.124 102.1);
Tailwind
colors: {
custom: {
50: '#e2d68f',
500: '#d2c55f',
950: '#000000',
},
}SCSS
$custom: #d2c55f; $custom-light: #e2d68f; $custom-dark: #000000;
JSON
{
"hex": "#d2c55f",
"rgb": {
"r": 210,
"g": 197,
"b": 95
},
"hsl": {
"h": 53.217,
"s": 56.098,
"l": 59.804
},
"oklch": {
"l": 0.81373,
"c": 0.12431,
"h": 102.1
},
"luminance": 0.5446
}Semantic roles & 50–950 ramp
primary
#D2C55F
secondary
#414A94
accent
#59DF48
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F