#C2A72C#C2A72C
#C2A72C is a light, vivid yellow. Relative luminance 0.393; OKLCH L 73.2% C 0.137 H 96.0°. Best body text is #000000 at 8.86:1 contrast (WCAG AA passes).
Color values
| HEX | #C2A72C |
|---|---|
| RGB | rgb(194, 167, 44) |
| HSL | hsl(49, 63%, 47%) |
| HSV | hsv(49, 77%, 76%) |
| CMYK | cmyk(0%, 13.9%, 77.3%, 23.9%) |
| CIE-LAB | lab(68.96, -2.70, 62.57) |
| CIE-LCH | lch(68.96, 62.63, 92.47°) |
| OKLab | oklab(73.16% -0.0144 0.1365) |
| OKLCH | oklch(73.16% 0.137 96) |
| XYZ | xyz(36.5234, 39.2906, 8.0425) |
| Luminance | 0.3929 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 3.51
Brownish Yellow
#C9B003
ΔE00 3.75
Ocher
#BF9B0C
ΔE00 4.11
Mustard (survey)
#CEB301
ΔE00 4.50
Burnt Yellow
#D5AB09
ΔE00 4.81
Brown Yellow
#B29705
ΔE00 4.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2A72C #2C47C2
analogous
#C25C2C #C2A72C #92C22C
triadic
#C2A72C #2CC2A7 #A72CC2
tetradic
#C2A72C #2CC25C #2C47C2 #C22C92
square
#C2A72C #2CC25C #2C47C2 #C22C92
split-complementary
#C2A72C #2C92C2 #5C2CC2
monochromatic
#5E5115 #907C21 #C2A72C #D8C053 #E3D285
Accessibility & contrast
On white
2.37
#C2A72C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.86
#C2A72C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2A72C
8.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2A72C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2A72C | 1.00 | 2.37 | 8.86 | 8.86 |
| #FFFFFF | 2.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B9A311
Deuteranopia (green-blind)
#C0AC34
Tritanopia (blue-blind)
#D29A90
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #c2a72c; /* rgb */ color: rgb(194, 167, 44); /* oklch */ color: oklch(73.2% 0.137 96.0);
Tailwind
colors: {
custom: {
50: '#d9c06f',
500: '#c2a72c',
950: '#000000',
},
}SCSS
$custom: #c2a72c; $custom-light: #d9c06f; $custom-dark: #000000;
JSON
{
"hex": "#c2a72c",
"rgb": {
"r": 194,
"g": 167,
"b": 44
},
"hsl": {
"h": 49.2,
"s": 63.025,
"l": 46.667
},
"oklch": {
"l": 0.73156,
"c": 0.13727,
"h": 96
},
"luminance": 0.39289
}Semantic roles & 50–950 ramp
primary
#C2A72C
secondary
#7D8BCD
accent
#5FE642
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151208
muted
#83817B