#C6A431#C6A431
#C6A431 is a light, vivid yellow. Relative luminance 0.388; OKLCH L 73.0% C 0.133 H 91.7°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).
Color values
| HEX | #C6A431 |
|---|---|
| RGB | rgb(198, 164, 49) |
| HSL | hsl(46, 60%, 48%) |
| HSV | hsv(46, 75%, 78%) |
| CMYK | cmyk(0%, 17.2%, 75.3%, 22.4%) |
| CIE-LAB | lab(68.59, 0.86, 60.59) |
| CIE-LCH | lch(68.59, 60.59, 89.19°) |
| OKLab | oklab(72.96% -0.0039 0.1331) |
| OKLCH | oklch(72.96% 0.133 91.7) |
| XYZ | xyz(37.1206, 38.7807, 8.4354) |
| Luminance | 0.3878 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ocher
#BF9B0C
ΔE00 3.14
Ocre
#C69C04
ΔE00 3.43
Yellow Ochre
#CB9D06
ΔE00 3.90
Burnt Yellow
#D5AB09
ΔE00 4.16
Dark Gold
#B59410
ΔE00 5.03
Yellow Brown
#B79400
ΔE00 5.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C6A431 #3153C6
analogous
#C65931 #C6A431 #9DC631
triadic
#C6A431 #31C6A4 #A431C6
tetradic
#C6A431 #31C659 #3153C6 #C6319D
square
#C6A431 #31C659 #3153C6 #C6319D
split-complementary
#C6A431 #319DC6 #5931C6
monochromatic
#645319 #957B25 #C6A431 #D7BB5D #E3D08E
Accessibility & contrast
On white
2.40
#C6A431 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.76
#C6A431 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C6A431
8.76:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C6A431 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C6A431 | 1.00 | 2.40 | 8.76 | 8.76 |
| #FFFFFF | 2.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.76 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.76 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B6A21D
Deuteranopia (green-blind)
#BFAB38
Tritanopia (blue-blind)
#D6968E
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #c6a431; /* rgb */ color: rgb(198, 164, 49); /* oklch */ color: oklch(73.0% 0.133 91.7);
Tailwind
colors: {
custom: {
50: '#dcbe71',
500: '#c6a431',
950: '#000000',
},
}SCSS
$custom: #c6a431; $custom-light: #dcbe71; $custom-dark: #000000;
JSON
{
"hex": "#c6a431",
"rgb": {
"r": 198,
"g": 164,
"b": 49
},
"hsl": {
"h": 46.309,
"s": 60.324,
"l": 48.431
},
"oklch": {
"l": 0.72964,
"c": 0.13318,
"h": 91.7
},
"luminance": 0.38778
}Semantic roles & 50–950 ramp
primary
#C6A431
secondary
#8596CE
accent
#69E344
background
#FEFBF7
surface
#FCF6ED
border
#D5D0C8
text
#161208
muted
#84817B