#C2AB48#C2AB48
#C2AB48 is a light, vivid yellow. Relative luminance 0.411; OKLCH L 74.2% C 0.121 H 96.2°. Best body text is #000000 at 9.21:1 contrast (WCAG AA passes).
Color values
| HEX | #C2AB48 |
|---|---|
| RGB | rgb(194, 171, 72) |
| HSL | hsl(49, 50%, 52%) |
| HSV | hsv(49, 63%, 76%) |
| CMYK | cmyk(0%, 11.9%, 62.9%, 23.9%) |
| CIE-LAB | lab(70.22, -3.36, 52.62) |
| CIE-LCH | lch(70.22, 52.73, 93.65°) |
| OKLab | oklab(74.22% -0.0131 0.1204) |
| OKLCH | oklch(74.22% 0.121 96.2) |
| XYZ | xyz(37.9824, 41.0649, 12.0553) |
| Luminance | 0.4106 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 4.67
Muddy Yellow
#BFAC05
ΔE00 5.33
Brownish Yellow
#C9B003
ΔE00 5.67
Sandy Brown
#C4A661
ΔE00 5.72
Mustard (survey)
#CEB301
ΔE00 6.22
Mustard
#DBB42C
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2AB48 #485FC2
analogous
#C26E48 #C2AB48 #9CC248
triadic
#C2AB48 #48C2AB #AB48C2
tetradic
#C2AB48 #48C26E #485FC2 #C2489C
square
#C2AB48 #48C26E #485FC2 #C2489C
split-complementary
#C2AB48 #489CC2 #6E48C2
monochromatic
#6C5E24 #9A8633 #C2AB48 #D1C076 #E1D5A4
Accessibility & contrast
On white
2.28
#C2AB48 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.21
#C2AB48 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2AB48
9.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2AB48 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2AB48 | 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)
#BBA73D
Deuteranopia (green-blind)
#C1AF4D
Tritanopia (blue-blind)
#D19F96
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #c2ab48; /* rgb */ color: rgb(194, 171, 72); /* oklch */ color: oklch(74.2% 0.121 96.2);
Tailwind
colors: {
custom: {
50: '#d7c37f',
500: '#c2ab48',
950: '#000000',
},
}SCSS
$custom: #c2ab48; $custom-light: #d7c37f; $custom-dark: #000000;
JSON
{
"hex": "#c2ab48",
"rgb": {
"r": 194,
"g": 171,
"b": 72
},
"hsl": {
"h": 48.689,
"s": 50,
"l": 52.157
},
"oklch": {
"l": 0.74218,
"c": 0.12108,
"h": 96.2
},
"luminance": 0.41063
}Semantic roles & 50–950 ramp
primary
#C2AB48
secondary
#98A2CE
accent
#69DA4E
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#15120A
muted
#83817C