#C2AB4A#C2AB4A
#C2AB4A is a light, moderate yellow. Relative luminance 0.411; OKLCH L 74.2% C 0.119 H 96.0°. Best body text is #000000 at 9.22:1 contrast (WCAG AA passes).
Color values
| HEX | #C2AB4A |
|---|---|
| RGB | rgb(194, 171, 74) |
| HSL | hsl(49, 50%, 53%) |
| HSV | hsv(49, 62%, 76%) |
| CMYK | cmyk(0%, 11.9%, 61.9%, 23.9%) |
| CIE-LAB | lab(70.24, -3.22, 51.73) |
| CIE-LCH | lch(70.24, 51.84, 93.57°) |
| OKLab | oklab(74.24% -0.0125 0.1188) |
| OKLCH | oklch(74.24% 0.119 96) |
| XYZ | xyz(38.0487, 41.0914, 12.4045) |
| Luminance | 0.4109 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 4.45
Sandy Brown
#C4A661
ΔE00 5.49
Muddy Yellow
#BFAC05
ΔE00 5.59
Brownish Yellow
#C9B003
ΔE00 5.92
Mustard (survey)
#CEB301
ΔE00 6.46
Mustard
#DBB42C
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C2AB4A #4A61C2
analogous
#C26F4A #C2AB4A #9DC24A
triadic
#C2AB4A #4AC2AB #AB4AC2
tetradic
#C2AB4A #4AC26F #4A61C2 #C24A9D
square
#C2AB4A #4AC26F #4A61C2 #C24A9D
split-complementary
#C2AB4A #4A9DC2 #6F4AC2
monochromatic
#6D5F25 #9B8734 #C2AB4A #D1C078 #E1D5A6
Accessibility & contrast
On white
2.28
#C2AB4A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.22
#C2AB4A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C2AB4A
9.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C2AB4A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C2AB4A | 1.00 | 2.28 | 9.22 | 9.22 |
| #FFFFFF | 2.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.22 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.22 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BBA73F
Deuteranopia (green-blind)
#C1AF4F
Tritanopia (blue-blind)
#D09F96
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #c2ab4a; /* rgb */ color: rgb(194, 171, 74); /* oklch */ color: oklch(74.2% 0.119 96.0);
Tailwind
colors: {
custom: {
50: '#d7c380',
500: '#c2ab4a',
950: '#000000',
},
}SCSS
$custom: #c2ab4a; $custom-light: #d7c380; $custom-dark: #000000;
JSON
{
"hex": "#c2ab4a",
"rgb": {
"r": 194,
"g": 171,
"b": 74
},
"hsl": {
"h": 48.5,
"s": 49.587,
"l": 52.549
},
"oklch": {
"l": 0.74239,
"c": 0.11941,
"h": 96
},
"luminance": 0.4109
}Semantic roles & 50–950 ramp
primary
#C2AB4A
secondary
#9AA4CE
accent
#69D94F
background
#FDFBF8
surface
#FBF7EF
border
#D4D0CA
text
#15120A
muted
#83817C