#C7AA37#C7AA37
#C7AA37 is a light, vivid yellow. Relative luminance 0.412; OKLCH L 74.3% C 0.133 H 94.5°. Best body text is #000000 at 9.23:1 contrast (WCAG AA passes).
Color values
| HEX | #C7AA37 |
|---|---|
| RGB | rgb(199, 170, 55) |
| HSL | hsl(48, 57%, 50%) |
| HSV | hsv(48, 72%, 78%) |
| CMYK | cmyk(0%, 14.6%, 72.4%, 22%) |
| CIE-LAB | lab(70.29, -1.63, 60.00) |
| CIE-LCH | lch(70.29, 60.02, 91.55°) |
| OKLab | oklab(74.34% -0.0104 0.133) |
| OKLCH | oklch(74.34% 0.133 94.5) |
| XYZ | xyz(38.6195, 41.1695, 9.5260) |
| Luminance | 0.4117 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brownish Yellow
#C9B003
ΔE00 4.09
Muddy Yellow
#BFAC05
ΔE00 4.37
Mustard
#DBB42C
ΔE00 4.44
Burnt Yellow
#D5AB09
ΔE00 4.44
Mustard (survey)
#CEB301
ΔE00 4.56
Ocher
#BF9B0C
ΔE00 4.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C7AA37 #3754C7
analogous
#C76237 #C7AA37 #9CC737
triadic
#C7AA37 #37C7AA #AA37C7
tetradic
#C7AA37 #37C762 #3754C7 #C7379C
square
#C7AA37 #37C762 #3754C7 #C7379C
split-complementary
#C7AA37 #379CC7 #6237C7
monochromatic
#67581C #97812A #C7AA37 #D5BF66 #E2D396
Accessibility & contrast
On white
2.27
#C7AA37 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.23
#C7AA37 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C7AA37
9.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C7AA37 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C7AA37 | 1.00 | 2.27 | 9.23 | 9.23 |
| #FFFFFF | 2.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BCA725
Deuteranopia (green-blind)
#C3B03E
Tritanopia (blue-blind)
#D79D93
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #c7aa37; /* rgb */ color: rgb(199, 170, 55); /* oklch */ color: oklch(74.3% 0.133 94.5);
Tailwind
colors: {
custom: {
50: '#dcc275',
500: '#c7aa37',
950: '#000000',
},
}SCSS
$custom: #c7aa37; $custom-light: #dcc275; $custom-dark: #000000;
JSON
{
"hex": "#c7aa37",
"rgb": {
"r": 199,
"g": 170,
"b": 55
},
"hsl": {
"h": 47.917,
"s": 56.693,
"l": 49.804
},
"oklch": {
"l": 0.74343,
"c": 0.1334,
"h": 94.5
},
"luminance": 0.41167
}Semantic roles & 50–950 ramp
primary
#C7AA37
secondary
#8C99CD
accent
#66E048
background
#FEFBF7
surface
#FCF7ED
border
#D5D0C8
text
#161209
muted
#84817B