#C7A537#C7A537
#C7A537 is a light, vivid yellow. Relative luminance 0.393; OKLCH L 73.3% C 0.130 H 91.2°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).
Color values
| HEX | #C7A537 |
|---|---|
| RGB | rgb(199, 165, 55) |
| HSL | hsl(46, 57%, 50%) |
| HSV | hsv(46, 72%, 78%) |
| CMYK | cmyk(0%, 17.1%, 72.4%, 22%) |
| CIE-LAB | lab(68.99, 1.03, 58.71) |
| CIE-LCH | lch(68.99, 58.72, 88.99°) |
| OKLab | oklab(73.31% -0.0028 0.1303) |
| OKLCH | oklch(73.31% 0.13 91.2) |
| XYZ | xyz(37.7000, 39.3305, 9.2195) |
| Luminance | 0.3933 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ocher
#BF9B0C
ΔE00 3.68
Ocre
#C69C04
ΔE00 3.88
Yellow Ochre
#CB9D06
ΔE00 4.23
Burnt Yellow
#D5AB09
ΔE00 4.38
Mustard
#DBB42C
ΔE00 5.07
Desert
#CCAD60
ΔE00 5.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C7A537 #3759C7
analogous
#C75D37 #C7A537 #A1C737
triadic
#C7A537 #37C7A5 #A537C7
tetradic
#C7A537 #37C75D #3759C7 #C737A1
square
#C7A537 #37C75D #3759C7 #C737A1
split-complementary
#C7A537 #37A1C7 #5D37C7
monochromatic
#67551C #977D2A #C7A537 #D5BB66 #E2D096
Accessibility & contrast
On white
2.37
#C7A537 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.87
#C7A537 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C7A537
8.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C7A537 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C7A537 | 1.00 | 2.37 | 8.87 | 8.87 |
| #FFFFFF | 2.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B7A327
Deuteranopia (green-blind)
#C0AC3D
Tritanopia (blue-blind)
#D7978F
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #c7a537; /* rgb */ color: rgb(199, 165, 55); /* oklch */ color: oklch(73.3% 0.130 91.2);
Tailwind
colors: {
custom: {
50: '#dcbf75',
500: '#c7a537',
950: '#000000',
},
}SCSS
$custom: #c7a537; $custom-light: #dcbf75; $custom-dark: #000000;
JSON
{
"hex": "#c7a537",
"rgb": {
"r": 199,
"g": 165,
"b": 55
},
"hsl": {
"h": 45.833,
"s": 56.693,
"l": 49.804
},
"oklch": {
"l": 0.73313,
"c": 0.1303,
"h": 91.2
},
"luminance": 0.39328
}Semantic roles & 50–950 ramp
primary
#C7A537
secondary
#8C9CCD
accent
#6CE048
background
#FEFBF7
surface
#FCF6ED
border
#D5D0C8
text
#161209
muted
#84817B