#C2A034#C2A034
#C2A034 is a light, vivid yellow. Relative luminance 0.369; OKLCH L 71.8% C 0.128 H 90.8°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).
Color values
| HEX | #C2A034 |
|---|---|
| RGB | rgb(194, 160, 52) |
| HSL | hsl(46, 58%, 48%) |
| HSV | hsv(46, 73%, 76%) |
| CMYK | cmyk(0%, 17.5%, 73.2%, 23.9%) |
| CIE-LAB | lab(67.17, 1.38, 57.94) |
| CIE-LCH | lch(67.17, 57.95, 88.64°) |
| OKLab | oklab(71.76% -0.0019 0.1283) |
| OKLCH | oklch(71.76% 0.128 90.8) |
| XYZ | xyz(35.4408, 36.8610, 8.4963) |
| Luminance | 0.3686 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ocher
#BF9B0C
ΔE00 2.88
Ocre
#C69C04
ΔE00 3.40
Yellow Ochre
#CB9D06
ΔE00 3.97
Dark Gold
#B59410
ΔE00 4.18
Yellow Brown
#B79400
ΔE00 4.35
Brown Yellow
#B29705
ΔE00 4.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2A034 #3456C2
analogous
#C25934 #C2A034 #9DC234
triadic
#C2A034 #34C2A0 #A034C2
tetradic
#C2A034 #34C259 #3456C2 #C2349D
square
#C2A034 #34C259 #3456C2 #C2349D
split-complementary
#C2A034 #349DC2 #5934C2
monochromatic
#61501A #927827 #C2A034 #D4B85F #E1CD8F
Accessibility & contrast
On white
2.51
#C2A034 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.37
#C2A034 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2A034
8.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2A034 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2A034 | 1.00 | 2.51 | 8.37 | 8.37 |
| #FFFFFF | 2.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B29E23
Deuteranopia (green-blind)
#BAA83A
Tritanopia (blue-blind)
#D2938A
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #c2a034; /* rgb */ color: rgb(194, 160, 52); /* oklch */ color: oklch(71.8% 0.128 90.8);
Tailwind
colors: {
custom: {
50: '#d9bb72',
500: '#c2a034',
950: '#000000',
},
}SCSS
$custom: #c2a034; $custom-light: #d9bb72; $custom-dark: #000000;
JSON
{
"hex": "#c2a034",
"rgb": {
"r": 194,
"g": 160,
"b": 52
},
"hsl": {
"h": 45.634,
"s": 57.724,
"l": 48.235
},
"oklch": {
"l": 0.71758,
"c": 0.12826,
"h": 90.8
},
"luminance": 0.36859
}Semantic roles & 50–950 ramp
primary
#C2A034
secondary
#8697CC
accent
#6CE147
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151108
muted
#83807B