#CAA126#CAA126
#CAA126 is a light, vivid yellow. Relative luminance 0.382; OKLCH L 72.7% C 0.138 H 88.7°. Best body text is #000000 at 8.64:1 contrast (WCAG AA passes).
Color values
| HEX | #CAA126 |
|---|---|
| RGB | rgb(202, 161, 38) |
| HSL | hsl(45, 68%, 47%) |
| HSV | hsv(45, 81%, 79%) |
| CMYK | cmyk(0%, 20.3%, 81.2%, 20.8%) |
| CIE-LAB | lab(68.16, 3.81, 64.11) |
| CIE-LCH | lch(68.16, 64.22, 86.60°) |
| OKLab | oklab(72.7% 0.0032 0.1382) |
| OKLCH | oklch(72.7% 0.138 88.7) |
| XYZ | xyz(37.4542, 38.1888, 7.2318) |
| Luminance | 0.3819 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Yellow Ochre
#CB9D06
ΔE00 1.97
Ocre
#C69C04
ΔE00 1.98
Ocher
#BF9B0C
ΔE00 2.81
Goldenrod
#DAA520
ΔE00 3.61
Burnt Yellow
#D5AB09
ΔE00 3.72
Yellow Brown
#B79400
ΔE00 4.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CAA126 #264FCA
analogous
#CA4F26 #CAA126 #A1CA26
triadic
#CAA126 #26CAA1 #A126CA
tetradic
#CAA126 #26CA4F #264FCA #CA26A1
square
#CAA126 #26CA4F #264FCA #CA26A1
split-complementary
#CAA126 #26A1CA #4F26CA
monochromatic
#634F13 #96781C #CAA126 #DEBA4F #E8CE83
Accessibility & contrast
On white
2.43
#CAA126 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.64
#CAA126 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CAA126
8.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CAA126 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CAA126 | 1.00 | 2.43 | 8.64 | 8.64 |
| #FFFFFF | 2.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B5A003
Deuteranopia (green-blind)
#BFAB2E
Tritanopia (blue-blind)
#DB928A
Achromatopsia (no color)
#A6A6A6
Design tokens & code
CSS
--color: #caa126; /* rgb */ color: rgb(202, 161, 38); /* oklch */ color: oklch(72.7% 0.138 88.7);
Tailwind
colors: {
custom: {
50: '#dfbc6c',
500: '#caa126',
950: '#000000',
},
}SCSS
$custom: #caa126; $custom-light: #dfbc6c; $custom-dark: #000000;
JSON
{
"hex": "#caa126",
"rgb": {
"r": 202,
"g": 161,
"b": 38
},
"hsl": {
"h": 45,
"s": 68.333,
"l": 47.059
},
"oklch": {
"l": 0.72696,
"c": 0.13822,
"h": 88.7
},
"luminance": 0.38186
}Semantic roles & 50–950 ramp
primary
#CAA126
secondary
#7B91D1
accent
#68EB3D
background
#FEFBF6
surface
#FDF6EC
border
#D5D0C7
text
#161107
muted
#84807A