#D7C361#D7C361
#D7C361 is a light, vivid yellow. Relative luminance 0.543; OKLCH L 81.4% C 0.121 H 98.0°. Best body text is #000000 at 11.87:1 contrast (WCAG AA passes).
Color values
| HEX | #D7C361 |
|---|---|
| RGB | rgb(215, 195, 97) |
| HSL | hsl(50, 60%, 61%) |
| HSV | hsv(50, 55%, 84%) |
| CMYK | cmyk(0%, 9.3%, 54.9%, 15.7%) |
| CIE-LAB | lab(78.66, -5.21, 51.10) |
| CIE-LCH | lch(78.66, 51.36, 95.82°) |
| OKLab | oklab(81.43% -0.0168 0.1197) |
| OKLCH | oklch(81.43% 0.121 98) |
| XYZ | xyz(49.6989, 54.3424, 19.1782) |
| Luminance | 0.5434 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 3.29
Sandy
#F1DA7A
ΔE00 5.72
Maize
#F4D054
ΔE00 6.27
Darkkhaki
#BDB76B
ΔE00 6.39
Light Mustard
#F7D560
ΔE00 6.40
Mustard Yellow
#D2BD0A
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D7C361 #6175D7
analogous
#D78861 #D7C361 #B0D761
triadic
#D7C361 #61D7C3 #C361D7
tetradic
#D7C361 #61D788 #6175D7 #D761B0
square
#D7C361 #61D788 #6175D7 #D761B0
split-complementary
#D7C361 #61B0D7 #8861D7
monochromatic
#978426 #C8AF33 #D7C361 #E3D692 #F0E8C3
Accessibility & contrast
On white
1.77
#D7C361 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
11.87
#D7C361 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D7C361
11.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D7C361 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D7C361 | 1.00 | 1.77 | 11.87 | 11.87 |
| #FFFFFF | 1.77 | 1.00 | 21.00 | 21.00 |
| #000000 | 11.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 11.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D3BF58
Deuteranopia (green-blind)
#D9C665
Tritanopia (blue-blind)
#E6B7AD
Achromatopsia (no color)
#C3C3C3
Design tokens & code
CSS
--color: #d7c361; /* rgb */ color: rgb(215, 195, 97); /* oklch */ color: oklch(81.4% 0.121 98.0);
Tailwind
colors: {
custom: {
50: '#e6d491',
500: '#d7c361',
950: '#000000',
},
}SCSS
$custom: #d7c361; $custom-light: #e6d491; $custom-dark: #000000;
JSON
{
"hex": "#d7c361",
"rgb": {
"r": 215,
"g": 195,
"b": 97
},
"hsl": {
"h": 49.831,
"s": 59.596,
"l": 61.176
},
"oklch": {
"l": 0.81428,
"c": 0.12087,
"h": 98
},
"luminance": 0.5434
}Semantic roles & 50–950 ramp
primary
#D7C361
secondary
#40509C
accent
#3BC71E
background
#FEFEFC
surface
#FDFBF4
border
#D5D4CE
text
#16140D
muted
#84837F