#C6A231#C6A231
#C6A231 is a light, vivid yellow. Relative luminance 0.381; OKLCH L 72.6% C 0.132 H 90.4°. Best body text is #000000 at 8.61:1 contrast (WCAG AA passes).
Color values
| HEX | #C6A231 |
|---|---|
| RGB | rgb(198, 162, 49) |
| HSL | hsl(46, 60%, 48%) |
| HSV | hsv(46, 75%, 78%) |
| CMYK | cmyk(0%, 18.2%, 75.3%, 22.4%) |
| CIE-LAB | lab(68.07, 1.93, 60.09) |
| CIE-LCH | lch(68.07, 60.12, 88.16°) |
| OKLab | oklab(72.55% -0.0009 0.1321) |
| OKLCH | oklch(72.55% 0.132 90.4) |
| XYZ | xyz(36.7655, 38.0705, 8.3170) |
| Luminance | 0.3807 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ocher
#BF9B0C
ΔE00 2.90
Ocre
#C69C04
ΔE00 3.00
Yellow Ochre
#CB9D06
ΔE00 3.39
Burnt Yellow
#D5AB09
ΔE00 4.41
Dark Gold
#B59410
ΔE00 4.71
Yellow Brown
#B79400
ΔE00 4.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C6A231 #3155C6
analogous
#C65731 #C6A231 #9FC631
triadic
#C6A231 #31C6A2 #A231C6
tetradic
#C6A231 #31C657 #3155C6 #C6319F
square
#C6A231 #31C657 #3155C6 #C6319F
split-complementary
#C6A231 #319FC6 #5731C6
monochromatic
#645219 #957A25 #C6A231 #D7BA5D #E3CF8E
Accessibility & contrast
On white
2.44
#C6A231 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.61
#C6A231 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C6A231
8.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C6A231 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C6A231 | 1.00 | 2.44 | 8.61 | 8.61 |
| #FFFFFF | 2.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B5A01E
Deuteranopia (green-blind)
#BDAA37
Tritanopia (blue-blind)
#D6948C
Achromatopsia (no color)
#A6A6A6
Design tokens & code
CSS
--color: #c6a231; /* rgb */ color: rgb(198, 162, 49); /* oklch */ color: oklch(72.6% 0.132 90.4);
Tailwind
colors: {
custom: {
50: '#dcbd71',
500: '#c6a231',
950: '#000000',
},
}SCSS
$custom: #c6a231; $custom-light: #dcbd71; $custom-dark: #000000;
JSON
{
"hex": "#c6a231",
"rgb": {
"r": 198,
"g": 162,
"b": 49
},
"hsl": {
"h": 45.503,
"s": 60.324,
"l": 48.431
},
"oklch": {
"l": 0.72554,
"c": 0.13207,
"h": 90.4
},
"luminance": 0.38068
}Semantic roles & 50–950 ramp
primary
#C6A231
secondary
#8597CE
accent
#6BE344
background
#FEFBF7
surface
#FCF6ED
border
#D5D0C8
text
#161208
muted
#84817B