#C6AB4E#C6AB4E
#C6AB4E is a light, moderate yellow. Relative luminance 0.417; OKLCH L 74.7% C 0.117 H 93.2°. Best body text is #000000 at 9.34:1 contrast (WCAG AA passes).
Color values
| HEX | #C6AB4E |
|---|---|
| RGB | rgb(198, 171, 78) |
| HSL | hsl(47, 51%, 54%) |
| HSV | hsv(47, 61%, 78%) |
| CMYK | cmyk(0%, 13.6%, 60.6%, 22.4%) |
| CIE-LAB | lab(70.65, -1.23, 50.45) |
| CIE-LCH | lch(70.65, 50.47, 91.40°) |
| OKLab | oklab(74.67% -0.0065 0.1165) |
| OKLCH | oklch(74.67% 0.117 93.2) |
| XYZ | xyz(39.2285, 41.6836, 13.1857) |
| Luminance | 0.4168 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 3.21
Sandy Brown
#C4A661
ΔE00 4.47
Tan (survey)
#D1B26F
ΔE00 5.48
Sand Brown
#CBA560
ΔE00 6.02
Mustard
#DBB42C
ΔE00 6.07
Sandstone
#C9AE74
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C6AB4E #4E69C6
analogous
#C66F4E #C6AB4E #A5C64E
triadic
#C6AB4E #4EC6AB #AB4EC6
tetradic
#C6AB4E #4EC66F #4E69C6 #C64EA5
square
#C6AB4E #4EC66F #4E69C6 #C64EA5
split-complementary
#C6AB4E #4EA5C6 #6F4EC6
monochromatic
#746225 #A28A34 #C6AB4E #D5C17C #E4D7AB
Accessibility & contrast
On white
2.25
#C6AB4E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.34
#C6AB4E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C6AB4E
9.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C6AB4E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C6AB4E | 1.00 | 2.25 | 9.34 | 9.34 |
| #FFFFFF | 2.25 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.34 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.34 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BBA844
Deuteranopia (green-blind)
#C2B052
Tritanopia (blue-blind)
#D59F97
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #c6ab4e; /* rgb */ color: rgb(198, 171, 78); /* oklch */ color: oklch(74.7% 0.117 93.2);
Tailwind
colors: {
custom: {
50: '#dac383',
500: '#c6ab4e',
950: '#000000',
},
}SCSS
$custom: #c6ab4e; $custom-light: #dac383; $custom-dark: #000000;
JSON
{
"hex": "#c6ab4e",
"rgb": {
"r": 198,
"g": 171,
"b": 78
},
"hsl": {
"h": 46.5,
"s": 51.282,
"l": 54.118
},
"oklch": {
"l": 0.74665,
"c": 0.11664,
"h": 93.2
},
"luminance": 0.41682
}Semantic roles & 50–950 ramp
primary
#C6AB4E
secondary
#9EAAD1
accent
#6DDB4D
background
#FDFBF8
surface
#FBF7EF
border
#D4D0CA
text
#15120B
muted
#83817C