#A5B040#A5B040
#A5B040 is a light, vivid yellow. Relative luminance 0.394; OKLCH L 72.7% C 0.135 H 114.6°. Best body text is #000000 at 8.88:1 contrast (WCAG AA passes).
Color values
| HEX | #A5B040 |
|---|---|
| RGB | rgb(165, 176, 64) |
| HSL | hsl(66, 47%, 47%) |
| HSV | hsv(66, 64%, 69%) |
| CMYK | cmyk(6.2%, 0%, 63.6%, 31%) |
| CIE-LAB | lab(69.05, -18.89, 54.14) |
| CIE-LCH | lch(69.05, 57.34, 109.24°) |
| OKLab | oklab(72.67% -0.0563 0.1232) |
| OKLCH | oklch(72.67% 0.135 114.6) |
| XYZ | xyz(31.9686, 39.4207, 10.7744) |
| Luminance | 0.3942 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Booger
#9BB53C
ΔE00 3.35
Puke Green
#9AAE07
ΔE00 4.13
Sick Green
#9DB92C
ΔE00 4.29
Pea Soup Green
#94A617
ΔE00 4.43
Sickly Green
#94B21C
ΔE00 4.54
Barf Green
#94AC02
ΔE00 4.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5B040 #4B40B0
analogous
#B08340 #A5B040 #6DB040
triadic
#A5B040 #40A5B0 #B040A5
tetradic
#A5B040 #40B083 #4B40B0 #B0406D
square
#A5B040 #40B083 #4B40B0 #B0406D
split-complementary
#A5B040 #406DB0 #8340B0
monochromatic
#51561F #7B8330 #A5B040 #BEC766 #D1D893
Accessibility & contrast
On white
2.36
#A5B040 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.88
#A5B040 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5B040
8.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5B040 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5B040 | 1.00 | 2.36 | 8.88 | 8.88 |
| #FFFFFF | 2.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BCA832
Deuteranopia (green-blind)
#BCAA47
Tritanopia (blue-blind)
#AFA699
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #a5b040; /* rgb */ color: rgb(165, 176, 64); /* oklch */ color: oklch(72.7% 0.135 114.6);
Tailwind
colors: {
custom: {
50: '#c2c77a',
500: '#a5b040',
950: '#000000',
},
}SCSS
$custom: #a5b040; $custom-light: #c2c77a; $custom-dark: #000000;
JSON
{
"hex": "#a5b040",
"rgb": {
"r": 165,
"g": 176,
"b": 64
},
"hsl": {
"h": 65.893,
"s": 46.667,
"l": 47.059
},
"oklch": {
"l": 0.72672,
"c": 0.13542,
"h": 114.6
},
"luminance": 0.3942
}Semantic roles & 50–950 ramp
primary
#A5B040
secondary
#8F89C3
accent
#51D65F
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C