#C2AF30#C2AF30
#C2AF30 is a light, vivid yellow. Relative luminance 0.423; OKLCH L 74.9% C 0.141 H 100.4°. Best body text is #000000 at 9.47:1 contrast (WCAG AA passes).
Color values
| HEX | #C2AF30 |
|---|---|
| RGB | rgb(194, 175, 48) |
| HSL | hsl(52, 60%, 47%) |
| HSV | hsv(52, 75%, 76%) |
| CMYK | cmyk(0%, 9.8%, 75.3%, 23.9%) |
| CIE-LAB | lab(71.11, -6.76, 63.19) |
| CIE-LCH | lch(71.11, 63.55, 96.10°) |
| OKLab | oklab(74.86% -0.0254 0.1386) |
| OKLCH | oklch(74.86% 0.141 100.4) |
| XYZ | xyz(38.1134, 42.3445, 8.9615) |
| Luminance | 0.4234 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 2.31
Brownish Yellow
#C9B003
ΔE00 2.99
Mustard (survey)
#CEB301
ΔE00 3.72
Olive Yellow
#C2B709
ΔE00 3.78
Dark Yellow
#D5B60A
ΔE00 4.77
Mustard Yellow
#D2BD0A
ΔE00 4.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2AF30 #3043C2
analogous
#C26630 #C2AF30 #8CC230
triadic
#C2AF30 #30C2AF #AF30C2
tetradic
#C2AF30 #30C266 #3043C2 #C2308C
square
#C2AF30 #30C266 #3043C2 #C2308C
split-complementary
#C2AF30 #308CC2 #6630C2
monochromatic
#605618 #918324 #C2AF30 #D6C659 #E2D78A
Accessibility & contrast
On white
2.22
#C2AF30 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.47
#C2AF30 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2AF30
9.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2AF30 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2AF30 | 1.00 | 2.22 | 9.47 | 9.47 |
| #FFFFFF | 2.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0AA17
Deuteranopia (green-blind)
#C5B139
Tritanopia (blue-blind)
#D1A297
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #c2af30; /* rgb */ color: rgb(194, 175, 48); /* oklch */ color: oklch(74.9% 0.141 100.4);
Tailwind
colors: {
custom: {
50: '#d8c672',
500: '#c2af30',
950: '#000000',
},
}SCSS
$custom: #c2af30; $custom-light: #d8c672; $custom-dark: #000000;
JSON
{
"hex": "#c2af30",
"rgb": {
"r": 194,
"g": 175,
"b": 48
},
"hsl": {
"h": 52.192,
"s": 60.331,
"l": 47.451
},
"oklch": {
"l": 0.74864,
"c": 0.14094,
"h": 100.4
},
"luminance": 0.42343
}Semantic roles & 50–950 ramp
primary
#C2AF30
secondary
#828BCC
accent
#59E344
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151308
muted
#83827B