#C2AF2B#C2AF2B
#C2AF2B is a light, vivid yellow. Relative luminance 0.423; OKLCH L 74.8% C 0.144 H 100.6°. Best body text is #000000 at 9.46:1 contrast (WCAG AA passes).
Color values
| HEX | #C2AF2B |
|---|---|
| RGB | rgb(194, 175, 43) |
| HSL | hsl(52, 64%, 46%) |
| HSV | hsv(52, 78%, 76%) |
| CMYK | cmyk(0%, 9.8%, 77.8%, 23.9%) |
| CIE-LAB | lab(71.08, -6.96, 64.84) |
| CIE-LCH | lch(71.08, 65.21, 96.12°) |
| OKLab | oklab(74.83% -0.0265 0.1412) |
| OKLCH | oklch(74.83% 0.144 100.6) |
| XYZ | xyz(38.0160, 42.3055, 8.4484) |
| Luminance | 0.4230 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 1.92
Brownish Yellow
#C9B003
ΔE00 2.66
Mustard (survey)
#CEB301
ΔE00 3.43
Olive Yellow
#C2B709
ΔE00 3.49
Dark Yellow
#D5B60A
ΔE00 4.56
Mustard Yellow
#D2BD0A
ΔE00 4.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2AF2B #2B3EC2
analogous
#C2642B #C2AF2B #8AC22B
triadic
#C2AF2B #2BC2AF #AF2BC2
tetradic
#C2AF2B #2BC264 #2B3EC2 #C22B8A
square
#C2AF2B #2BC264 #2B3EC2 #C22B8A
split-complementary
#C2AF2B #2B8AC2 #642BC2
monochromatic
#5E5515 #908220 #C2AF2B #D9C852 #E4D884
Accessibility & contrast
On white
2.22
#C2AF2B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.46
#C2AF2B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2AF2B
9.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2AF2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2AF2B | 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)
#C0AA09
Deuteranopia (green-blind)
#C6B135
Tritanopia (blue-blind)
#D1A296
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #c2af2b; /* rgb */ color: rgb(194, 175, 43); /* oklch */ color: oklch(74.8% 0.144 100.6);
Tailwind
colors: {
custom: {
50: '#d9c670',
500: '#c2af2b',
950: '#000000',
},
}SCSS
$custom: #c2af2b; $custom-light: #d9c670; $custom-dark: #000000;
JSON
{
"hex": "#c2af2b",
"rgb": {
"r": 194,
"g": 175,
"b": 43
},
"hsl": {
"h": 52.45,
"s": 63.713,
"l": 46.471
},
"oklch": {
"l": 0.74834,
"c": 0.14363,
"h": 100.6
},
"luminance": 0.42304
}Semantic roles & 50–950 ramp
primary
#C2AF2B
secondary
#7C86CD
accent
#56E741
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151208
muted
#83817B