#C2A12C#C2A12C
#C2A12C is a light, vivid yellow. Relative luminance 0.371; OKLCH L 71.9% C 0.134 H 92.3°. Best body text is #000000 at 8.43:1 contrast (WCAG AA passes).
Color values
| HEX | #C2A12C |
|---|---|
| RGB | rgb(194, 161, 44) |
| HSL | hsl(47, 63%, 47%) |
| HSV | hsv(47, 77%, 76%) |
| CMYK | cmyk(0%, 17%, 77.3%, 23.9%) |
| CIE-LAB | lab(67.38, 0.50, 61.11) |
| CIE-LCH | lch(67.38, 61.12, 89.54°) |
| OKLab | oklab(71.91% -0.0053 0.1334) |
| OKLCH | oklch(71.91% 0.134 92.3) |
| XYZ | xyz(35.4497, 37.1431, 7.6845) |
| Luminance | 0.3714 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ocher
#BF9B0C
ΔE00 2.37
Ocre
#C69C04
ΔE00 3.10
Yellow Ochre
#CB9D06
ΔE00 3.84
Dark Gold
#B59410
ΔE00 4.07
Yellow Brown
#B79400
ΔE00 4.16
Brown Yellow
#B29705
ΔE00 4.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2A12C #2C4DC2
analogous
#C2562C #C2A12C #98C22C
triadic
#C2A12C #2CC2A1 #A12CC2
tetradic
#C2A12C #2CC256 #2C4DC2 #C22C98
square
#C2A12C #2CC256 #2C4DC2 #C22C98
split-complementary
#C2A12C #2C98C2 #562CC2
monochromatic
#5E4E15 #907821 #C2A12C #D8BB53 #E3CF85
Accessibility & contrast
On white
2.49
#C2A12C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.43
#C2A12C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2A12C
8.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2A12C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2A12C | 1.00 | 2.49 | 8.43 | 8.43 |
| #FFFFFF | 2.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.43 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.43 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B39F15
Deuteranopia (green-blind)
#BBA833
Tritanopia (blue-blind)
#D2938B
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #c2a12c; /* rgb */ color: rgb(194, 161, 44); /* oklch */ color: oklch(71.9% 0.134 92.3);
Tailwind
colors: {
custom: {
50: '#d9bc6e',
500: '#c2a12c',
950: '#000000',
},
}SCSS
$custom: #c2a12c; $custom-light: #d9bc6e; $custom-dark: #000000;
JSON
{
"hex": "#c2a12c",
"rgb": {
"r": 194,
"g": 161,
"b": 44
},
"hsl": {
"h": 46.8,
"s": 63.025,
"l": 46.667
},
"oklch": {
"l": 0.71909,
"c": 0.13351,
"h": 92.3
},
"luminance": 0.37141
}Semantic roles & 50–950 ramp
primary
#C2A12C
secondary
#7D8FCD
accent
#66E642
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151108
muted
#83807B