#C3A12F#C3A12F
#C3A12F is a light, vivid yellow. Relative luminance 0.373; OKLCH L 72.0% C 0.132 H 91.5°. Best body text is #000000 at 8.46:1 contrast (WCAG AA passes).
Color values
| HEX | #C3A12F |
|---|---|
| RGB | rgb(195, 161, 47) |
| HSL | hsl(46, 61%, 47%) |
| HSV | hsv(46, 76%, 76%) |
| CMYK | cmyk(0%, 17.4%, 75.9%, 23.5%) |
| CIE-LAB | lab(67.50, 1.06, 60.18) |
| CIE-LCH | lch(67.50, 60.19, 88.99°) |
| OKLab | oklab(72.03% -0.0034 0.132) |
| OKLCH | oklch(72.03% 0.132 91.5) |
| XYZ | xyz(35.7657, 37.2993, 8.0044) |
| Luminance | 0.3730 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ocher
#BF9B0C
ΔE00 2.55
Ocre
#C69C04
ΔE00 3.08
Yellow Ochre
#CB9D06
ΔE00 3.71
Dark Gold
#B59410
ΔE00 4.21
Yellow Brown
#B79400
ΔE00 4.30
Brown Yellow
#B29705
ΔE00 4.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C3A12F #2F51C3
analogous
#C3572F #C3A12F #9BC32F
triadic
#C3A12F #2FC3A1 #A12FC3
tetradic
#C3A12F #2FC357 #2F51C3 #C32F9B
square
#C3A12F #2FC357 #2F51C3 #C32F9B
split-complementary
#C3A12F #2F9BC3 #572FC3
monochromatic
#605017 #927823 #C3A12F #D7BA58 #E3CE8A
Accessibility & contrast
On white
2.48
#C3A12F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.46
#C3A12F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C3A12F
8.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C3A12F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C3A12F | 1.00 | 2.48 | 8.46 | 8.46 |
| #FFFFFF | 2.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B39F1A
Deuteranopia (green-blind)
#BCA836
Tritanopia (blue-blind)
#D3938B
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #c3a12f; /* rgb */ color: rgb(195, 161, 47); /* oklch */ color: oklch(72.0% 0.132 91.5);
Tailwind
colors: {
custom: {
50: '#d9bc70',
500: '#c3a12f',
950: '#000000',
},
}SCSS
$custom: #c3a12f; $custom-light: #d9bc70; $custom-dark: #000000;
JSON
{
"hex": "#c3a12f",
"rgb": {
"r": 195,
"g": 161,
"b": 47
},
"hsl": {
"h": 46.216,
"s": 61.157,
"l": 47.451
},
"oklch": {
"l": 0.7203,
"c": 0.13203,
"h": 91.5
},
"luminance": 0.37297
}Semantic roles & 50–950 ramp
primary
#C3A12F
secondary
#8193CD
accent
#68E444
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151108
muted
#83807B