#C8A83B#C8A83B
#C8A83B is a light, vivid yellow. Relative luminance 0.406; OKLCH L 74.1% C 0.130 H 92.3°. Best body text is #000000 at 9.12:1 contrast (WCAG AA passes).
Color values
| HEX | #C8A83B |
|---|---|
| RGB | rgb(200, 168, 59) |
| HSL | hsl(46, 56%, 51%) |
| HSV | hsv(46, 71%, 78%) |
| CMYK | cmyk(0%, 16%, 70.5%, 21.6%) |
| CIE-LAB | lab(69.90, 0.07, 58.04) |
| CIE-LCH | lch(69.90, 58.04, 89.93°) |
| OKLab | oklab(74.06% -0.0052 0.1296) |
| OKLCH | oklch(74.06% 0.13 92.3) |
| XYZ | xyz(38.6135, 40.6026, 9.9401) |
| Luminance | 0.4060 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Burnt Yellow
#D5AB09
ΔE00 4.43
Ocher
#BF9B0C
ΔE00 4.44
Mustard
#DBB42C
ΔE00 4.65
Ocre
#C69C04
ΔE00 4.71
Desert
#CCAD60
ΔE00 4.89
Yellow Ochre
#CB9D06
ΔE00 5.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C8A83B #3B5BC8
analogous
#C8613B #C8A83B #A1C83B
triadic
#C8A83B #3BC8A8 #A83BC8
tetradic
#C8A83B #3BC861 #3B5BC8 #C83BA1
square
#C8A83B #3BC861 #3B5BC8 #C83BA1
split-complementary
#C8A83B #3BA1C8 #613BC8
monochromatic
#6B591E #9A812B #C8A83B #D5BD6B #E3D29B
Accessibility & contrast
On white
2.30
#C8A83B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.12
#C8A83B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C8A83B
9.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C8A83B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C8A83B | 1.00 | 2.30 | 9.12 | 9.12 |
| #FFFFFF | 2.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BAA52C
Deuteranopia (green-blind)
#C2AF41
Tritanopia (blue-blind)
#D89B92
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #c8a83b; /* rgb */ color: rgb(200, 168, 59); /* oklch */ color: oklch(74.1% 0.130 92.3);
Tailwind
colors: {
custom: {
50: '#ddc177',
500: '#c8a83b',
950: '#000000',
},
}SCSS
$custom: #c8a83b; $custom-light: #ddc177; $custom-dark: #000000;
JSON
{
"hex": "#c8a83b",
"rgb": {
"r": 200,
"g": 168,
"b": 59
},
"hsl": {
"h": 46.383,
"s": 56.175,
"l": 50.784
},
"oklch": {
"l": 0.7406,
"c": 0.12966,
"h": 92.3
},
"luminance": 0.406
}Semantic roles & 50–950 ramp
primary
#C8A83B
secondary
#909ECF
accent
#6BDF48
background
#FEFBF7
surface
#FCF7ED
border
#D5D0C8
text
#161209
muted
#84817B