#C6A12A#C6A12A
#C6A12A is a light, vivid yellow. Relative luminance 0.377; OKLCH L 72.3% C 0.135 H 90.4°. Best body text is #000000 at 8.53:1 contrast (WCAG AA passes).
Color values
| HEX | #C6A12A |
|---|---|
| RGB | rgb(198, 161, 42) |
| HSL | hsl(46, 65%, 47%) |
| HSV | hsv(46, 79%, 78%) |
| CMYK | cmyk(0%, 18.7%, 78.8%, 22.4%) |
| CIE-LAB | lab(67.77, 2.19, 62.31) |
| CIE-LCH | lch(67.77, 62.34, 87.99°) |
| OKLab | oklab(72.3% -0.0008 0.1354) |
| OKLCH | oklch(72.3% 0.135 90.4) |
| XYZ | xyz(36.4537, 37.6650, 7.5401) |
| Luminance | 0.3766 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ocre
#C69C04
ΔE00 2.37
Ocher
#BF9B0C
ΔE00 2.38
Yellow Ochre
#CB9D06
ΔE00 2.85
Burnt Yellow
#D5AB09
ΔE00 4.15
Yellow Brown
#B79400
ΔE00 4.33
Dark Gold
#B59410
ΔE00 4.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C6A12A #2A4FC6
analogous
#C6532A #C6A12A #9DC62A
triadic
#C6A12A #2AC6A1 #A12AC6
tetradic
#C6A12A #2AC653 #2A4FC6 #C62A9D
square
#C6A12A #2AC653 #2A4FC6 #C62A9D
split-complementary
#C6A12A #2A9DC6 #532AC6
monochromatic
#614F15 #94781F #C6A12A #DABA53 #E5CE85
Accessibility & contrast
On white
2.46
#C6A12A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.53
#C6A12A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C6A12A
8.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C6A12A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C6A12A | 1.00 | 2.46 | 8.53 | 8.53 |
| #FFFFFF | 2.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B49F10
Deuteranopia (green-blind)
#BDA931
Tritanopia (blue-blind)
#D7938A
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #c6a12a; /* rgb */ color: rgb(198, 161, 42); /* oklch */ color: oklch(72.3% 0.135 90.4);
Tailwind
colors: {
custom: {
50: '#dcbc6e',
500: '#c6a12a',
950: '#000000',
},
}SCSS
$custom: #c6a12a; $custom-light: #dcbc6e; $custom-dark: #000000;
JSON
{
"hex": "#c6a12a",
"rgb": {
"r": 198,
"g": 161,
"b": 42
},
"hsl": {
"h": 45.769,
"s": 65,
"l": 47.059
},
"oklch": {
"l": 0.72305,
"c": 0.13535,
"h": 90.4
},
"luminance": 0.37663
}Semantic roles & 50–950 ramp
primary
#C6A12A
secondary
#7D91CE
accent
#68E840
background
#FEFBF6
surface
#FCF6EC
border
#D5D0C7
text
#161108
muted
#84807B