#C3A42A#C3A42A
#C3A42A is a light, vivid yellow. Relative luminance 0.383; OKLCH L 72.6% C 0.137 H 93.8°. Best body text is #000000 at 8.66:1 contrast (WCAG AA passes).
Color values
| HEX | #C3A42A |
|---|---|
| RGB | rgb(195, 164, 42) |
| HSL | hsl(48, 65%, 46%) |
| HSV | hsv(48, 78%, 76%) |
| CMYK | cmyk(0%, 15.9%, 78.5%, 23.5%) |
| CIE-LAB | lab(68.26, -0.74, 62.64) |
| CIE-LCH | lch(68.26, 62.64, 90.68°) |
| OKLab | oklab(72.62% -0.009 0.1362) |
| OKLCH | oklch(72.62% 0.137 93.8) |
| XYZ | xyz(36.2011, 38.3223, 7.6802) |
| Luminance | 0.3832 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ocher
#BF9B0C
ΔE00 2.97
Ocre
#C69C04
ΔE00 3.71
Burnt Yellow
#D5AB09
ΔE00 4.34
Yellow Ochre
#CB9D06
ΔE00 4.43
Brown Yellow
#B29705
ΔE00 4.46
Brownish Yellow
#C9B003
ΔE00 4.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C3A42A #2A49C3
analogous
#C3582A #C3A42A #96C32A
triadic
#C3A42A #2AC3A4 #A42AC3
tetradic
#C3A42A #2AC358 #2A49C3 #C32A96
square
#C3A42A #2AC358 #2A49C3 #C32A96
split-complementary
#C3A42A #2A96C3 #582AC3
monochromatic
#5E4F14 #917A1F #C3A42A #D9BE51 #E4D183
Accessibility & contrast
On white
2.42
#C3A42A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.66
#C3A42A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C3A42A
8.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C3A42A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C3A42A | 1.00 | 2.42 | 8.66 | 8.66 |
| #FFFFFF | 2.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B6A10E
Deuteranopia (green-blind)
#BEAA32
Tritanopia (blue-blind)
#D3968D
Achromatopsia (no color)
#A6A6A6
Design tokens & code
CSS
--color: #c3a42a; /* rgb */ color: rgb(195, 164, 42); /* oklch */ color: oklch(72.6% 0.137 93.8);
Tailwind
colors: {
custom: {
50: '#dabe6e',
500: '#c3a42a',
950: '#000000',
},
}SCSS
$custom: #c3a42a; $custom-light: #dabe6e; $custom-dark: #000000;
JSON
{
"hex": "#c3a42a",
"rgb": {
"r": 195,
"g": 164,
"b": 42
},
"hsl": {
"h": 47.843,
"s": 64.557,
"l": 46.471
},
"oklch": {
"l": 0.72618,
"c": 0.13651,
"h": 93.8
},
"luminance": 0.3832
}Semantic roles & 50–950 ramp
primary
#C3A42A
secondary
#7B8CCD
accent
#62E840
background
#FEFBF6
surface
#FCF6EC
border
#D5D0C7
text
#151208
muted
#84817B