#C4A225#C4A225
#C4A225 is a light, vivid yellow. Relative luminance 0.377; OKLCH L 72.3% C 0.138 H 92.4°. Best body text is #000000 at 8.54:1 contrast (WCAG AA passes).
Color values
| HEX | #C4A225 |
|---|---|
| RGB | rgb(196, 162, 37) |
| HSL | hsl(47, 68%, 46%) |
| HSV | hsv(47, 81%, 77%) |
| CMYK | cmyk(0%, 17.3%, 81.1%, 23.1%) |
| CIE-LAB | lab(67.81, 0.59, 63.88) |
| CIE-LCH | lch(67.81, 63.88, 89.47°) |
| OKLab | oklab(72.28% -0.0057 0.1378) |
| OKLCH | oklch(72.28% 0.138 92.4) |
| XYZ | xyz(36.0213, 37.7122, 7.1318) |
| Luminance | 0.3771 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ocher
#BF9B0C
ΔE00 2.22
Ocre
#C69C04
ΔE00 2.76
Yellow Ochre
#CB9D06
ΔE00 3.48
Burnt Yellow
#D5AB09
ΔE00 4.05
Yellow Brown
#B79400
ΔE00 4.28
Dark Gold
#B59410
ΔE00 4.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C4A225 #2547C4
analogous
#C45325 #C4A225 #96C425
triadic
#C4A225 #25C4A2 #A225C4
tetradic
#C4A225 #25C453 #2547C4 #C42596
square
#C4A225 #25C453 #2547C4 #C42596
split-complementary
#C4A225 #2596C4 #5325C4
monochromatic
#5D4D12 #91771B #C4A225 #DDBD49 #E6D07D
Accessibility & contrast
On white
2.46
#C4A225 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.54
#C4A225 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #C4A225
8.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C4A225 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C4A225 | 1.00 | 2.46 | 8.54 | 8.54 |
| #FFFFFF | 2.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B5A000
Deuteranopia (green-blind)
#BDA92E
Tritanopia (blue-blind)
#D5948B
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #c4a225; /* rgb */ color: rgb(196, 162, 37); /* oklch */ color: oklch(72.3% 0.138 92.4);
Tailwind
colors: {
custom: {
50: '#dbbd6b',
500: '#c4a225',
950: '#000000',
},
}SCSS
$custom: #c4a225; $custom-light: #dbbd6b; $custom-dark: #000000;
JSON
{
"hex": "#c4a225",
"rgb": {
"r": 196,
"g": 162,
"b": 37
},
"hsl": {
"h": 47.17,
"s": 68.24,
"l": 45.686
},
"oklch": {
"l": 0.72278,
"c": 0.13791,
"h": 92.4
},
"luminance": 0.3771
}Semantic roles & 50–950 ramp
primary
#C4A225
secondary
#7689CF
accent
#62EB3D
background
#FEFBF6
surface
#FCF6EC
border
#D5D0C7
text
#161207
muted
#84817A