#C2A234#C2A234
#C2A234 is a light, vivid yellow. Relative luminance 0.376; OKLCH L 72.2% C 0.129 H 92.2°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).
Color values
| HEX | #C2A234 |
|---|---|
| RGB | rgb(194, 162, 52) |
| HSL | hsl(46, 58%, 48%) |
| HSV | hsv(46, 73%, 76%) |
| CMYK | cmyk(0%, 16.5%, 73.2%, 23.9%) |
| CIE-LAB | lab(67.70, 0.31, 58.45) |
| CIE-LCH | lch(67.70, 58.45, 89.70°) |
| OKLab | oklab(72.17% -0.005 0.1293) |
| OKLCH | oklch(72.17% 0.129 92.2) |
| XYZ | xyz(35.7903, 37.5600, 8.6128) |
| Luminance | 0.3756 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ocher
#BF9B0C
ΔE00 3.09
Ocre
#C69C04
ΔE00 3.76
Yellow Ochre
#CB9D06
ΔE00 4.39
Dark Gold
#B59410
ΔE00 4.51
Brown Yellow
#B29705
ΔE00 4.60
Yellow Brown
#B79400
ΔE00 4.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2A234 #3454C2
analogous
#C25B34 #C2A234 #9BC234
triadic
#C2A234 #34C2A2 #A234C2
tetradic
#C2A234 #34C25B #3454C2 #C2349B
square
#C2A234 #34C25B #3454C2 #C2349B
split-complementary
#C2A234 #349BC2 #5B34C2
monochromatic
#61511A #927A27 #C2A234 #D4BA5F #E1CF8F
Accessibility & contrast
On white
2.47
#C2A234 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.51
#C2A234 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2A234
8.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2A234 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2A234 | 1.00 | 2.47 | 8.51 | 8.51 |
| #FFFFFF | 2.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.51 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.51 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B4A023
Deuteranopia (green-blind)
#BCA93A
Tritanopia (blue-blind)
#D2958C
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #c2a234; /* rgb */ color: rgb(194, 162, 52); /* oklch */ color: oklch(72.2% 0.129 92.2);
Tailwind
colors: {
custom: {
50: '#d8bd73',
500: '#c2a234',
950: '#000000',
},
}SCSS
$custom: #c2a234; $custom-light: #d8bd73; $custom-dark: #000000;
JSON
{
"hex": "#c2a234",
"rgb": {
"r": 194,
"g": 162,
"b": 52
},
"hsl": {
"h": 46.479,
"s": 57.724,
"l": 48.235
},
"oklch": {
"l": 0.72171,
"c": 0.12943,
"h": 92.2
},
"luminance": 0.37558
}Semantic roles & 50–950 ramp
primary
#C2A234
secondary
#8696CC
accent
#6AE147
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151208
muted
#83817B