#C2AB51#C2AB51
#C2AB51 is a light, moderate yellow. Relative luminance 0.412; OKLCH L 74.3% C 0.113 H 95.2°. Best body text is #000000 at 9.24:1 contrast (WCAG AA passes).
Color values
| HEX | #C2AB51 |
|---|---|
| RGB | rgb(194, 171, 81) |
| HSL | hsl(48, 48%, 54%) |
| HSV | hsv(48, 58%, 76%) |
| CMYK | cmyk(0%, 11.9%, 58.2%, 23.9%) |
| CIE-LAB | lab(70.31, -2.72, 48.55) |
| CIE-LCH | lch(70.31, 48.63, 93.21°) |
| OKLab | oklab(74.32% -0.0102 0.1129) |
| OKLCH | oklch(74.32% 0.113 95.2) |
| XYZ | xyz(38.2978, 41.1910, 13.7164) |
| Luminance | 0.4119 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 3.70
Sandy Brown
#C4A661
ΔE00 4.63
Tan (survey)
#D1B26F
ΔE00 5.76
Darkkhaki
#BDB76B
ΔE00 6.16
Sandstone
#C9AE74
ΔE00 6.42
Sand Brown
#CBA560
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2AB51 #5168C2
analogous
#C27351 #C2AB51 #A1C251
triadic
#C2AB51 #51C2AB #AB51C2
tetradic
#C2AB51 #51C273 #5168C2 #C251A1
square
#C2AB51 #51C273 #5168C2 #C251A1
split-complementary
#C2AB51 #51A1C2 #7351C2
monochromatic
#716228 #9E8937 #C2AB51 #D2C17E #E2D7AC
Accessibility & contrast
On white
2.27
#C2AB51 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.24
#C2AB51 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2AB51
9.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2AB51 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2AB51 | 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)
#BAA848
Deuteranopia (green-blind)
#C0AF55
Tritanopia (blue-blind)
#D09F97
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #c2ab51; /* rgb */ color: rgb(194, 171, 81); /* oklch */ color: oklch(74.3% 0.113 95.2);
Tailwind
colors: {
custom: {
50: '#d7c385',
500: '#c2ab51',
950: '#000000',
},
}SCSS
$custom: #c2ab51; $custom-light: #d7c385; $custom-dark: #000000;
JSON
{
"hex": "#c2ab51",
"rgb": {
"r": 194,
"g": 171,
"b": 81
},
"hsl": {
"h": 47.788,
"s": 48.085,
"l": 53.922
},
"oklch": {
"l": 0.74316,
"c": 0.11331,
"h": 95.2
},
"luminance": 0.41189
}Semantic roles & 50–950 ramp
primary
#C2AB51
secondary
#9FA9D0
accent
#6CD850
background
#FDFBF8
surface
#FBF7EF
border
#D4D0CA
text
#15120B
muted
#83817C