#C6AB42#C6AB42
#C6AB42 is a light, vivid yellow. Relative luminance 0.415; OKLCH L 74.5% C 0.126 H 94.6°. Best body text is #000000 at 9.31:1 contrast (WCAG AA passes).
Color values
| HEX | #C6AB42 |
|---|---|
| RGB | rgb(198, 171, 66) |
| HSL | hsl(48, 54%, 52%) |
| HSV | hsv(48, 67%, 78%) |
| CMYK | cmyk(0%, 13.6%, 66.7%, 22.4%) |
| CIE-LAB | lab(70.54, -2.01, 55.72) |
| CIE-LCH | lch(70.54, 55.75, 92.06°) |
| OKLab | oklab(74.54% -0.0102 0.1259) |
| OKLCH | oklch(74.54% 0.126 94.6) |
| XYZ | xyz(38.8369, 41.5270, 11.1231) |
| Luminance | 0.4153 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 4.69
Brownish Yellow
#C9B003
ΔE00 4.96
Muddy Yellow
#BFAC05
ΔE00 5.03
Mustard
#DBB42C
ΔE00 5.14
Mustard (survey)
#CEB301
ΔE00 5.41
Burnt Yellow
#D5AB09
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C6AB42 #425DC6
analogous
#C66942 #C6AB42 #9FC642
triadic
#C6AB42 #42C6AB #AB42C6
tetradic
#C6AB42 #42C669 #425DC6 #C6429F
square
#C6AB42 #42C669 #425DC6 #C6429F
split-complementary
#C6AB42 #429FC6 #6942C6
monochromatic
#6D5D21 #9C862F #C6AB42 #D4C071 #E2D5A0
Accessibility & contrast
On white
2.26
#C6AB42 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.31
#C6AB42 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C6AB42
9.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C6AB42 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C6AB42 | 1.00 | 2.26 | 9.31 | 9.31 |
| #FFFFFF | 2.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.31 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.31 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BCA835
Deuteranopia (green-blind)
#C3B047
Tritanopia (blue-blind)
#D59E95
Achromatopsia (no color)
#ADADAD
Design tokens & code
CSS
--color: #c6ab42; /* rgb */ color: rgb(198, 171, 66); /* oklch */ color: oklch(74.5% 0.126 94.6);
Tailwind
colors: {
custom: {
50: '#dbc37b',
500: '#c6ab42',
950: '#000000',
},
}SCSS
$custom: #c6ab42; $custom-light: #dbc37b; $custom-dark: #000000;
JSON
{
"hex": "#c6ab42",
"rgb": {
"r": 198,
"g": 171,
"b": 66
},
"hsl": {
"h": 47.727,
"s": 53.659,
"l": 51.765
},
"oklch": {
"l": 0.74544,
"c": 0.12632,
"h": 94.6
},
"luminance": 0.41525
}Semantic roles & 50–950 ramp
primary
#C6AB42
secondary
#95A1CF
accent
#69DD4B
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#15120A
muted
#83817C