#A5A126#A5A126
#A5A126 is a light, vivid yellow. Relative luminance 0.336; OKLCH L 69.1% C 0.137 H 107.6°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).
Color values
| HEX | #A5A126 |
|---|---|
| RGB | rgb(165, 161, 38) |
| HSL | hsl(58, 63%, 40%) |
| HSV | hsv(58, 77%, 65%) |
| CMYK | cmyk(0%, 2.4%, 77%, 35.3%) |
| CIE-LAB | lab(64.67, -12.60, 59.66) |
| CIE-LCH | lch(64.67, 60.98, 101.93°) |
| OKLab | oklab(69.11% -0.0413 0.1304) |
| OKLCH | oklch(69.11% 0.137 107.6) |
| XYZ | xyz(28.6129, 33.6300, 6.8174) |
| Luminance | 0.3363 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.98
Puke
#A5A502
ΔE00 2.44
Pea Soup
#929901
ΔE00 4.34
Baby Poop Green
#8F9805
ΔE00 4.95
Pea Soup Green
#94A617
ΔE00 5.36
Puke Green
#9AAE07
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5A126 #262AA5
analogous
#A56126 #A5A126 #6AA526
triadic
#A5A126 #26A5A1 #A126A5
tetradic
#A5A126 #26A561 #262AA5 #A5266A
square
#A5A126 #26A561 #262AA5 #A5266A
split-complementary
#A5A126 #266AA5 #6126A5
monochromatic
#42400F #73701B #A5A126 #D1CC37 #DCD969
Accessibility & contrast
On white
2.72
#A5A126 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.73
#A5A126 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5A126
7.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5A126 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5A126 | 1.00 | 2.72 | 7.73 | 7.73 |
| #FFFFFF | 2.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AF9A06
Deuteranopia (green-blind)
#B19F30
Tritanopia (blue-blind)
#B1968A
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #a5a126; /* rgb */ color: rgb(165, 161, 38); /* oklch */ color: oklch(69.1% 0.137 107.6);
Tailwind
colors: {
custom: {
50: '#c3bc6b',
500: '#a5a126',
950: '#000000',
},
}SCSS
$custom: #a5a126; $custom-light: #c3bc6b; $custom-dark: #000000;
JSON
{
"hex": "#a5a126",
"rgb": {
"r": 165,
"g": 161,
"b": 38
},
"hsl": {
"h": 58.11,
"s": 62.562,
"l": 39.804
},
"oklch": {
"l": 0.69109,
"c": 0.13677,
"h": 107.6
},
"luminance": 0.33629
}Semantic roles & 50–950 ramp
primary
#A5A126
secondary
#6467C3
accent
#47E642
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A