#C4A02B#C4A02B
#C4A02B is a light, vivid yellow. Relative luminance 0.371; OKLCH L 71.9% C 0.134 H 90.7°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).
Color values
| HEX | #C4A02B |
|---|---|
| RGB | rgb(196, 160, 43) |
| HSL | hsl(46, 64%, 47%) |
| HSV | hsv(46, 78%, 77%) |
| CMYK | cmyk(0%, 18.4%, 78.1%, 23.1%) |
| CIE-LAB | lab(67.32, 1.88, 61.47) |
| CIE-LCH | lch(67.32, 61.50, 88.25°) |
| OKLab | oklab(71.9% -0.0015 0.1339) |
| OKLCH | oklch(71.9% 0.134 90.7) |
| XYZ | xyz(35.7739, 37.0541, 7.5530) |
| Luminance | 0.3705 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ocher
#BF9B0C
ΔE00 2.21
Ocre
#C69C04
ΔE00 2.49
Yellow Ochre
#CB9D06
ΔE00 3.09
Yellow Brown
#B79400
ΔE00 4.04
Dark Gold
#B59410
ΔE00 4.05
Brown Yellow
#B29705
ΔE00 4.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C4A02B #2B4FC4
analogous
#C4532B #C4A02B #9CC42B
triadic
#C4A02B #2BC4A0 #A02BC4
tetradic
#C4A02B #2BC453 #2B4FC4 #C42B9C
square
#C4A02B #2BC453 #2B4FC4 #C42B9C
split-complementary
#C4A02B #2B9CC4 #532BC4
monochromatic
#604E15 #927720 #C4A02B #D9BA53 #E4CE85
Accessibility & contrast
On white
2.50
#C4A02B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.41
#C4A02B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C4A02B
8.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C4A02B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C4A02B | 1.00 | 2.50 | 8.41 | 8.41 |
| #FFFFFF | 2.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B39E13
Deuteranopia (green-blind)
#BBA832
Tritanopia (blue-blind)
#D4928A
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #c4a02b; /* rgb */ color: rgb(196, 160, 43); /* oklch */ color: oklch(71.9% 0.134 90.7);
Tailwind
colors: {
custom: {
50: '#dabb6e',
500: '#c4a02b',
950: '#000000',
},
}SCSS
$custom: #c4a02b; $custom-light: #dabb6e; $custom-dark: #000000;
JSON
{
"hex": "#c4a02b",
"rgb": {
"r": 196,
"g": 160,
"b": 43
},
"hsl": {
"h": 45.882,
"s": 64.017,
"l": 46.863
},
"oklch": {
"l": 0.71901,
"c": 0.13388,
"h": 90.7
},
"luminance": 0.37052
}Semantic roles & 50–950 ramp
primary
#C4A02B
secondary
#7D90CE
accent
#68E741
background
#FEFBF6
surface
#FCF6EC
border
#D5D0C7
text
#161108
muted
#84807B