#A5B140#A5B140
#A5B140 is a light, vivid yellow. Relative luminance 0.398; OKLCH L 72.9% C 0.137 H 115.0°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).
Color values
| HEX | #A5B140 |
|---|---|
| RGB | rgb(165, 177, 64) |
| HSL | hsl(66, 47%, 47%) |
| HSV | hsv(66, 64%, 69%) |
| CMYK | cmyk(6.8%, 0%, 63.8%, 30.6%) |
| CIE-LAB | lab(69.34, -19.40, 54.44) |
| CIE-LCH | lch(69.34, 57.79, 109.61°) |
| OKLab | oklab(72.9% -0.0577 0.1238) |
| OKLCH | oklch(72.9% 0.137 115) |
| XYZ | xyz(32.1654, 39.8143, 10.8400) |
| Luminance | 0.3981 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Booger
#9BB53C
ΔE00 3.08
Sick Green
#9DB92C
ΔE00 3.99
Puke Green
#9AAE07
ΔE00 4.07
Sickly Green
#94B21C
ΔE00 4.35
Pea Soup Green
#94A617
ΔE00 4.51
Mustard Green
#A8B504
ΔE00 4.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5B140 #4C40B1
analogous
#B18540 #A5B140 #6CB140
triadic
#A5B140 #40A5B1 #B140A5
tetradic
#A5B140 #40B185 #4C40B1 #B1406C
square
#A5B140 #40B185 #4C40B1 #B1406C
split-complementary
#A5B140 #406CB1 #8540B1
monochromatic
#51571F #7B8430 #A5B140 #BDC866 #D1D893
Accessibility & contrast
On white
2.34
#A5B140 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.96
#A5B140 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5B140
8.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5B140 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5B140 | 1.00 | 2.34 | 8.96 | 8.96 |
| #FFFFFF | 2.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BDA832
Deuteranopia (green-blind)
#BCAA48
Tritanopia (blue-blind)
#AFA79A
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #a5b140; /* rgb */ color: rgb(165, 177, 64); /* oklch */ color: oklch(72.9% 0.137 115.0);
Tailwind
colors: {
custom: {
50: '#c2c87a',
500: '#a5b140',
950: '#000000',
},
}SCSS
$custom: #a5b140; $custom-light: #c2c87a; $custom-dark: #000000;
JSON
{
"hex": "#a5b140",
"rgb": {
"r": 165,
"g": 177,
"b": 64
},
"hsl": {
"h": 66.372,
"s": 46.888,
"l": 47.255
},
"oklch": {
"l": 0.72898,
"c": 0.13659,
"h": 115
},
"luminance": 0.39814
}Semantic roles & 50–950 ramp
primary
#A5B140
secondary
#8F89C3
accent
#51D75F
background
#FCFCF7
surface
#F8F8EE
border
#D1D1C9
text
#13130A
muted
#82827C