#A5B751#A5B751
#A5B751 is a light, vivid yellow-green. Relative luminance 0.425; OKLCH L 74.4% C 0.129 H 118.0°. Best body text is #000000 at 9.49:1 contrast (WCAG AA passes).
Color values
| HEX | #A5B751 |
|---|---|
| RGB | rgb(165, 183, 81) |
| HSL | hsl(71, 41%, 52%) |
| HSV | hsv(71, 56%, 72%) |
| CMYK | cmyk(9.8%, 0%, 55.7%, 28.2%) |
| CIE-LAB | lab(71.19, -21.09, 48.92) |
| CIE-LCH | lch(71.19, 53.27, 113.32°) |
| OKLab | oklab(74.43% -0.0607 0.1142) |
| OKLCH | oklch(74.43% 0.129 118) |
| XYZ | xyz(33.9362, 42.4607, 14.1909) |
| Luminance | 0.4246 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Light Olive Green
#A4BE5C
ΔE00 2.65
Booger
#9BB53C
ΔE00 2.75
Light Olive
#ACBF69
ΔE00 3.52
Sick Green
#9DB92C
ΔE00 4.23
Avocado (survey)
#90B134
ΔE00 4.42
Tan Green
#A9BE70
ΔE00 4.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5B751 #6351B7
analogous
#B79651 #A5B751 #72B751
triadic
#A5B751 #51A5B7 #B751A5
tetradic
#A5B751 #51B796 #6351B7 #B75172
square
#A5B751 #51B796 #6351B7 #B75172
split-complementary
#A5B751 #5172B7 #9651B7
monochromatic
#5A6429 #818F3B #A5B751 #BBC97C #D2DBA8
Accessibility & contrast
On white
2.21
#A5B751 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.49
#A5B751 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5B751
9.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5B751 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5B751 | 1.00 | 2.21 | 9.49 | 9.49 |
| #FFFFFF | 2.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.49 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.49 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C2AE47
Deuteranopia (green-blind)
#C0AF57
Tritanopia (blue-blind)
#AEAEA1
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #a5b751; /* rgb */ color: rgb(165, 183, 81); /* oklch */ color: oklch(74.4% 0.129 118.0);
Tailwind
colors: {
custom: {
50: '#c2cc85',
500: '#a5b751',
950: '#000000',
},
}SCSS
$custom: #a5b751; $custom-light: #c2cc85; $custom-dark: #000000;
JSON
{
"hex": "#a5b751",
"rgb": {
"r": 165,
"g": 183,
"b": 81
},
"hsl": {
"h": 70.588,
"s": 41.463,
"l": 51.765
},
"oklch": {
"l": 0.74432,
"c": 0.12935,
"h": 118
},
"luminance": 0.4246
}Semantic roles & 50–950 ramp
primary
#A5B751
secondary
#A39CC8
accent
#57D16C
background
#FCFCF8
surface
#F8F8EF
border
#D1D1CA
text
#13130B
muted
#82827C