#C2AF3C#C2AF3C
#C2AF3C is a light, vivid yellow. Relative luminance 0.425; OKLCH L 75.0% C 0.133 H 99.7°. Best body text is #000000 at 9.49:1 contrast (WCAG AA passes).
Color values
| HEX | #C2AF3C |
|---|---|
| RGB | rgb(194, 175, 60) |
| HSL | hsl(51, 53%, 50%) |
| HSV | hsv(51, 69%, 76%) |
| CMYK | cmyk(0%, 9.8%, 69.1%, 23.9%) |
| CIE-LAB | lab(71.19, -6.18, 58.76) |
| CIE-LCH | lch(71.19, 59.08, 96.01°) |
| OKLab | oklab(74.95% -0.0226 0.1315) |
| OKLCH | oklch(74.95% 0.133 99.7) |
| XYZ | xyz(38.3955, 42.4573, 10.4467) |
| Luminance | 0.4246 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 3.44
Brownish Yellow
#C9B003
ΔE00 4.00
Mustard (survey)
#CEB301
ΔE00 4.62
Olive Yellow
#C2B709
ΔE00 4.69
Dark Yellow
#D5B60A
ΔE00 5.48
Mustard Yellow
#D2BD0A
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2AF3C #3C4FC2
analogous
#C26C3C #C2AF3C #92C23C
triadic
#C2AF3C #3CC2AF #AF3CC2
tetradic
#C2AF3C #3CC26C #3C4FC2 #C23C92
square
#C2AF3C #3CC26C #3C4FC2 #C23C92
split-complementary
#C2AF3C #3C92C2 #6C3CC2
monochromatic
#655B1F #93852E #C2AF3C #D1C26A #DFD599
Accessibility & contrast
On white
2.21
#C2AF3C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.49
#C2AF3C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2AF3C
9.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2AF3C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2AF3C | 1.00 | 2.21 | 9.49 | 9.49 |
| #FFFFFF | 2.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.49 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.49 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0AA2C
Deuteranopia (green-blind)
#C5B143
Tritanopia (blue-blind)
#D1A298
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #c2af3c; /* rgb */ color: rgb(194, 175, 60); /* oklch */ color: oklch(75.0% 0.133 99.7);
Tailwind
colors: {
custom: {
50: '#d8c678',
500: '#c2af3c',
950: '#000000',
},
}SCSS
$custom: #c2af3c; $custom-light: #d8c678; $custom-dark: #000000;
JSON
{
"hex": "#c2af3c",
"rgb": {
"r": 194,
"g": 175,
"b": 60
},
"hsl": {
"h": 51.493,
"s": 52.756,
"l": 49.804
},
"oklch": {
"l": 0.7495,
"c": 0.13338,
"h": 99.7
},
"luminance": 0.42456
}Semantic roles & 50–950 ramp
primary
#C2AF3C
secondary
#8F97CB
accent
#60DC4C
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151309
muted
#83827B