#A5A326#A5A326
#A5A326 is a light, vivid yellow. Relative luminance 0.343; OKLCH L 69.6% C 0.139 H 108.6°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).
Color values
| HEX | #A5A326 |
|---|---|
| RGB | rgb(165, 163, 38) |
| HSL | hsl(59, 63%, 40%) |
| HSV | hsv(59, 77%, 65%) |
| CMYK | cmyk(0%, 1.2%, 77%, 35.3%) |
| CIE-LAB | lab(65.23, -13.65, 60.18) |
| CIE-LCH | lch(65.23, 61.70, 102.78°) |
| OKLab | oklab(69.56% -0.0442 0.1315) |
| OKLCH | oklch(69.56% 0.139 108.6) |
| XYZ | xyz(28.9652, 34.3346, 6.9348) |
| Luminance | 0.3433 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.45
Puke
#A5A502
ΔE00 2.06
Pea Soup
#929901
ΔE00 4.40
Pea Soup Green
#94A617
ΔE00 4.82
Baby Poop Green
#8F9805
ΔE00 5.00
Puke Green
#9AAE07
ΔE00 5.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5A326 #2628A5
analogous
#A56326 #A5A326 #68A526
triadic
#A5A326 #26A5A3 #A326A5
tetradic
#A5A326 #26A563 #2628A5 #A52668
square
#A5A326 #26A563 #2628A5 #A52668
split-complementary
#A5A326 #2668A5 #6326A5
monochromatic
#42410F #73721B #A5A326 #D1CF37 #DCDB69
Accessibility & contrast
On white
2.67
#A5A326 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.87
#A5A326 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5A326
7.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5A326 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5A326 | 1.00 | 2.67 | 7.87 | 7.87 |
| #FFFFFF | 2.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B19C04
Deuteranopia (green-blind)
#B3A030
Tritanopia (blue-blind)
#B1988C
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #a5a326; /* rgb */ color: rgb(165, 163, 38); /* oklch */ color: oklch(69.6% 0.139 108.6);
Tailwind
colors: {
custom: {
50: '#c3be6b',
500: '#a5a326',
950: '#000000',
},
}SCSS
$custom: #a5a326; $custom-light: #c3be6b; $custom-dark: #000000;
JSON
{
"hex": "#a5a326",
"rgb": {
"r": 165,
"g": 163,
"b": 38
},
"hsl": {
"h": 59.055,
"s": 62.562,
"l": 39.804
},
"oklch": {
"l": 0.69556,
"c": 0.13871,
"h": 108.6
},
"luminance": 0.34334
}Semantic roles & 50–950 ramp
primary
#A5A326
secondary
#6466C3
accent
#45E642
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A