#C2AF2C#C2AF2C
#C2AF2C is a light, vivid yellow. Relative luminance 0.423; OKLCH L 74.8% C 0.143 H 100.6°. Best body text is #000000 at 9.46:1 contrast (WCAG AA passes).
Color values
| HEX | #C2AF2C |
|---|---|
| RGB | rgb(194, 175, 44) |
| HSL | hsl(52, 63%, 47%) |
| HSV | hsv(52, 77%, 76%) |
| CMYK | cmyk(0%, 9.8%, 77.3%, 23.9%) |
| CIE-LAB | lab(71.09, -6.92, 64.52) |
| CIE-LCH | lch(71.09, 64.89, 96.12°) |
| OKLab | oklab(74.84% -0.0263 0.1407) |
| OKLCH | oklch(74.84% 0.143 100.6) |
| XYZ | xyz(38.0346, 42.3129, 8.5462) |
| Luminance | 0.4231 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 1.99
Brownish Yellow
#C9B003
ΔE00 2.72
Mustard (survey)
#CEB301
ΔE00 3.49
Olive Yellow
#C2B709
ΔE00 3.55
Dark Yellow
#D5B60A
ΔE00 4.60
Mustard Yellow
#D2BD0A
ΔE00 4.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2AF2C #2C3FC2
analogous
#C2642C #C2AF2C #8AC22C
triadic
#C2AF2C #2CC2AF #AF2CC2
tetradic
#C2AF2C #2CC264 #2C3FC2 #C22C8A
square
#C2AF2C #2CC264 #2C3FC2 #C22C8A
split-complementary
#C2AF2C #2C8AC2 #642CC2
monochromatic
#5E5515 #908221 #C2AF2C #D8C753 #E3D785
Accessibility & contrast
On white
2.22
#C2AF2C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.46
#C2AF2C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2AF2C
9.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2AF2C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2AF2C | 1.00 | 2.22 | 9.46 | 9.46 |
| #FFFFFF | 2.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0AA0C
Deuteranopia (green-blind)
#C5B136
Tritanopia (blue-blind)
#D1A296
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #c2af2c; /* rgb */ color: rgb(194, 175, 44); /* oklch */ color: oklch(74.8% 0.143 100.6);
Tailwind
colors: {
custom: {
50: '#d9c670',
500: '#c2af2c',
950: '#000000',
},
}SCSS
$custom: #c2af2c; $custom-light: #d9c670; $custom-dark: #000000;
JSON
{
"hex": "#c2af2c",
"rgb": {
"r": 194,
"g": 175,
"b": 44
},
"hsl": {
"h": 52.4,
"s": 63.025,
"l": 46.667
},
"oklch": {
"l": 0.7484,
"c": 0.14312,
"h": 100.6
},
"luminance": 0.42311
}Semantic roles & 50–950 ramp
primary
#C2AF2C
secondary
#7D87CD
accent
#57E642
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151208
muted
#83817B