#C2AE3B#C2AE3B
#C2AE3B is a light, vivid yellow. Relative luminance 0.421; OKLCH L 74.7% C 0.133 H 99.2°. Best body text is #000000 at 9.41:1 contrast (WCAG AA passes).
Color values
| HEX | #C2AE3B |
|---|---|
| RGB | rgb(194, 174, 59) |
| HSL | hsl(51, 53%, 50%) |
| HSV | hsv(51, 70%, 76%) |
| CMYK | cmyk(0%, 10.3%, 69.6%, 23.9%) |
| CIE-LAB | lab(70.91, -5.71, 58.88) |
| CIE-LCH | lch(70.91, 59.16, 95.54°) |
| OKLab | oklab(74.73% -0.0213 0.1316) |
| OKLCH | oklch(74.73% 0.133 99.2) |
| XYZ | xyz(38.1754, 42.0590, 10.2442) |
| Luminance | 0.4206 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 3.38
Brownish Yellow
#C9B003
ΔE00 3.92
Mustard (survey)
#CEB301
ΔE00 4.57
Olive Yellow
#C2B709
ΔE00 4.90
Dark Yellow
#D5B60A
ΔE00 5.42
Mustard Yellow
#D2BD0A
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2AE3B #3B4FC2
analogous
#C26A3B #C2AE3B #93C23B
triadic
#C2AE3B #3BC2AE #AE3BC2
tetradic
#C2AE3B #3BC26A #3B4FC2 #C23B93
square
#C2AE3B #3BC26A #3B4FC2 #C23B93
split-complementary
#C2AE3B #3B93C2 #6A3BC2
monochromatic
#645A1E #93842D #C2AE3B #D1C269 #E0D598
Accessibility & contrast
On white
2.23
#C2AE3B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.41
#C2AE3B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2AE3B
9.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2AE3B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2AE3B | 1.00 | 2.23 | 9.41 | 9.41 |
| #FFFFFF | 2.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFA92A
Deuteranopia (green-blind)
#C4B142
Tritanopia (blue-blind)
#D1A197
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #c2ae3b; /* rgb */ color: rgb(194, 174, 59); /* oklch */ color: oklch(74.7% 0.133 99.2);
Tailwind
colors: {
custom: {
50: '#d8c578',
500: '#c2ae3b',
950: '#000000',
},
}SCSS
$custom: #c2ae3b; $custom-light: #d8c578; $custom-dark: #000000;
JSON
{
"hex": "#c2ae3b",
"rgb": {
"r": 194,
"g": 174,
"b": 59
},
"hsl": {
"h": 51.111,
"s": 53.36,
"l": 49.608
},
"oklch": {
"l": 0.74731,
"c": 0.13327,
"h": 99.2
},
"luminance": 0.42057
}Semantic roles & 50–950 ramp
primary
#C2AE3B
secondary
#8E97CB
accent
#61DD4B
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151209
muted
#83817B