#C2AE2B#C2AE2B
#C2AE2B is a light, vivid yellow. Relative luminance 0.419; OKLCH L 74.6% C 0.143 H 100.1°. Best body text is #000000 at 9.38:1 contrast (WCAG AA passes).
Color values
| HEX | #C2AE2B |
|---|---|
| RGB | rgb(194, 174, 43) |
| HSL | hsl(52, 64%, 46%) |
| HSV | hsv(52, 78%, 76%) |
| CMYK | cmyk(0%, 10.3%, 77.8%, 23.9%) |
| CIE-LAB | lab(70.81, -6.43, 64.59) |
| CIE-LCH | lch(70.81, 64.91, 95.69°) |
| OKLab | oklab(74.62% -0.025 0.1407) |
| OKLCH | oklch(74.62% 0.143 100.1) |
| XYZ | xyz(37.8221, 41.9177, 8.3837) |
| Luminance | 0.4192 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 1.91
Brownish Yellow
#C9B003
ΔE00 2.61
Mustard (survey)
#CEB301
ΔE00 3.43
Olive Yellow
#C2B709
ΔE00 3.83
Dark Yellow
#D5B60A
ΔE00 4.54
Mustard Yellow
#D2BD0A
ΔE00 4.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2AE2B #2B3FC2
analogous
#C2632B #C2AE2B #8BC22B
triadic
#C2AE2B #2BC2AE #AE2BC2
tetradic
#C2AE2B #2BC263 #2B3FC2 #C22B8B
square
#C2AE2B #2BC263 #2B3FC2 #C22B8B
split-complementary
#C2AE2B #2B8BC2 #632BC2
monochromatic
#5E5415 #908120 #C2AE2B #D9C752 #E4D784
Accessibility & contrast
On white
2.24
#C2AE2B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.38
#C2AE2B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2AE2B
9.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2AE2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2AE2B | 1.00 | 2.24 | 9.38 | 9.38 |
| #FFFFFF | 2.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFA90A
Deuteranopia (green-blind)
#C5B035
Tritanopia (blue-blind)
#D1A195
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #c2ae2b; /* rgb */ color: rgb(194, 174, 43); /* oklch */ color: oklch(74.6% 0.143 100.1);
Tailwind
colors: {
custom: {
50: '#d9c56f',
500: '#c2ae2b',
950: '#000000',
},
}SCSS
$custom: #c2ae2b; $custom-light: #d9c56f; $custom-dark: #000000;
JSON
{
"hex": "#c2ae2b",
"rgb": {
"r": 194,
"g": 174,
"b": 43
},
"hsl": {
"h": 52.053,
"s": 63.713,
"l": 46.471
},
"oklch": {
"l": 0.74622,
"c": 0.14286,
"h": 100.1
},
"luminance": 0.41916
}Semantic roles & 50–950 ramp
primary
#C2AE2B
secondary
#7C87CD
accent
#57E741
background
#FDFCF7
surface
#FBF8ED
border
#D4D1C8
text
#151208
muted
#83817B