#C8AF3F#C8AF3F
#C8AF3F is a light, vivid yellow. Relative luminance 0.433; OKLCH L 75.5% C 0.132 H 96.4°. Best body text is #000000 at 9.66:1 contrast (WCAG AA passes).
Color values
| HEX | #C8AF3F |
|---|---|
| RGB | rgb(200, 175, 63) |
| HSL | hsl(49, 55%, 52%) |
| HSV | hsv(49, 69%, 78%) |
| CMYK | cmyk(0%, 12.5%, 68.5%, 21.6%) |
| CIE-LAB | lab(71.76, -3.42, 58.30) |
| CIE-LCH | lch(71.76, 58.40, 93.36°) |
| OKLab | oklab(75.54% -0.0147 0.1308) |
| OKLCH | oklch(75.54% 0.132 96.4) |
| XYZ | xyz(40.0485, 43.3002, 10.9500) |
| Luminance | 0.4330 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brownish Yellow
#C9B003
ΔE00 3.95
Muddy Yellow
#BFAC05
ΔE00 4.18
Mustard (survey)
#CEB301
ΔE00 4.34
Mustard
#DBB42C
ΔE00 4.67
Dark Yellow
#D5B60A
ΔE00 4.83
Burnt Yellow
#D5AB09
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C8AF3F #3F58C8
analogous
#C86B3F #C8AF3F #9DC83F
triadic
#C8AF3F #3FC8AF #AF3FC8
tetradic
#C8AF3F #3FC86B #3F58C8 #C83F9D
square
#C8AF3F #3FC86B #3F58C8 #C83F9D
split-complementary
#C8AF3F #3F9DC8 #6B3FC8
monochromatic
#6D5F1F #9D882D #C8AF3F #D6C36F #E3D79E
Accessibility & contrast
On white
2.17
#C8AF3F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.66
#C8AF3F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C8AF3F
9.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C8AF3F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C8AF3F | 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)
#C0AB30
Deuteranopia (green-blind)
#C7B345
Tritanopia (blue-blind)
#D8A298
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #c8af3f; /* rgb */ color: rgb(200, 175, 63); /* oklch */ color: oklch(75.5% 0.132 96.4);
Tailwind
colors: {
custom: {
50: '#dcc67a',
500: '#c8af3f',
950: '#000000',
},
}SCSS
$custom: #c8af3f; $custom-light: #dcc67a; $custom-dark: #000000;
JSON
{
"hex": "#c8af3f",
"rgb": {
"r": 200,
"g": 175,
"b": 63
},
"hsl": {
"h": 49.051,
"s": 55.466,
"l": 51.569
},
"oklch": {
"l": 0.75541,
"c": 0.13163,
"h": 96.4
},
"luminance": 0.43298
}Semantic roles & 50–950 ramp
primary
#C8AF3F
secondary
#939ED0
accent
#64DF49
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C