#C2AC45#C2AC45
#C2AC45 is a light, vivid yellow. Relative luminance 0.414; OKLCH L 74.4% C 0.124 H 97.2°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).
Color values
| HEX | #C2AC45 |
|---|---|
| RGB | rgb(194, 172, 69) |
| HSL | hsl(49, 51%, 52%) |
| HSV | hsv(49, 64%, 76%) |
| CMYK | cmyk(0%, 11.3%, 64.4%, 23.9%) |
| CIE-LAB | lab(70.46, -4.08, 54.21) |
| CIE-LCH | lch(70.46, 54.37, 94.30°) |
| OKLab | oklab(74.4% -0.0155 0.1233) |
| OKLCH | oklch(74.4% 0.124 97.2) |
| XYZ | xyz(38.0765, 41.4059, 11.6156) |
| Luminance | 0.4140 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 4.77
Brownish Yellow
#C9B003
ΔE00 5.16
Desert
#CCAD60
ΔE00 5.23
Mustard (survey)
#CEB301
ΔE00 5.73
Mustard
#DBB42C
ΔE00 6.19
Sandy Brown
#C4A661
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2AC45 #455BC2
analogous
#C26E45 #C2AC45 #9AC245
triadic
#C2AC45 #45C2AC #AC45C2
tetradic
#C2AC45 #45C26E #455BC2 #C2459A
square
#C2AC45 #45C26E #455BC2 #C2459A
split-complementary
#C2AC45 #459AC2 #6E45C2
monochromatic
#6A5D23 #988632 #C2AC45 #D1C173 #E0D5A1
Accessibility & contrast
On white
2.26
#C2AC45 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.28
#C2AC45 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2AC45
9.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2AC45 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2AC45 | 1.00 | 2.26 | 9.28 | 9.28 |
| #FFFFFF | 2.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BCA839
Deuteranopia (green-blind)
#C2AF4A
Tritanopia (blue-blind)
#D1A096
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #c2ac45; /* rgb */ color: rgb(194, 172, 69); /* oklch */ color: oklch(74.4% 0.124 97.2);
Tailwind
colors: {
custom: {
50: '#d8c47d',
500: '#c2ac45',
950: '#000000',
},
}SCSS
$custom: #c2ac45; $custom-light: #d8c47d; $custom-dark: #000000;
JSON
{
"hex": "#c2ac45",
"rgb": {
"r": 194,
"g": 172,
"b": 69
},
"hsl": {
"h": 49.44,
"s": 50.607,
"l": 51.569
},
"oklch": {
"l": 0.74398,
"c": 0.12428,
"h": 97.2
},
"luminance": 0.41404
}Semantic roles & 50–950 ramp
primary
#C2AC45
secondary
#96A0CD
accent
#66DA4E
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15120A
muted
#83817C