#C3A23F#C3A23F
#C3A23F is a light, vivid yellow. Relative luminance 0.378; OKLCH L 72.4% C 0.122 H 90.4°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).
Color values
| HEX | #C3A23F |
|---|---|
| RGB | rgb(195, 162, 63) |
| HSL | hsl(45, 52%, 51%) |
| HSV | hsv(45, 68%, 76%) |
| CMYK | cmyk(0%, 16.9%, 67.7%, 23.5%) |
| CIE-LAB | lab(67.88, 1.32, 54.12) |
| CIE-LCH | lch(67.88, 54.14, 88.61°) |
| OKLab | oklab(72.36% -0.0008 0.1221) |
| OKLCH | oklch(72.36% 0.122 90.4) |
| XYZ | xyz(36.3251, 37.8038, 10.0852) |
| Luminance | 0.3780 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ocher
#BF9B0C
ΔE00 4.10
Ocre
#C69C04
ΔE00 4.49
Desert
#CCAD60
ΔE00 4.63
Yellow Ochre
#CB9D06
ΔE00 4.88
Sandy Brown
#C4A661
ΔE00 4.91
Dark Gold
#B59410
ΔE00 5.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C3A23F #3F60C3
analogous
#C3603F #C3A23F #A2C33F
triadic
#C3A23F #3FC3A2 #A23FC3
tetradic
#C3A23F #3FC360 #3F60C3 #C33FA2
square
#C3A23F #3FC360 #3F60C3 #C33FA2
split-complementary
#C3A23F #3FA2C3 #603FC3
monochromatic
#675620 #967C2F #C3A23F #D2B96E #E0CF9C
Accessibility & contrast
On white
2.45
#C3A23F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.56
#C3A23F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C3A23F
8.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C3A23F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C3A23F | 1.00 | 2.45 | 8.56 | 8.56 |
| #FFFFFF | 2.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B3A033
Deuteranopia (green-blind)
#BCA944
Tritanopia (blue-blind)
#D3958D
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #c3a23f; /* rgb */ color: rgb(195, 162, 63); /* oklch */ color: oklch(72.4% 0.122 90.4);
Tailwind
colors: {
custom: {
50: '#d9bd79',
500: '#c3a23f',
950: '#000000',
},
}SCSS
$custom: #c3a23f; $custom-light: #d9bd79; $custom-dark: #000000;
JSON
{
"hex": "#c3a23f",
"rgb": {
"r": 195,
"g": 162,
"b": 63
},
"hsl": {
"h": 45,
"s": 52.381,
"l": 50.588
},
"oklch": {
"l": 0.72362,
"c": 0.12213,
"h": 90.4
},
"luminance": 0.37802
}Semantic roles & 50–950 ramp
primary
#C3A23F
secondary
#92A0CC
accent
#70DC4C
background
#FDFBF7
surface
#FBF6EE
border
#D4D0C9
text
#151209
muted
#83817B