#C8AA2F#C8AA2F
#C8AA2F is a light, vivid yellow. Relative luminance 0.412; OKLCH L 74.4% C 0.138 H 94.6°. Best body text is #000000 at 9.25:1 contrast (WCAG AA passes).
Color values
| HEX | #C8AA2F |
|---|---|
| RGB | rgb(200, 170, 47) |
| HSL | hsl(48, 62%, 48%) |
| HSV | hsv(48, 77%, 78%) |
| CMYK | cmyk(0%, 15%, 76.5%, 21.6%) |
| CIE-LAB | lab(70.34, -1.54, 63.02) |
| CIE-LCH | lch(70.34, 63.04, 91.40°) |
| OKLab | oklab(74.39% -0.0111 0.1378) |
| OKLCH | oklch(74.39% 0.138 94.6) |
| XYZ | xyz(38.7094, 41.2363, 8.6093) |
| Luminance | 0.4123 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brownish Yellow
#C9B003
ΔE00 3.50
Burnt Yellow
#D5AB09
ΔE00 3.81
Mustard (survey)
#CEB301
ΔE00 3.96
Muddy Yellow
#BFAC05
ΔE00 3.99
Mustard
#DBB42C
ΔE00 4.04
Dark Yellow
#D5B60A
ΔE00 4.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C8AA2F #2F4DC8
analogous
#C85D2F #C8AA2F #99C82F
triadic
#C8AA2F #2FC8AA #AA2FC8
tetradic
#C8AA2F #2FC85D #2F4DC8 #C82F99
square
#C8AA2F #2FC85D #2F4DC8 #C82F99
split-complementary
#C8AA2F #2F99C8 #5D2FC8
monochromatic
#655618 #968023 #C8AA2F #D9C05C #E4D38D
Accessibility & contrast
On white
2.27
#C8AA2F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.25
#C8AA2F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C8AA2F
9.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C8AA2F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C8AA2F | 1.00 | 2.27 | 9.25 | 9.25 |
| #FFFFFF | 2.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.25 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.25 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BCA717
Deuteranopia (green-blind)
#C4B037
Tritanopia (blue-blind)
#D89C92
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #c8aa2f; /* rgb */ color: rgb(200, 170, 47); /* oklch */ color: oklch(74.4% 0.138 94.6);
Tailwind
colors: {
custom: {
50: '#ddc271',
500: '#c8aa2f',
950: '#000000',
},
}SCSS
$custom: #c8aa2f; $custom-light: #ddc271; $custom-dark: #000000;
JSON
{
"hex": "#c8aa2f",
"rgb": {
"r": 200,
"g": 170,
"b": 47
},
"hsl": {
"h": 48.235,
"s": 61.943,
"l": 48.431
},
"oklch": {
"l": 0.74387,
"c": 0.13826,
"h": 94.6
},
"luminance": 0.41234
}Semantic roles & 50–950 ramp
primary
#C8AA2F
secondary
#8493CF
accent
#63E543
background
#FEFBF7
surface
#FCF7ED
border
#D5D0C8
text
#161208
muted
#84817B