#C2A02B#C2A02B
#C2A02B is a light, vivid yellow. Relative luminance 0.368; OKLCH L 71.7% C 0.133 H 91.7°. Best body text is #000000 at 8.36:1 contrast (WCAG AA passes).
Color values
| HEX | #C2A02B |
|---|---|
| RGB | rgb(194, 160, 43) |
| HSL | hsl(46, 64%, 46%) |
| HSV | hsv(46, 78%, 76%) |
| CMYK | cmyk(0%, 17.5%, 77.8%, 23.9%) |
| CIE-LAB | lab(67.12, 0.99, 61.22) |
| CIE-LCH | lch(67.12, 61.23, 89.07°) |
| OKLab | oklab(71.7% -0.0039 0.1334) |
| OKLCH | oklch(71.7% 0.133 91.7) |
| XYZ | xyz(35.2570, 36.7876, 7.5287) |
| Luminance | 0.3679 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ocher
#BF9B0C
ΔE00 2.15
Ocre
#C69C04
ΔE00 2.82
Yellow Ochre
#CB9D06
ΔE00 3.56
Dark Gold
#B59410
ΔE00 3.85
Yellow Brown
#B79400
ΔE00 3.92
Brown Yellow
#B29705
ΔE00 4.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2A02B #2B4DC2
analogous
#C2552B #C2A02B #99C22B
triadic
#C2A02B #2BC2A0 #A02BC2
tetradic
#C2A02B #2BC255 #2B4DC2 #C22B99
square
#C2A02B #2BC255 #2B4DC2 #C22B99
split-complementary
#C2A02B #2B99C2 #552BC2
monochromatic
#5E4D15 #907720 #C2A02B #D9BA52 #E4CE84
Accessibility & contrast
On white
2.51
#C2A02B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.36
#C2A02B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2A02B
8.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2A02B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2A02B | 1.00 | 2.51 | 8.36 | 8.36 |
| #FFFFFF | 2.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B29E13
Deuteranopia (green-blind)
#BBA732
Tritanopia (blue-blind)
#D2928A
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #c2a02b; /* rgb */ color: rgb(194, 160, 43); /* oklch */ color: oklch(71.7% 0.133 91.7);
Tailwind
colors: {
custom: {
50: '#d9bb6e',
500: '#c2a02b',
950: '#000000',
},
}SCSS
$custom: #c2a02b; $custom-light: #d9bb6e; $custom-dark: #000000;
JSON
{
"hex": "#c2a02b",
"rgb": {
"r": 194,
"g": 160,
"b": 43
},
"hsl": {
"h": 46.49,
"s": 63.713,
"l": 46.471
},
"oklch": {
"l": 0.71697,
"c": 0.13348,
"h": 91.7
},
"luminance": 0.36785
}Semantic roles & 50–950 ramp
primary
#C2A02B
secondary
#7C8ECD
accent
#66E741
background
#FDFBF6
surface
#FBF6EC
border
#D4D0C7
text
#151108
muted
#83807B