#C2AB52#C2AB52
#C2AB52 is a light, moderate yellow. Relative luminance 0.412; OKLCH L 74.3% C 0.112 H 95.0°. Best body text is #000000 at 9.24:1 contrast (WCAG AA passes).
Color values
| HEX | #C2AB52 |
|---|---|
| RGB | rgb(194, 171, 82) |
| HSL | hsl(48, 48%, 54%) |
| HSV | hsv(48, 58%, 76%) |
| CMYK | cmyk(0%, 11.9%, 57.7%, 23.9%) |
| CIE-LAB | lab(70.32, -2.65, 48.09) |
| CIE-LCH | lch(70.32, 48.16, 93.15°) |
| OKLab | oklab(74.33% -0.0098 0.112) |
| OKLCH | oklch(74.33% 0.112 95) |
| XYZ | xyz(38.3356, 41.2061, 13.9153) |
| Luminance | 0.4120 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 3.59
Sandy Brown
#C4A661
ΔE00 4.50
Tan (survey)
#D1B26F
ΔE00 5.64
Darkkhaki
#BDB76B
ΔE00 6.11
Sandstone
#C9AE74
ΔE00 6.28
Sand Brown
#CBA560
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2AB52 #5269C2
analogous
#C27352 #C2AB52 #A1C252
triadic
#C2AB52 #52C2AB #AB52C2
tetradic
#C2AB52 #52C273 #5269C2 #C252A1
square
#C2AB52 #52C273 #5269C2 #C252A1
split-complementary
#C2AB52 #52A1C2 #7352C2
monochromatic
#726228 #9F8A38 #C2AB52 #D2C17F #E2D7AC
Accessibility & contrast
On white
2.27
#C2AB52 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.24
#C2AB52 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2AB52
9.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2AB52 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2AB52 | 1.00 | 2.27 | 9.24 | 9.24 |
| #FFFFFF | 2.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BAA849
Deuteranopia (green-blind)
#C0AF56
Tritanopia (blue-blind)
#D0A097
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #c2ab52; /* rgb */ color: rgb(194, 171, 82); /* oklch */ color: oklch(74.3% 0.112 95.0);
Tailwind
colors: {
custom: {
50: '#d7c385',
500: '#c2ab52',
950: '#000000',
},
}SCSS
$custom: #c2ab52; $custom-light: #d7c385; $custom-dark: #000000;
JSON
{
"hex": "#c2ab52",
"rgb": {
"r": 194,
"g": 171,
"b": 82
},
"hsl": {
"h": 47.679,
"s": 47.863,
"l": 54.118
},
"oklch": {
"l": 0.74328,
"c": 0.1124,
"h": 95
},
"luminance": 0.41204
}Semantic roles & 50–950 ramp
primary
#C2AB52
secondary
#A0AAD0
accent
#6CD750
background
#FDFBF8
surface
#FBF7EF
border
#D4D0CA
text
#15120B
muted
#83817C