#C6A230#C6A230
#C6A230 is a light, vivid yellow. Relative luminance 0.381; OKLCH L 72.5% C 0.133 H 90.5°. Best body text is #000000 at 8.61:1 contrast (WCAG AA passes).
Color values
| HEX | #C6A230 |
|---|---|
| RGB | rgb(198, 162, 48) |
| HSL | hsl(46, 61%, 48%) |
| HSV | hsv(46, 76%, 78%) |
| CMYK | cmyk(0%, 18.2%, 75.8%, 22.4%) |
| CIE-LAB | lab(68.07, 1.89, 60.46) |
| CIE-LCH | lch(68.07, 60.49, 88.21°) |
| OKLab | oklab(72.55% -0.0011 0.1326) |
| OKLCH | oklch(72.55% 0.133 90.5) |
| XYZ | xyz(36.7447, 38.0621, 8.2071) |
| Luminance | 0.3806 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ocher
#BF9B0C
ΔE00 2.83
Ocre
#C69C04
ΔE00 2.93
Yellow Ochre
#CB9D06
ΔE00 3.34
Burnt Yellow
#D5AB09
ΔE00 4.34
Dark Gold
#B59410
ΔE00 4.68
Yellow Brown
#B79400
ΔE00 4.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C6A230 #3054C6
analogous
#C65730 #C6A230 #9FC630
triadic
#C6A230 #30C6A2 #A230C6
tetradic
#C6A230 #30C657 #3054C6 #C6309F
square
#C6A230 #30C657 #3054C6 #C6309F
split-complementary
#C6A230 #309FC6 #5730C6
monochromatic
#635118 #957A24 #C6A230 #D7BA5C #E3CF8D
Accessibility & contrast
On white
2.44
#C6A230 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.61
#C6A230 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C6A230
8.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C6A230 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C6A230 | 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)
#B5A01C
Deuteranopia (green-blind)
#BDAA36
Tritanopia (blue-blind)
#D7948C
Achromatopsia (no color)
#A6A6A6
Design tokens & code
CSS
--color: #c6a230; /* rgb */ color: rgb(198, 162, 48); /* oklch */ color: oklch(72.5% 0.133 90.5);
Tailwind
colors: {
custom: {
50: '#dcbd71',
500: '#c6a230',
950: '#000000',
},
}SCSS
$custom: #c6a230; $custom-light: #dcbd71; $custom-dark: #000000;
JSON
{
"hex": "#c6a230",
"rgb": {
"r": 198,
"g": 162,
"b": 48
},
"hsl": {
"h": 45.6,
"s": 60.976,
"l": 48.235
},
"oklch": {
"l": 0.72547,
"c": 0.13264,
"h": 90.5
},
"luminance": 0.3806
}Semantic roles & 50–950 ramp
primary
#C6A230
secondary
#8496CE
accent
#6AE444
background
#FEFBF7
surface
#FCF6ED
border
#D5D0C8
text
#161208
muted
#84817B