#C6A22A#C6A22A
#C6A22A is a light, vivid yellow. Relative luminance 0.380; OKLCH L 72.5% C 0.136 H 91.0°. Best body text is #000000 at 8.60:1 contrast (WCAG AA passes).
Color values
| HEX | #C6A22A |
|---|---|
| RGB | rgb(198, 162, 42) |
| HSL | hsl(46, 65%, 47%) |
| HSV | hsv(46, 79%, 78%) |
| CMYK | cmyk(0%, 18.2%, 78.8%, 22.4%) |
| CIE-LAB | lab(68.03, 1.65, 62.54) |
| CIE-LCH | lch(68.03, 62.56, 88.49°) |
| OKLab | oklab(72.51% -0.0024 0.1359) |
| OKLCH | oklch(72.51% 0.136 91) |
| XYZ | xyz(36.6291, 38.0159, 7.5986) |
| Luminance | 0.3801 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ocher
#BF9B0C
ΔE00 2.47
Ocre
#C69C04
ΔE00 2.60
Yellow Ochre
#CB9D06
ΔE00 3.11
Burnt Yellow
#D5AB09
ΔE00 3.99
Yellow Brown
#B79400
ΔE00 4.49
Dark Gold
#B59410
ΔE00 4.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C6A22A #2A4EC6
analogous
#C6542A #C6A22A #9CC62A
triadic
#C6A22A #2AC6A2 #A22AC6
tetradic
#C6A22A #2AC654 #2A4EC6 #C62A9C
square
#C6A22A #2AC654 #2A4EC6 #C62A9C
split-complementary
#C6A22A #2A9CC6 #542AC6
monochromatic
#614F15 #94791F #C6A22A #DABB53 #E5CF85
Accessibility & contrast
On white
2.44
#C6A22A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.60
#C6A22A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C6A22A
8.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C6A22A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C6A22A | 1.00 | 2.44 | 8.60 | 8.60 |
| #FFFFFF | 2.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B5A00F
Deuteranopia (green-blind)
#BEAA31
Tritanopia (blue-blind)
#D7948B
Achromatopsia (no color)
#A6A6A6
Design tokens & code
CSS
--color: #c6a22a; /* rgb */ color: rgb(198, 162, 42); /* oklch */ color: oklch(72.5% 0.136 91.0);
Tailwind
colors: {
custom: {
50: '#dcbd6e',
500: '#c6a22a',
950: '#000000',
},
}SCSS
$custom: #c6a22a; $custom-light: #dcbd6e; $custom-dark: #000000;
JSON
{
"hex": "#c6a22a",
"rgb": {
"r": 198,
"g": 162,
"b": 42
},
"hsl": {
"h": 46.154,
"s": 65,
"l": 47.059
},
"oklch": {
"l": 0.72509,
"c": 0.13588,
"h": 91
},
"luminance": 0.38014
}Semantic roles & 50–950 ramp
primary
#C6A22A
secondary
#7D90CE
accent
#67E840
background
#FEFBF6
surface
#FCF6EC
border
#D5D0C7
text
#161208
muted
#84817B