#C6A225#C6A225
#C6A225 is a light, vivid yellow. Relative luminance 0.380; OKLCH L 72.5% C 0.138 H 91.4°. Best body text is #000000 at 8.60:1 contrast (WCAG AA passes).
Color values
| HEX | #C6A225 |
|---|---|
| RGB | rgb(198, 162, 37) |
| HSL | hsl(47, 69%, 46%) |
| HSV | hsv(47, 81%, 78%) |
| CMYK | cmyk(0%, 18.2%, 81.3%, 22.4%) |
| CIE-LAB | lab(68.01, 1.48, 64.13) |
| CIE-LCH | lch(68.01, 64.15, 88.68°) |
| OKLab | oklab(72.48% -0.0033 0.1382) |
| OKLCH | oklch(72.48% 0.138 91.4) |
| XYZ | xyz(36.5452, 37.9823, 7.1564) |
| Luminance | 0.3798 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ocher
#BF9B0C
ΔE00 2.27
Ocre
#C69C04
ΔE00 2.41
Yellow Ochre
#CB9D06
ΔE00 2.99
Burnt Yellow
#D5AB09
ΔE00 3.76
Yellow Brown
#B79400
ΔE00 4.39
Dark Gold
#B59410
ΔE00 4.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C6A225 #2549C6
analogous
#C65125 #C6A225 #99C625
triadic
#C6A225 #25C6A2 #A225C6
tetradic
#C6A225 #25C651 #2549C6 #C62599
square
#C6A225 #25C651 #2549C6 #C62599
split-complementary
#C6A225 #2599C6 #5125C6
monochromatic
#5F4E12 #92781B #C6A225 #DDBD4B #E7D07E
Accessibility & contrast
On white
2.44
#C6A225 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.60
#C6A225 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C6A225
8.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C6A225 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C6A225 | 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)
#B5A000
Deuteranopia (green-blind)
#BEAA2D
Tritanopia (blue-blind)
#D7948B
Achromatopsia (no color)
#A6A6A6
Design tokens & code
CSS
--color: #c6a225; /* rgb */ color: rgb(198, 162, 37); /* oklch */ color: oklch(72.5% 0.138 91.4);
Tailwind
colors: {
custom: {
50: '#dcbd6b',
500: '#c6a225',
950: '#000000',
},
}SCSS
$custom: #c6a225; $custom-light: #dcbd6b; $custom-dark: #000000;
JSON
{
"hex": "#c6a225",
"rgb": {
"r": 198,
"g": 162,
"b": 37
},
"hsl": {
"h": 46.584,
"s": 68.511,
"l": 46.078
},
"oklch": {
"l": 0.72482,
"c": 0.13827,
"h": 91.4
},
"luminance": 0.3798
}Semantic roles & 50–950 ramp
primary
#C6A225
secondary
#778BCF
accent
#64EB3C
background
#FEFBF6
surface
#FCF6EC
border
#D5D0C7
text
#161207
muted
#84817A