#C2AF45#C2AF45
#C2AF45 is a light, vivid yellow. Relative luminance 0.426; OKLCH L 75.0% C 0.127 H 99.1°. Best body text is #000000 at 9.51:1 contrast (WCAG AA passes).
Color values
| HEX | #C2AF45 |
|---|---|
| RGB | rgb(194, 175, 69) |
| HSL | hsl(51, 51%, 52%) |
| HSV | hsv(51, 64%, 76%) |
| CMYK | cmyk(0%, 9.8%, 64.4%, 23.9%) |
| CIE-LAB | lab(71.26, -5.66, 55.07) |
| CIE-LCH | lch(71.26, 55.36, 95.87°) |
| OKLab | oklab(75.03% -0.02 0.1251) |
| OKLCH | oklch(75.03% 0.127 99.1) |
| XYZ | xyz(38.6539, 42.5607, 11.8080) |
| Luminance | 0.4256 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 4.45
Brownish Yellow
#C9B003
ΔE00 4.94
Mustard (survey)
#CEB301
ΔE00 5.49
Olive Yellow
#C2B709
ΔE00 5.58
Desert
#CCAD60
ΔE00 6.01
Dark Yellow
#D5B60A
ΔE00 6.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2AF45 #4558C2
analogous
#C27145 #C2AF45 #97C245
triadic
#C2AF45 #45C2AF #AF45C2
tetradic
#C2AF45 #45C271 #4558C2 #C24597
square
#C2AF45 #45C271 #4558C2 #C24597
split-complementary
#C2AF45 #4597C2 #7145C2
monochromatic
#6A5F23 #988832 #C2AF45 #D1C373 #E0D7A1
Accessibility & contrast
On white
2.21
#C2AF45 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.51
#C2AF45 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2AF45
9.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2AF45 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2AF45 | 1.00 | 2.21 | 9.51 | 9.51 |
| #FFFFFF | 2.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.51 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.51 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFAB38
Deuteranopia (green-blind)
#C4B14B
Tritanopia (blue-blind)
#D0A399
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #c2af45; /* rgb */ color: rgb(194, 175, 69); /* oklch */ color: oklch(75.0% 0.127 99.1);
Tailwind
colors: {
custom: {
50: '#d8c67e',
500: '#c2af45',
950: '#000000',
},
}SCSS
$custom: #c2af45; $custom-light: #d8c67e; $custom-dark: #000000;
JSON
{
"hex": "#c2af45",
"rgb": {
"r": 194,
"g": 175,
"b": 69
},
"hsl": {
"h": 50.88,
"s": 50.607,
"l": 51.569
},
"oklch": {
"l": 0.75029,
"c": 0.1267,
"h": 99.1
},
"luminance": 0.42559
}Semantic roles & 50–950 ramp
primary
#C2AF45
secondary
#969ECD
accent
#63DA4E
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C