#C6AB3D#C6AB3D
#C6AB3D is a light, vivid yellow. Relative luminance 0.415; OKLCH L 74.5% C 0.130 H 95.1°. Best body text is #000000 at 9.29:1 contrast (WCAG AA passes).
Color values
| HEX | #C6AB3D |
|---|---|
| RGB | rgb(198, 171, 61) |
| HSL | hsl(48, 55%, 51%) |
| HSV | hsv(48, 69%, 78%) |
| CMYK | cmyk(0%, 13.6%, 69.2%, 22.4%) |
| CIE-LAB | lab(70.50, -2.29, 57.78) |
| CIE-LCH | lch(70.50, 57.83, 92.27°) |
| OKLab | oklab(74.5% -0.0116 0.1294) |
| OKLCH | oklch(74.5% 0.13 95.1) |
| XYZ | xyz(38.6958, 41.4706, 10.3804) |
| Luminance | 0.4147 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brownish Yellow
#C9B003
ΔE00 4.39
Muddy Yellow
#BFAC05
ΔE00 4.49
Mustard
#DBB42C
ΔE00 4.87
Mustard (survey)
#CEB301
ΔE00 4.88
Burnt Yellow
#D5AB09
ΔE00 5.15
Desert
#CCAD60
ΔE00 5.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C6AB3D #3D58C6
analogous
#C6663D #C6AB3D #9CC63D
triadic
#C6AB3D #3DC6AB #AB3DC6
tetradic
#C6AB3D #3DC666 #3D58C6 #C63D9C
square
#C6AB3D #3DC666 #3D58C6 #C63D9C
split-complementary
#C6AB3D #3D9CC6 #663DC6
monochromatic
#6A5B1F #99842D #C6AB3D #D4BF6C #E2D49C
Accessibility & contrast
On white
2.26
#C6AB3D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.29
#C6AB3D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C6AB3D
9.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C6AB3D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C6AB3D | 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)
#BCA82E
Deuteranopia (green-blind)
#C3B043
Tritanopia (blue-blind)
#D69E95
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #c6ab3d; /* rgb */ color: rgb(198, 171, 61); /* oklch */ color: oklch(74.5% 0.130 95.1);
Tailwind
colors: {
custom: {
50: '#dbc379',
500: '#c6ab3d',
950: '#000000',
},
}SCSS
$custom: #c6ab3d; $custom-light: #dbc379; $custom-dark: #000000;
JSON
{
"hex": "#c6ab3d",
"rgb": {
"r": 198,
"g": 171,
"b": 61
},
"hsl": {
"h": 48.175,
"s": 54.582,
"l": 50.784
},
"oklch": {
"l": 0.745,
"c": 0.12995,
"h": 95.1
},
"luminance": 0.41469
}Semantic roles & 50–950 ramp
primary
#C6AB3D
secondary
#919DCE
accent
#67DE4A
background
#FDFBF7
surface
#FBF7EE
border
#D4D0C9
text
#151209
muted
#83817B