#C7AB4E#C7AB4E
#C7AB4E is a light, moderate yellow. Relative luminance 0.418; OKLCH L 74.8% C 0.117 H 92.6°. Best body text is #000000 at 9.36:1 contrast (WCAG AA passes).
Color values
| HEX | #C7AB4E |
|---|---|
| RGB | rgb(199, 171, 78) |
| HSL | hsl(46, 52%, 54%) |
| HSV | hsv(46, 61%, 78%) |
| CMYK | cmyk(0%, 14.1%, 60.8%, 22%) |
| CIE-LAB | lab(70.75, -0.80, 50.58) |
| CIE-LCH | lch(70.75, 50.59, 90.91°) |
| OKLab | oklab(74.76% -0.0053 0.1167) |
| OKLCH | oklch(74.76% 0.117 92.6) |
| XYZ | xyz(39.4930, 41.8200, 13.1981) |
| Luminance | 0.4182 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 3.05
Sandy Brown
#C4A661
ΔE00 4.37
Tan (survey)
#D1B26F
ΔE00 5.35
Sand Brown
#CBA560
ΔE00 5.82
Mustard
#DBB42C
ΔE00 5.92
Camel (survey)
#C69F59
ΔE00 6.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C7AB4E #4E6AC7
analogous
#C76F4E #C7AB4E #A6C74E
triadic
#C7AB4E #4EC7AB #AB4EC7
tetradic
#C7AB4E #4EC76F #4E6AC7 #C74EA6
square
#C7AB4E #4EC76F #4E6AC7 #C74EA6
split-complementary
#C7AB4E #4EA6C7 #6F4EC7
monochromatic
#756325 #A48A34 #C7AB4E #D6C17C #E4D7AB
Accessibility & contrast
On white
2.24
#C7AB4E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.36
#C7AB4E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C7AB4E
9.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C7AB4E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C7AB4E | 1.00 | 2.24 | 9.36 | 9.36 |
| #FFFFFF | 2.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BCA844
Deuteranopia (green-blind)
#C3B152
Tritanopia (blue-blind)
#D69F97
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #c7ab4e; /* rgb */ color: rgb(199, 171, 78); /* oklch */ color: oklch(74.8% 0.117 92.6);
Tailwind
colors: {
custom: {
50: '#dbc383',
500: '#c7ab4e',
950: '#000000',
},
}SCSS
$custom: #c7ab4e; $custom-light: #dbc383; $custom-dark: #000000;
JSON
{
"hex": "#c7ab4e",
"rgb": {
"r": 199,
"g": 171,
"b": 78
},
"hsl": {
"h": 46.116,
"s": 51.931,
"l": 54.314
},
"oklch": {
"l": 0.74761,
"c": 0.11684,
"h": 92.6
},
"luminance": 0.41818
}Semantic roles & 50–950 ramp
primary
#C7AB4E
secondary
#9FABD2
accent
#6EDB4C
background
#FDFBF8
surface
#FBF7EF
border
#D4D0CA
text
#15120B
muted
#83817C