#C6A233#C6A233
#C6A233 is a light, vivid yellow. Relative luminance 0.381; OKLCH L 72.6% C 0.131 H 90.2°. Best body text is #000000 at 8.62:1 contrast (WCAG AA passes).
Color values
| HEX | #C6A233 |
|---|---|
| RGB | rgb(198, 162, 51) |
| HSL | hsl(45, 59%, 49%) |
| HSV | hsv(45, 74%, 78%) |
| CMYK | cmyk(0%, 18.2%, 74.2%, 22.4%) |
| CIE-LAB | lab(68.09, 2.02, 59.35) |
| CIE-LCH | lch(68.09, 59.38, 88.05°) |
| OKLab | oklab(72.57% -0.0004 0.1309) |
| OKLCH | oklch(72.57% 0.131 90.2) |
| XYZ | xyz(36.8087, 38.0878, 8.5443) |
| Luminance | 0.3809 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ocher
#BF9B0C
ΔE00 3.05
Ocre
#C69C04
ΔE00 3.14
Yellow Ochre
#CB9D06
ΔE00 3.50
Burnt Yellow
#D5AB09
ΔE00 4.56
Dark Gold
#B59410
ΔE00 4.78
Yellow Brown
#B79400
ΔE00 4.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C6A233 #3357C6
analogous
#C65933 #C6A233 #A1C633
triadic
#C6A233 #33C6A2 #A233C6
tetradic
#C6A233 #33C659 #3357C6 #C633A1
square
#C6A233 #33C659 #3357C6 #C633A1
split-complementary
#C6A233 #33A1C6 #5933C6
monochromatic
#65521A #957A26 #C6A233 #D6B960 #E3CF91
Accessibility & contrast
On white
2.44
#C6A233 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.62
#C6A233 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C6A233
8.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C6A233 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C6A233 | 1.00 | 2.44 | 8.62 | 8.62 |
| #FFFFFF | 2.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B5A021
Deuteranopia (green-blind)
#BDAA39
Tritanopia (blue-blind)
#D6948C
Achromatopsia (no color)
#A6A6A6
Design tokens & code
CSS
--color: #c6a233; /* rgb */ color: rgb(198, 162, 51); /* oklch */ color: oklch(72.6% 0.131 90.2);
Tailwind
colors: {
custom: {
50: '#dcbd72',
500: '#c6a233',
950: '#000000',
},
}SCSS
$custom: #c6a233; $custom-light: #dcbd72; $custom-dark: #000000;
JSON
{
"hex": "#c6a233",
"rgb": {
"r": 198,
"g": 162,
"b": 51
},
"hsl": {
"h": 45.306,
"s": 59.036,
"l": 48.824
},
"oklch": {
"l": 0.72568,
"c": 0.13089,
"h": 90.2
},
"luminance": 0.38085
}Semantic roles & 50–950 ramp
primary
#C6A233
secondary
#8799CD
accent
#6CE246
background
#FEFBF7
surface
#FCF6ED
border
#D5D0C8
text
#161208
muted
#84817B