#C2A230#C2A230
#C2A230 is a light, vivid yellow. Relative luminance 0.375; OKLCH L 72.1% C 0.132 H 92.6°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).
Color values
| HEX | #C2A230 |
|---|---|
| RGB | rgb(194, 162, 48) |
| HSL | hsl(47, 60%, 47%) |
| HSV | hsv(47, 75%, 76%) |
| CMYK | cmyk(0%, 16.5%, 75.3%, 23.9%) |
| CIE-LAB | lab(67.67, 0.13, 59.94) |
| CIE-LCH | lch(67.67, 59.94, 89.88°) |
| OKLab | oklab(72.14% -0.0059 0.1317) |
| OKLCH | oklch(72.14% 0.132 92.6) |
| XYZ | xyz(35.7040, 37.5255, 8.1583) |
| Luminance | 0.3752 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ocher
#BF9B0C
ΔE00 2.81
Ocre
#C69C04
ΔE00 3.54
Yellow Ochre
#CB9D06
ΔE00 4.23
Brown Yellow
#B29705
ΔE00 4.38
Dark Gold
#B59410
ΔE00 4.38
Yellow Brown
#B79400
ΔE00 4.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2A230 #3050C2
analogous
#C25930 #C2A230 #99C230
triadic
#C2A230 #30C2A2 #A230C2
tetradic
#C2A230 #30C259 #3050C2 #C23099
square
#C2A230 #30C259 #3050C2 #C23099
split-complementary
#C2A230 #3099C2 #5930C2
monochromatic
#605018 #917924 #C2A230 #D6BB59 #E2CF8A
Accessibility & contrast
On white
2.47
#C2A230 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.50
#C2A230 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2A230
8.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2A230 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2A230 | 1.00 | 2.47 | 8.50 | 8.50 |
| #FFFFFF | 2.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.50 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.50 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B49F1C
Deuteranopia (green-blind)
#BCA937
Tritanopia (blue-blind)
#D2958C
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #c2a230; /* rgb */ color: rgb(194, 162, 48); /* oklch */ color: oklch(72.1% 0.132 92.6);
Tailwind
colors: {
custom: {
50: '#d9bd71',
500: '#c2a230',
950: '#000000',
},
}SCSS
$custom: #c2a230; $custom-light: #d9bd71; $custom-dark: #000000;
JSON
{
"hex": "#c2a230",
"rgb": {
"r": 194,
"g": 162,
"b": 48
},
"hsl": {
"h": 46.849,
"s": 60.331,
"l": 47.451
},
"oklch": {
"l": 0.72142,
"c": 0.13185,
"h": 92.6
},
"luminance": 0.37523
}Semantic roles & 50–950 ramp
primary
#C2A230
secondary
#8292CC
accent
#67E344
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151208
muted
#83817B