#CAA226#CAA226
#CAA226 is a light, vivid yellow. Relative luminance 0.385; OKLCH L 72.9% C 0.139 H 89.3°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).
Color values
| HEX | #CAA226 |
|---|---|
| RGB | rgb(202, 162, 38) |
| HSL | hsl(45, 68%, 47%) |
| HSV | hsv(45, 81%, 79%) |
| CMYK | cmyk(0%, 19.8%, 81.2%, 20.8%) |
| CIE-LAB | lab(68.42, 3.28, 64.33) |
| CIE-LCH | lch(68.42, 64.42, 87.08°) |
| OKLab | oklab(72.9% 0.0017 0.1387) |
| OKLCH | oklch(72.9% 0.139 89.3) |
| XYZ | xyz(37.6296, 38.5397, 7.2903) |
| Luminance | 0.3854 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ocre
#C69C04
ΔE00 2.12
Yellow Ochre
#CB9D06
ΔE00 2.22
Ocher
#BF9B0C
ΔE00 2.79
Burnt Yellow
#D5AB09
ΔE00 3.46
Goldenrod
#DAA520
ΔE00 3.77
Yellow Brown
#B79400
ΔE00 4.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CAA226 #264ECA
analogous
#CA5026 #CAA226 #A0CA26
triadic
#CAA226 #26CAA2 #A226CA
tetradic
#CAA226 #26CA50 #264ECA #CA26A0
square
#CAA226 #26CA50 #264ECA #CA26A0
split-complementary
#CAA226 #26A0CA #5026CA
monochromatic
#634F13 #96791C #CAA226 #DEBB4F #E8CF83
Accessibility & contrast
On white
2.41
#CAA226 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.71
#CAA226 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CAA226
8.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CAA226 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CAA226 | 1.00 | 2.41 | 8.71 | 8.71 |
| #FFFFFF | 2.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B6A002
Deuteranopia (green-blind)
#BFAB2E
Tritanopia (blue-blind)
#DB938B
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #caa226; /* rgb */ color: rgb(202, 162, 38); /* oklch */ color: oklch(72.9% 0.139 89.3);
Tailwind
colors: {
custom: {
50: '#dfbd6c',
500: '#caa226',
950: '#000000',
},
}SCSS
$custom: #caa226; $custom-light: #dfbd6c; $custom-dark: #000000;
JSON
{
"hex": "#caa226",
"rgb": {
"r": 202,
"g": 162,
"b": 38
},
"hsl": {
"h": 45.366,
"s": 68.333,
"l": 47.059
},
"oklch": {
"l": 0.72899,
"c": 0.13867,
"h": 89.3
},
"luminance": 0.38537
}Semantic roles & 50–950 ramp
primary
#CAA226
secondary
#7B90D1
accent
#67EB3D
background
#FEFBF6
surface
#FDF6EC
border
#D5D0C7
text
#161207
muted
#84817A