#C8AF3E#C8AF3E
#C8AF3E is a light, vivid yellow. Relative luminance 0.433; OKLCH L 75.5% C 0.132 H 96.5°. Best body text is #000000 at 9.66:1 contrast (WCAG AA passes).
Color values
| HEX | #C8AF3E |
|---|---|
| RGB | rgb(200, 175, 62) |
| HSL | hsl(49, 56%, 51%) |
| HSV | hsv(49, 69%, 78%) |
| CMYK | cmyk(0%, 12.5%, 69%, 21.6%) |
| CIE-LAB | lab(71.75, -3.48, 58.70) |
| CIE-LCH | lch(71.75, 58.81, 93.39°) |
| OKLab | oklab(75.53% -0.015 0.1315) |
| OKLCH | oklch(75.53% 0.132 96.5) |
| XYZ | xyz(40.0208, 43.2891, 10.8041) |
| Luminance | 0.4329 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brownish Yellow
#C9B003
ΔE00 3.83
Muddy Yellow
#BFAC05
ΔE00 4.08
Mustard (survey)
#CEB301
ΔE00 4.23
Mustard
#DBB42C
ΔE00 4.63
Dark Yellow
#D5B60A
ΔE00 4.74
Burnt Yellow
#D5AB09
ΔE00 5.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C8AF3E #3E57C8
analogous
#C86A3E #C8AF3E #9CC83E
triadic
#C8AF3E #3EC8AF #AF3EC8
tetradic
#C8AF3E #3EC86A #3E57C8 #C83E9C
square
#C8AF3E #3EC86A #3E57C8 #C83E9C
split-complementary
#C8AF3E #3E9CC8 #6A3EC8
monochromatic
#6D5F1F #9C882D #C8AF3E #D6C36E #E3D69D
Accessibility & contrast
On white
2.17
#C8AF3E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.66
#C8AF3E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C8AF3E
9.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C8AF3E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C8AF3E | 1.00 | 2.17 | 9.66 | 9.66 |
| #FFFFFF | 2.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0AB2E
Deuteranopia (green-blind)
#C7B344
Tritanopia (blue-blind)
#D8A298
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #c8af3e; /* rgb */ color: rgb(200, 175, 62); /* oklch */ color: oklch(75.5% 0.132 96.5);
Tailwind
colors: {
custom: {
50: '#dcc67a',
500: '#c8af3e',
950: '#000000',
},
}SCSS
$custom: #c8af3e; $custom-light: #dcc67a; $custom-dark: #000000;
JSON
{
"hex": "#c8af3e",
"rgb": {
"r": 200,
"g": 175,
"b": 62
},
"hsl": {
"h": 49.13,
"s": 55.645,
"l": 51.373
},
"oklch": {
"l": 0.75533,
"c": 0.13233,
"h": 96.5
},
"luminance": 0.43287
}Semantic roles & 50–950 ramp
primary
#C8AF3E
secondary
#929ECF
accent
#64DF49
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161309
muted
#84827B