#C4A02F#C4A02F
#C4A02F is a light, vivid yellow. Relative luminance 0.371; OKLCH L 71.9% C 0.132 H 90.3°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).
Color values
| HEX | #C4A02F |
|---|---|
| RGB | rgb(196, 160, 47) |
| HSL | hsl(46, 61%, 48%) |
| HSV | hsv(46, 76%, 77%) |
| CMYK | cmyk(0%, 18.4%, 76%, 23.1%) |
| CIE-LAB | lab(67.34, 2.04, 60.07) |
| CIE-LCH | lch(67.34, 60.10, 88.06°) |
| OKLab | oklab(71.93% -0.0006 0.1317) |
| OKLCH | oklch(71.93% 0.132 90.3) |
| XYZ | xyz(35.8509, 37.0849, 7.9586) |
| Luminance | 0.3708 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ocher
#BF9B0C
ΔE00 2.51
Ocre
#C69C04
ΔE00 2.76
Yellow Ochre
#CB9D06
ΔE00 3.28
Dark Gold
#B59410
ΔE00 4.17
Yellow Brown
#B79400
ΔE00 4.21
Brown Yellow
#B29705
ΔE00 4.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C4A02F #2F53C4
analogous
#C4552F #C4A02F #9EC42F
triadic
#C4A02F #2FC4A0 #A02FC4
tetradic
#C4A02F #2FC455 #2F53C4 #C42F9E
square
#C4A02F #2FC455 #2F53C4 #C42F9E
split-complementary
#C4A02F #2F9EC4 #552FC4
monochromatic
#614F17 #937823 #C4A02F #D7B959 #E3CE8A
Accessibility & contrast
On white
2.50
#C4A02F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.42
#C4A02F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C4A02F
8.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C4A02F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C4A02F | 1.00 | 2.50 | 8.42 | 8.42 |
| #FFFFFF | 2.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B39E1B
Deuteranopia (green-blind)
#BBA835
Tritanopia (blue-blind)
#D4928A
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #c4a02f; /* rgb */ color: rgb(196, 160, 47); /* oklch */ color: oklch(71.9% 0.132 90.3);
Tailwind
colors: {
custom: {
50: '#dabb70',
500: '#c4a02f',
950: '#000000',
},
}SCSS
$custom: #c4a02f; $custom-light: #dabb70; $custom-dark: #000000;
JSON
{
"hex": "#c4a02f",
"rgb": {
"r": 196,
"g": 160,
"b": 47
},
"hsl": {
"h": 45.503,
"s": 61.317,
"l": 47.647
},
"oklch": {
"l": 0.71927,
"c": 0.1317,
"h": 90.3
},
"luminance": 0.37083
}Semantic roles & 50–950 ramp
primary
#C4A02F
secondary
#8294CD
accent
#6AE443
background
#FEFBF7
surface
#FCF6ED
border
#D5D0C8
text
#161108
muted
#84807B