#C8A22F#C8A22F
#C8A22F is a light, vivid yellow. Relative luminance 0.383; OKLCH L 72.7% C 0.134 H 89.5°. Best body text is #000000 at 8.66:1 contrast (WCAG AA passes).
Color values
| HEX | #C8A22F |
|---|---|
| RGB | rgb(200, 162, 47) |
| HSL | hsl(45, 62%, 48%) |
| HSV | hsv(45, 77%, 78%) |
| CMYK | cmyk(0%, 19%, 76.5%, 21.6%) |
| CIE-LAB | lab(68.26, 2.72, 61.08) |
| CIE-LCH | lch(68.26, 61.14, 87.45°) |
| OKLab | oklab(72.75% 0.0011 0.1337) |
| OKLCH | oklch(72.75% 0.134 89.5) |
| XYZ | xyz(37.2551, 38.3277, 8.1245) |
| Luminance | 0.3832 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ocre
#C69C04
ΔE00 2.71
Yellow Ochre
#CB9D06
ΔE00 2.93
Ocher
#BF9B0C
ΔE00 2.96
Burnt Yellow
#D5AB09
ΔE00 4.11
Goldenrod
#DAA520
ΔE00 4.33
Yellow Brown
#B79400
ΔE00 4.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C8A22F #2F55C8
analogous
#C8552F #C8A22F #A1C82F
triadic
#C8A22F #2FC8A2 #A22FC8
tetradic
#C8A22F #2FC855 #2F55C8 #C82FA1
square
#C8A22F #2FC855 #2F55C8 #C82FA1
split-complementary
#C8A22F #2FA1C8 #552FC8
monochromatic
#655218 #967A23 #C8A22F #D9BA5C #E4CF8D
Accessibility & contrast
On white
2.42
#C8A22F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.66
#C8A22F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C8A22F
8.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C8A22F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C8A22F | 1.00 | 2.42 | 8.66 | 8.66 |
| #FFFFFF | 2.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B5A01A
Deuteranopia (green-blind)
#BEAB35
Tritanopia (blue-blind)
#D9948C
Achromatopsia (no color)
#A6A6A6
Design tokens & code
CSS
--color: #c8a22f; /* rgb */ color: rgb(200, 162, 47); /* oklch */ color: oklch(72.7% 0.134 89.5);
Tailwind
colors: {
custom: {
50: '#ddbd70',
500: '#c8a22f',
950: '#000000',
},
}SCSS
$custom: #c8a22f; $custom-light: #ddbd70; $custom-dark: #000000;
JSON
{
"hex": "#c8a22f",
"rgb": {
"r": 200,
"g": 162,
"b": 47
},
"hsl": {
"h": 45.098,
"s": 61.943,
"l": 48.431
},
"oklch": {
"l": 0.72745,
"c": 0.13367,
"h": 89.5
},
"luminance": 0.38325
}Semantic roles & 50–950 ramp
primary
#C8A22F
secondary
#8497CF
accent
#6BE543
background
#FEFBF7
surface
#FCF6ED
border
#D5D0C8
text
#161208
muted
#84817B