#C7AA36#C7AA36
#C7AA36 is a light, vivid yellow. Relative luminance 0.412; OKLCH L 74.3% C 0.134 H 94.6°. Best body text is #000000 at 9.23:1 contrast (WCAG AA passes).
Color values
| HEX | #C7AA36 |
|---|---|
| RGB | rgb(199, 170, 54) |
| HSL | hsl(48, 57%, 50%) |
| HSV | hsv(48, 73%, 78%) |
| CMYK | cmyk(0%, 14.6%, 72.9%, 22%) |
| CIE-LAB | lab(70.29, -1.67, 60.38) |
| CIE-LCH | lch(70.29, 60.40, 91.59°) |
| OKLab | oklab(74.34% -0.0107 0.1336) |
| OKLCH | oklch(74.34% 0.134 94.6) |
| XYZ | xyz(38.5958, 41.1601, 9.4011) |
| Luminance | 0.4116 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brownish Yellow
#C9B003
ΔE00 3.99
Muddy Yellow
#BFAC05
ΔE00 4.28
Burnt Yellow
#D5AB09
ΔE00 4.39
Mustard
#DBB42C
ΔE00 4.41
Mustard (survey)
#CEB301
ΔE00 4.48
Ocher
#BF9B0C
ΔE00 4.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C7AA36 #3653C7
analogous
#C76236 #C7AA36 #9CC736
triadic
#C7AA36 #36C7AA #AA36C7
tetradic
#C7AA36 #36C762 #3653C7 #C7369C
square
#C7AA36 #36C762 #3653C7 #C7369C
split-complementary
#C7AA36 #369CC7 #6236C7
monochromatic
#67581C #978129 #C7AA36 #D5BF65 #E2D395
Accessibility & contrast
On white
2.27
#C7AA36 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.23
#C7AA36 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C7AA36
9.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C7AA36 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C7AA36 | 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)
#BCA724
Deuteranopia (green-blind)
#C3B03D
Tritanopia (blue-blind)
#D79D93
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #c7aa36; /* rgb */ color: rgb(199, 170, 54); /* oklch */ color: oklch(74.3% 0.134 94.6);
Tailwind
colors: {
custom: {
50: '#dcc275',
500: '#c7aa36',
950: '#000000',
},
}SCSS
$custom: #c7aa36; $custom-light: #dcc275; $custom-dark: #000000;
JSON
{
"hex": "#c7aa36",
"rgb": {
"r": 199,
"g": 170,
"b": 54
},
"hsl": {
"h": 48,
"s": 57.312,
"l": 49.608
},
"oklch": {
"l": 0.74336,
"c": 0.13403,
"h": 94.6
},
"luminance": 0.41158
}Semantic roles & 50–950 ramp
primary
#C7AA36
secondary
#8B99CE
accent
#66E147
background
#FEFBF7
surface
#FCF7ED
border
#D5D0C8
text
#161209
muted
#84817B