#D7C55F#D7C55F
#D7C55F is a light, vivid yellow. Relative luminance 0.552; OKLCH L 81.8% C 0.124 H 99.4°. Best body text is #000000 at 12.04:1 contrast (WCAG AA passes).
Color values
| HEX | #D7C55F |
|---|---|
| RGB | rgb(215, 197, 95) |
| HSL | hsl(51, 60%, 61%) |
| HSV | hsv(51, 56%, 84%) |
| CMYK | cmyk(0%, 8.4%, 55.8%, 15.7%) |
| CIE-LAB | lab(79.16, -6.39, 52.62) |
| CIE-LCH | lch(79.16, 53.00, 96.93°) |
| OKLab | oklab(81.82% -0.0204 0.1228) |
| OKLCH | oklch(81.82% 0.124 99.4) |
| XYZ | xyz(50.0579, 55.2078, 18.8436) |
| Luminance | 0.5521 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 3.75
Sandy
#F1DA7A
ΔE00 5.54
Dull Yellow
#EEDC5B
ΔE00 6.17
Maize
#F4D054
ΔE00 6.25
Light Mustard
#F7D560
ΔE00 6.32
Mustard Yellow
#D2BD0A
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D7C55F #5F71D7
analogous
#D7895F #D7C55F #ADD75F
triadic
#D7C55F #5FD7C5 #C55FD7
tetradic
#D7C55F #5FD789 #5F71D7 #D75FAD
square
#D7C55F #5FD789 #5F71D7 #D75FAD
split-complementary
#D7C55F #5FADD7 #895FD7
monochromatic
#968526 #C7B132 #D7C55F #E3D790 #EFE8C1
Accessibility & contrast
On white
1.74
#D7C55F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
12.04
#D7C55F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D7C55F
12.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D7C55F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D7C55F | 1.00 | 1.74 | 12.04 | 12.04 |
| #FFFFFF | 1.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 12.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 12.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D5C055
Deuteranopia (green-blind)
#DAC764
Tritanopia (blue-blind)
#E6B9AE
Achromatopsia (no color)
#C4C4C4
Design tokens & code
CSS
--color: #d7c55f; /* rgb */ color: rgb(215, 197, 95); /* oklch */ color: oklch(81.8% 0.124 99.4);
Tailwind
colors: {
custom: {
50: '#e6d68f',
500: '#d7c55f',
950: '#000000',
},
}SCSS
$custom: #d7c55f; $custom-light: #e6d68f; $custom-dark: #000000;
JSON
{
"hex": "#d7c55f",
"rgb": {
"r": 215,
"g": 197,
"b": 95
},
"hsl": {
"h": 51,
"s": 60,
"l": 60.784
},
"oklch": {
"l": 0.81817,
"c": 0.12445,
"h": 99.4
},
"luminance": 0.55206
}Semantic roles & 50–950 ramp
primary
#D7C55F
secondary
#3F4D9B
accent
#37C81E
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140D
muted
#84837F