#C2A23E#C2A23E
#C2A23E is a light, vivid yellow. Relative luminance 0.377; OKLCH L 72.3% C 0.123 H 91.1°. Best body text is #000000 at 8.53:1 contrast (WCAG AA passes).
Color values
| HEX | #C2A23E |
|---|---|
| RGB | rgb(194, 162, 62) |
| HSL | hsl(45, 52%, 50%) |
| HSV | hsv(45, 68%, 76%) |
| CMYK | cmyk(0%, 16.5%, 68%, 23.9%) |
| CIE-LAB | lab(67.77, 0.82, 54.41) |
| CIE-LCH | lch(67.77, 54.42, 89.13°) |
| OKLab | oklab(72.25% -0.0023 0.1226) |
| OKLCH | oklch(72.25% 0.123 91.1) |
| XYZ | xyz(36.0398, 37.6599, 9.9273) |
| Luminance | 0.3766 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ocher
#BF9B0C
ΔE00 4.00
Ocre
#C69C04
ΔE00 4.52
Desert
#CCAD60
ΔE00 4.78
Yellow Ochre
#CB9D06
ΔE00 4.98
Dark Gold
#B59410
ΔE00 5.05
Sandy Brown
#C4A661
ΔE00 5.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2A23E #3E5EC2
analogous
#C2603E #C2A23E #A0C23E
triadic
#C2A23E #3EC2A2 #A23EC2
tetradic
#C2A23E #3EC260 #3E5EC2 #C23EA0
square
#C2A23E #3EC260 #3E5EC2 #C23EA0
split-complementary
#C2A23E #3EA0C2 #603EC2
monochromatic
#665520 #947B2F #C2A23E #D1B86D #DFCF9B
Accessibility & contrast
On white
2.46
#C2A23E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.53
#C2A23E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2A23E
8.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2A23E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2A23E | 1.00 | 2.46 | 8.53 | 8.53 |
| #FFFFFF | 2.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B3A031
Deuteranopia (green-blind)
#BBA943
Tritanopia (blue-blind)
#D1958D
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #c2a23e; /* rgb */ color: rgb(194, 162, 62); /* oklch */ color: oklch(72.3% 0.123 91.1);
Tailwind
colors: {
custom: {
50: '#d8bd78',
500: '#c2a23e',
950: '#000000',
},
}SCSS
$custom: #c2a23e; $custom-light: #d8bd78; $custom-dark: #000000;
JSON
{
"hex": "#c2a23e",
"rgb": {
"r": 194,
"g": 162,
"b": 62
},
"hsl": {
"h": 45.455,
"s": 51.969,
"l": 50.196
},
"oklch": {
"l": 0.72253,
"c": 0.12263,
"h": 91.1
},
"luminance": 0.37658
}Semantic roles & 50–950 ramp
primary
#C2A23E
secondary
#909FCB
accent
#6FDB4C
background
#FDFBF7
surface
#FBF6EE
border
#D4D0C9
text
#151209
muted
#83817B