#C2A23F#C2A23F
#C2A23F is a light, vivid yellow. Relative luminance 0.377; OKLCH L 72.3% C 0.122 H 90.9°. Best body text is #000000 at 8.53:1 contrast (WCAG AA passes).
Color values
| HEX | #C2A23F |
|---|---|
| RGB | rgb(194, 162, 63) |
| HSL | hsl(45, 52%, 50%) |
| HSV | hsv(45, 68%, 76%) |
| CMYK | cmyk(0%, 16.5%, 67.5%, 23.9%) |
| CIE-LAB | lab(67.78, 0.88, 53.99) |
| CIE-LCH | lch(67.78, 54.00, 89.07°) |
| OKLab | oklab(72.26% -0.002 0.1219) |
| OKLCH | oklch(72.26% 0.122 90.9) |
| XYZ | xyz(36.0675, 37.6710, 10.0731) |
| Luminance | 0.3767 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ocher
#BF9B0C
ΔE00 4.10
Ocre
#C69C04
ΔE00 4.61
Desert
#CCAD60
ΔE00 4.69
Sandy Brown
#C4A661
ΔE00 4.95
Yellow Ochre
#CB9D06
ΔE00 5.06
Dark Gold
#B59410
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2A23F #3F5FC2
analogous
#C2613F #C2A23F #A0C23F
triadic
#C2A23F #3FC2A2 #A23FC2
tetradic
#C2A23F #3FC261 #3F5FC2 #C23FA0
square
#C2A23F #3FC261 #3F5FC2 #C23FA0
split-complementary
#C2A23F #3FA0C2 #613FC2
monochromatic
#665520 #957C2F #C2A23F #D1B86D #E0CF9C
Accessibility & contrast
On white
2.46
#C2A23F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.53
#C2A23F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2A23F
8.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2A23F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2A23F | 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)
#B3A033
Deuteranopia (green-blind)
#BBA944
Tritanopia (blue-blind)
#D1958D
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #c2a23f; /* rgb */ color: rgb(194, 162, 63); /* oklch */ color: oklch(72.3% 0.122 90.9);
Tailwind
colors: {
custom: {
50: '#d8bd79',
500: '#c2a23f',
950: '#000000',
},
}SCSS
$custom: #c2a23f; $custom-light: #d8bd79; $custom-dark: #000000;
JSON
{
"hex": "#c2a23f",
"rgb": {
"r": 194,
"g": 162,
"b": 63
},
"hsl": {
"h": 45.344,
"s": 51.779,
"l": 50.392
},
"oklch": {
"l": 0.72262,
"c": 0.1219,
"h": 90.9
},
"luminance": 0.37669
}Semantic roles & 50–950 ramp
primary
#C2A23F
secondary
#919FCC
accent
#6FDB4D
background
#FDFBF7
surface
#FBF6EE
border
#D4D0C9
text
#151209
muted
#83817B