#C8AF46#C8AF46
#C8AF46 is a light, vivid yellow. Relative luminance 0.434; OKLCH L 75.6% C 0.126 H 95.8°. Best body text is #000000 at 9.68:1 contrast (WCAG AA passes).
Color values
| HEX | #C8AF46 |
|---|---|
| RGB | rgb(200, 175, 70) |
| HSL | hsl(48, 54%, 53%) |
| HSV | hsv(48, 65%, 78%) |
| CMYK | cmyk(0%, 12.5%, 65%, 21.6%) |
| CIE-LAB | lab(71.81, -3.02, 55.39) |
| CIE-LCH | lch(71.81, 55.47, 93.12°) |
| OKLab | oklab(75.6% -0.0127 0.1258) |
| OKLCH | oklch(75.6% 0.126 95.8) |
| XYZ | xyz(40.2567, 43.3835, 12.0466) |
| Luminance | 0.4338 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brownish Yellow
#C9B003
ΔE00 4.77
Desert
#CCAD60
ΔE00 4.87
Muddy Yellow
#BFAC05
ΔE00 4.95
Mustard
#DBB42C
ΔE00 5.04
Mustard (survey)
#CEB301
ΔE00 5.13
Dark Yellow
#D5B60A
ΔE00 5.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C8AF46 #465FC8
analogous
#C86E46 #C8AF46 #A0C846
triadic
#C8AF46 #46C8AF #AF46C8
tetradic
#C8AF46 #46C86E #465FC8 #C846A0
square
#C8AF46 #46C86E #465FC8 #C846A0
split-complementary
#C8AF46 #46A0C8 #6E46C8
monochromatic
#726222 #A18B30 #C8AF46 #D6C375 #E4D8A4
Accessibility & contrast
On white
2.17
#C8AF46 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.68
#C8AF46 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C8AF46
9.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C8AF46 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C8AF46 | 1.00 | 2.17 | 9.68 | 9.68 |
| #FFFFFF | 2.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0AB39
Deuteranopia (green-blind)
#C6B34B
Tritanopia (blue-blind)
#D7A299
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #c8af46; /* rgb */ color: rgb(200, 175, 70); /* oklch */ color: oklch(75.6% 0.126 95.8);
Tailwind
colors: {
custom: {
50: '#dcc67e',
500: '#c8af46',
950: '#000000',
},
}SCSS
$custom: #c8af46; $custom-light: #dcc67e; $custom-dark: #000000;
JSON
{
"hex": "#c8af46",
"rgb": {
"r": 200,
"g": 175,
"b": 70
},
"hsl": {
"h": 48.462,
"s": 54.167,
"l": 52.941
},
"oklch": {
"l": 0.75604,
"c": 0.12642,
"h": 95.8
},
"luminance": 0.43382
}Semantic roles & 50–950 ramp
primary
#C8AF46
secondary
#99A4D1
accent
#67DE4A
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#15130A
muted
#83827C