#C2AB45#C2AB45
#C2AB45 is a light, vivid yellow. Relative luminance 0.410; OKLCH L 74.2% C 0.124 H 96.5°. Best body text is #000000 at 9.21:1 contrast (WCAG AA passes).
Color values
| HEX | #C2AB45 |
|---|---|
| RGB | rgb(194, 171, 69) |
| HSL | hsl(49, 51%, 52%) |
| HSV | hsv(49, 64%, 76%) |
| CMYK | cmyk(0%, 11.9%, 64.4%, 23.9%) |
| CIE-LAB | lab(70.19, -3.55, 53.93) |
| CIE-LCH | lch(70.19, 54.05, 93.77°) |
| OKLab | oklab(74.19% -0.014 0.1227) |
| OKLCH | oklch(74.19% 0.124 96.5) |
| XYZ | xyz(37.8869, 41.0267, 11.5524) |
| Luminance | 0.4103 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Yellow
#BFAC05
ΔE00 4.94
Desert
#CCAD60
ΔE00 4.99
Brownish Yellow
#C9B003
ΔE00 5.30
Mustard (survey)
#CEB301
ΔE00 5.87
Sandy Brown
#C4A661
ΔE00 6.07
Mustard
#DBB42C
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2AB45 #455CC2
analogous
#C26D45 #C2AB45 #9BC245
triadic
#C2AB45 #45C2AB #AB45C2
tetradic
#C2AB45 #45C26D #455CC2 #C2459B
square
#C2AB45 #45C26D #455CC2 #C2459B
split-complementary
#C2AB45 #459BC2 #6D45C2
monochromatic
#6A5D23 #988532 #C2AB45 #D1C073 #E0D5A1
Accessibility & contrast
On white
2.28
#C2AB45 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.21
#C2AB45 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2AB45
9.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2AB45 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2AB45 | 1.00 | 2.28 | 9.21 | 9.21 |
| #FFFFFF | 2.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BBA739
Deuteranopia (green-blind)
#C1AF4A
Tritanopia (blue-blind)
#D19F95
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #c2ab45; /* rgb */ color: rgb(194, 171, 69); /* oklch */ color: oklch(74.2% 0.124 96.5);
Tailwind
colors: {
custom: {
50: '#d8c37d',
500: '#c2ab45',
950: '#000000',
},
}SCSS
$custom: #c2ab45; $custom-light: #d8c37d; $custom-dark: #000000;
JSON
{
"hex": "#c2ab45",
"rgb": {
"r": 194,
"g": 171,
"b": 69
},
"hsl": {
"h": 48.96,
"s": 50.607,
"l": 51.569
},
"oklch": {
"l": 0.74188,
"c": 0.12351,
"h": 96.5
},
"luminance": 0.41025
}Semantic roles & 50–950 ramp
primary
#C2AB45
secondary
#96A0CD
accent
#68DA4E
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#15120A
muted
#83817C