#C7AC36#C7AC36
#C7AC36 is a light, vivid yellow. Relative luminance 0.419; OKLCH L 74.8% C 0.135 H 95.8°. Best body text is #000000 at 9.38:1 contrast (WCAG AA passes).
Color values
| HEX | #C7AC36 |
|---|---|
| RGB | rgb(199, 172, 54) |
| HSL | hsl(49, 57%, 50%) |
| HSV | hsv(49, 73%, 78%) |
| CMYK | cmyk(0%, 13.6%, 72.9%, 22%) |
| CIE-LAB | lab(70.81, -2.73, 60.89) |
| CIE-LCH | lch(70.81, 60.95, 92.57°) |
| OKLab | oklab(74.75% -0.0137 0.1347) |
| OKLCH | oklch(74.75% 0.135 95.8) |
| XYZ | xyz(38.9736, 41.9156, 9.5270) |
| Luminance | 0.4191 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brownish Yellow
#C9B003
ΔE00 3.49
Muddy Yellow
#BFAC05
ΔE00 3.76
Mustard (survey)
#CEB301
ΔE00 3.99
Mustard
#DBB42C
ΔE00 4.41
Dark Yellow
#D5B60A
ΔE00 4.57
Burnt Yellow
#D5AB09
ΔE00 4.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C7AC36 #3651C7
analogous
#C76436 #C7AC36 #99C736
triadic
#C7AC36 #36C7AC #AC36C7
tetradic
#C7AC36 #36C764 #3651C7 #C73699
square
#C7AC36 #36C764 #3651C7 #C73699
split-complementary
#C7AC36 #3699C7 #6436C7
monochromatic
#67591C #978229 #C7AC36 #D5C065 #E2D495
Accessibility & contrast
On white
2.24
#C7AC36 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.38
#C7AC36 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C7AC36
9.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C7AC36 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C7AC36 | 1.00 | 2.24 | 9.38 | 9.38 |
| #FFFFFF | 2.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BEA823
Deuteranopia (green-blind)
#C5B13D
Tritanopia (blue-blind)
#D79F95
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #c7ac36; /* rgb */ color: rgb(199, 172, 54); /* oklch */ color: oklch(74.8% 0.135 95.8);
Tailwind
colors: {
custom: {
50: '#dcc475',
500: '#c7ac36',
950: '#000000',
},
}SCSS
$custom: #c7ac36; $custom-light: #dcc475; $custom-dark: #000000;
JSON
{
"hex": "#c7ac36",
"rgb": {
"r": 199,
"g": 172,
"b": 54
},
"hsl": {
"h": 48.828,
"s": 57.312,
"l": 49.608
},
"oklch": {
"l": 0.74751,
"c": 0.13538,
"h": 95.8
},
"luminance": 0.41914
}Semantic roles & 50–950 ramp
primary
#C7AC36
secondary
#8B98CE
accent
#64E147
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161209
muted
#84817B