#C8A92F#C8A92F
#C8A92F is a light, vivid yellow. Relative luminance 0.409; OKLCH L 74.2% C 0.138 H 94.0°. Best body text is #000000 at 9.17:1 contrast (WCAG AA passes).
Color values
| HEX | #C8A92F |
|---|---|
| RGB | rgb(200, 169, 47) |
| HSL | hsl(48, 62%, 48%) |
| HSV | hsv(48, 77%, 78%) |
| CMYK | cmyk(0%, 15.5%, 76.5%, 21.6%) |
| CIE-LAB | lab(70.08, -1.01, 62.78) |
| CIE-LCH | lch(70.08, 62.79, 90.92°) |
| OKLab | oklab(74.18% -0.0096 0.1373) |
| OKLCH | oklch(74.18% 0.138 94) |
| XYZ | xyz(38.5226, 40.8628, 8.5470) |
| Luminance | 0.4086 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Burnt Yellow
#D5AB09
ΔE00 3.70
Brownish Yellow
#C9B003
ΔE00 3.81
Mustard
#DBB42C
ΔE00 4.09
Ocher
#BF9B0C
ΔE00 4.22
Mustard (survey)
#CEB301
ΔE00 4.26
Muddy Yellow
#BFAC05
ΔE00 4.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C8A92F #2F4EC8
analogous
#C85C2F #C8A92F #9AC82F
triadic
#C8A92F #2FC8A9 #A92FC8
tetradic
#C8A92F #2FC85C #2F4EC8 #C82F9A
square
#C8A92F #2FC85C #2F4EC8 #C82F9A
split-complementary
#C8A92F #2F9AC8 #5C2FC8
monochromatic
#655518 #967F23 #C8A92F #D9BF5C #E4D38D
Accessibility & contrast
On white
2.29
#C8A92F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.17
#C8A92F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C8A92F
9.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C8A92F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C8A92F | 1.00 | 2.29 | 9.17 | 9.17 |
| #FFFFFF | 2.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BBA617
Deuteranopia (green-blind)
#C3AF37
Tritanopia (blue-blind)
#D89B92
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #c8a92f; /* rgb */ color: rgb(200, 169, 47); /* oklch */ color: oklch(74.2% 0.138 94.0);
Tailwind
colors: {
custom: {
50: '#ddc271',
500: '#c8a92f',
950: '#000000',
},
}SCSS
$custom: #c8a92f; $custom-light: #ddc271; $custom-dark: #000000;
JSON
{
"hex": "#c8a92f",
"rgb": {
"r": 200,
"g": 169,
"b": 47
},
"hsl": {
"h": 47.843,
"s": 61.943,
"l": 48.431
},
"oklch": {
"l": 0.7418,
"c": 0.13763,
"h": 94
},
"luminance": 0.40861
}Semantic roles & 50–950 ramp
primary
#C8A92F
secondary
#8493CF
accent
#64E543
background
#FEFBF7
surface
#FCF7ED
border
#D5D0C8
text
#161208
muted
#84817B