#C2AF3B#C2AF3B
#C2AF3B is a light, vivid yellow. Relative luminance 0.424; OKLCH L 74.9% C 0.134 H 99.8°. Best body text is #000000 at 9.49:1 contrast (WCAG AA passes).
Color values
| HEX | #C2AF3B |
|---|---|
| RGB | rgb(194, 175, 59) |
| HSL | hsl(52, 53%, 50%) |
| HSV | hsv(52, 70%, 76%) |
| CMYK | cmyk(0%, 9.8%, 69.6%, 23.9%) |
| CIE-LAB | lab(71.18, -6.23, 59.15) |
| CIE-LCH | lch(71.18, 59.48, 96.02°) |
| OKLab | oklab(74.94% -0.0228 0.1321) |
| OKLCH | oklch(74.94% 0.134 99.8) |
| XYZ | xyz(38.3693, 42.4468, 10.3088) |
| Luminance | 0.4244 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 3.33
Brownish Yellow
#C9B003
ΔE00 3.91
Mustard (survey)
#CEB301
ΔE00 4.54
Olive Yellow
#C2B709
ΔE00 4.60
Dark Yellow
#D5B60A
ΔE00 5.41
Mustard Yellow
#D2BD0A
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2AF3B #3B4EC2
analogous
#C26C3B #C2AF3B #91C23B
triadic
#C2AF3B #3BC2AF #AF3BC2
tetradic
#C2AF3B #3BC26C #3B4EC2 #C23B91
square
#C2AF3B #3BC26C #3B4EC2 #C23B91
split-complementary
#C2AF3B #3B91C2 #6C3BC2
monochromatic
#645A1E #93852D #C2AF3B #D1C369 #E0D698
Accessibility & contrast
On white
2.21
#C2AF3B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.49
#C2AF3B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2AF3B
9.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2AF3B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2AF3B | 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)
#C0AA2A
Deuteranopia (green-blind)
#C5B142
Tritanopia (blue-blind)
#D1A298
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #c2af3b; /* rgb */ color: rgb(194, 175, 59); /* oklch */ color: oklch(74.9% 0.134 99.8);
Tailwind
colors: {
custom: {
50: '#d8c678',
500: '#c2af3b',
950: '#000000',
},
}SCSS
$custom: #c2af3b; $custom-light: #d8c678; $custom-dark: #000000;
JSON
{
"hex": "#c2af3b",
"rgb": {
"r": 194,
"g": 175,
"b": 59
},
"hsl": {
"h": 51.556,
"s": 53.36,
"l": 49.608
},
"oklch": {
"l": 0.74942,
"c": 0.13407,
"h": 99.8
},
"luminance": 0.42445
}Semantic roles & 50–950 ramp
primary
#C2AF3B
secondary
#8E96CB
accent
#60DD4B
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151309
muted
#83827B