#C2AF37#C2AF37
#C2AF37 is a light, vivid yellow. Relative luminance 0.424; OKLCH L 74.9% C 0.137 H 100.0°. Best body text is #000000 at 9.48:1 contrast (WCAG AA passes).
Color values
| HEX | #C2AF37 |
|---|---|
| RGB | rgb(194, 175, 55) |
| HSL | hsl(52, 56%, 49%) |
| HSV | hsv(52, 72%, 76%) |
| CMYK | cmyk(0%, 9.8%, 71.6%, 23.9%) |
| CIE-LAB | lab(71.15, -6.44, 60.68) |
| CIE-LCH | lch(71.15, 61.02, 96.06°) |
| OKLab | oklab(74.91% -0.0238 0.1346) |
| OKLCH | oklch(74.91% 0.137 100) |
| XYZ | xyz(38.2695, 42.4069, 9.7832) |
| Luminance | 0.4240 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 2.93
Brownish Yellow
#C9B003
ΔE00 3.54
Mustard (survey)
#CEB301
ΔE00 4.21
Olive Yellow
#C2B709
ΔE00 4.27
Dark Yellow
#D5B60A
ΔE00 5.15
Mustard Yellow
#D2BD0A
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2AF37 #374AC2
analogous
#C26A37 #C2AF37 #90C237
triadic
#C2AF37 #37C2AF #AF37C2
tetradic
#C2AF37 #37C26A #374AC2 #C23790
square
#C2AF37 #37C26A #374AC2 #C23790
split-complementary
#C2AF37 #3790C2 #6A37C2
monochromatic
#63591C #928429 #C2AF37 #D3C463 #E0D693
Accessibility & contrast
On white
2.21
#C2AF37 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.48
#C2AF37 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2AF37
9.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2AF37 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2AF37 | 1.00 | 2.21 | 9.48 | 9.48 |
| #FFFFFF | 2.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0AA24
Deuteranopia (green-blind)
#C5B13F
Tritanopia (blue-blind)
#D1A297
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #c2af37; /* rgb */ color: rgb(194, 175, 55); /* oklch */ color: oklch(74.9% 0.137 100.0);
Tailwind
colors: {
custom: {
50: '#d8c676',
500: '#c2af37',
950: '#000000',
},
}SCSS
$custom: #c2af37; $custom-light: #d8c676; $custom-dark: #000000;
JSON
{
"hex": "#c2af37",
"rgb": {
"r": 194,
"g": 175,
"b": 55
},
"hsl": {
"h": 51.799,
"s": 55.823,
"l": 48.824
},
"oklch": {
"l": 0.74912,
"c": 0.13672,
"h": 100
},
"luminance": 0.42405
}Semantic roles & 50–950 ramp
primary
#C2AF37
secondary
#8992CB
accent
#5DDF49
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151309
muted
#83827B