#D7C055#D7C055
#D7C055 is a light, vivid yellow. Relative luminance 0.528; OKLCH L 80.7% C 0.129 H 97.2°. Best body text is #000000 at 11.56:1 contrast (WCAG AA passes).
Color values
| HEX | #D7C055 |
|---|---|
| RGB | rgb(215, 192, 85) |
| HSL | hsl(49, 62%, 59%) |
| HSV | hsv(49, 60%, 84%) |
| CMYK | cmyk(0%, 10.7%, 60.5%, 15.7%) |
| CIE-LAB | lab(77.76, -4.54, 55.61) |
| CIE-LCH | lch(77.76, 55.80, 94.67°) |
| OKLab | oklab(80.68% -0.0163 0.128) |
| OKLCH | oklch(80.68% 0.129 97.2) |
| XYZ | xyz(48.5157, 52.8044, 16.2293) |
| Luminance | 0.5280 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 4.41
Mustard Yellow
#D2BD0A
ΔE00 5.50
Mustard
#DBB42C
ΔE00 5.64
Dark Yellow
#D5B60A
ΔE00 5.74
Maize
#F4D054
ΔE00 5.77
Mustard (survey)
#CEB301
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D7C055 #556CD7
analogous
#D77F55 #D7C055 #ADD755
triadic
#D7C055 #55D7C0 #C055D7
tetradic
#D7C055 #55D77F #556CD7 #D755AD
square
#D7C055 #55D77F #556CD7 #D755AD
split-complementary
#D7C055 #55ADD7 #7F55D7
monochromatic
#907C22 #C1A72D #D7C055 #E3D287 #EEE5B8
Accessibility & contrast
On white
1.82
#D7C055 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.56
#D7C055 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D7C055
11.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D7C055 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D7C055 | 1.00 | 1.82 | 11.56 | 11.56 |
| #FFFFFF | 1.82 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D1BC4A
Deuteranopia (green-blind)
#D7C45A
Tritanopia (blue-blind)
#E7B3A9
Achromatopsia (no color)
#C0C0C0
Design tokens & code
CSS
--color: #d7c055; /* rgb */ color: rgb(215, 192, 85); /* oklch */ color: oklch(80.7% 0.129 97.2);
Tailwind
colors: {
custom: {
50: '#e6d289',
500: '#d7c055',
950: '#000000',
},
}SCSS
$custom: #d7c055; $custom-light: #e6d289; $custom-dark: #000000;
JSON
{
"hex": "#d7c055",
"rgb": {
"r": 215,
"g": 192,
"b": 85
},
"hsl": {
"h": 49.385,
"s": 61.905,
"l": 58.824
},
"oklch": {
"l": 0.80675,
"c": 0.12902,
"h": 97.2
},
"luminance": 0.52802
}Semantic roles & 50–950 ramp
primary
#D7C055
secondary
#3B4B95
accent
#60E543
background
#FFFEFC
surface
#FEFBF4
border
#D6D4CE
text
#16140C
muted
#85837F