#C6AB3A#C6AB3A
#C6AB3A is a light, vivid yellow. Relative luminance 0.414; OKLCH L 74.5% C 0.132 H 95.4°. Best body text is #000000 at 9.29:1 contrast (WCAG AA passes).
Color values
| HEX | #C6AB3A |
|---|---|
| RGB | rgb(198, 171, 58) |
| HSL | hsl(48, 55%, 50%) |
| HSV | hsv(48, 71%, 78%) |
| CMYK | cmyk(0%, 13.6%, 70.7%, 22.4%) |
| CIE-LAB | lab(70.48, -2.44, 58.97) |
| CIE-LCH | lch(70.48, 59.02, 92.37°) |
| OKLab | oklab(74.48% -0.0124 0.1314) |
| OKLCH | oklch(74.48% 0.132 95.4) |
| XYZ | xyz(38.6173, 41.4391, 9.9667) |
| Luminance | 0.4144 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brownish Yellow
#C9B003
ΔE00 4.07
Muddy Yellow
#BFAC05
ΔE00 4.19
Mustard (survey)
#CEB301
ΔE00 4.58
Mustard
#DBB42C
ΔE00 4.74
Burnt Yellow
#D5AB09
ΔE00 4.97
Dark Yellow
#D5B60A
ΔE00 5.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C6AB3A #3A55C6
analogous
#C6653A #C6AB3A #9BC63A
triadic
#C6AB3A #3AC6AB #AB3AC6
tetradic
#C6AB3A #3AC665 #3A55C6 #C63A9B
square
#C6AB3A #3AC665 #3A55C6 #C63A9B
split-complementary
#C6AB3A #3A9BC6 #653AC6
monochromatic
#68591E #97822C #C6AB3A #D4BF69 #E1D399
Accessibility & contrast
On white
2.26
#C6AB3A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.29
#C6AB3A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C6AB3A
9.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C6AB3A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C6AB3A | 1.00 | 2.26 | 9.29 | 9.29 |
| #FFFFFF | 2.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BDA82A
Deuteranopia (green-blind)
#C3B040
Tritanopia (blue-blind)
#D69E94
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #c6ab3a; /* rgb */ color: rgb(198, 171, 58); /* oklch */ color: oklch(74.5% 0.132 95.4);
Tailwind
colors: {
custom: {
50: '#dbc377',
500: '#c6ab3a',
950: '#000000',
},
}SCSS
$custom: #c6ab3a; $custom-light: #dbc377; $custom-dark: #000000;
JSON
{
"hex": "#c6ab3a",
"rgb": {
"r": 198,
"g": 171,
"b": 58
},
"hsl": {
"h": 48.429,
"s": 55.118,
"l": 50.196
},
"oklch": {
"l": 0.74476,
"c": 0.132,
"h": 95.4
},
"luminance": 0.41437
}Semantic roles & 50–950 ramp
primary
#C6AB3A
secondary
#8F9BCD
accent
#66DE49
background
#FDFBF7
surface
#FBF7ED
border
#D4D0C8
text
#151209
muted
#83817B