#A5BF34#A5BF34
#A5BF34 is a light, vivid yellow-green. Relative luminance 0.455; OKLCH L 76.0% C 0.161 H 119.8°. Best body text is #000000 at 10.10:1 contrast (WCAG AA passes).
Color values
| HEX | #A5BF34 |
|---|---|
| RGB | rgb(165, 191, 52) |
| HSL | hsl(71, 57%, 48%) |
| HSV | hsv(71, 73%, 75%) |
| CMYK | cmyk(13.6%, 0%, 72.8%, 25.1%) |
| CIE-LAB | lab(73.23, -27.00, 63.00) |
| CIE-LCH | lch(73.23, 68.55, 113.20°) |
| OKLab | oklab(76% -0.08 0.1399) |
| OKLCH | oklch(76% 0.161 119.8) |
| XYZ | xyz(34.7683, 45.5090, 10.2006) |
| Luminance | 0.4551 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Pea
#A4BF20
ΔE00 1.48
Sick Green
#9DB92C
ΔE00 1.79
Gross Green
#A0BF16
ΔE00 1.94
Bright Olive
#9CBB04
ΔE00 2.60
Snot Green
#9DC100
ΔE00 2.77
Booger
#9BB53C
ΔE00 3.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5BF34 #4E34BF
analogous
#BF9334 #A5BF34 #5FBF34
triadic
#A5BF34 #34A5BF #BF34A5
tetradic
#A5BF34 #34BF93 #4E34BF #BF345F
square
#A5BF34 #34BF93 #4E34BF #BF345F
split-complementary
#A5BF34 #345FBF #9334BF
monochromatic
#525F1A #7B8F27 #A5BF34 #BDD35D #D1E08D
Accessibility & contrast
On white
2.08
#A5BF34 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.10
#A5BF34 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5BF34
10.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5BF34 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5BF34 | 1.00 | 2.08 | 10.10 | 10.10 |
| #FFFFFF | 2.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CBB419
Deuteranopia (green-blind)
#C8B440
Tritanopia (blue-blind)
#AFB5A4
Achromatopsia (no color)
#B4B4B4
Design tokens & code
CSS
--color: #a5bf34; /* rgb */ color: rgb(165, 191, 52); /* oklch */ color: oklch(76.0% 0.161 119.8);
Tailwind
colors: {
custom: {
50: '#c3d275',
500: '#a5bf34',
950: '#000000',
},
}SCSS
$custom: #a5bf34; $custom-light: #c3d275; $custom-dark: #000000;
JSON
{
"hex": "#a5bf34",
"rgb": {
"r": 165,
"g": 191,
"b": 52
},
"hsl": {
"h": 71.223,
"s": 57.202,
"l": 47.647
},
"oklch": {
"l": 0.75996,
"c": 0.1612,
"h": 119.8
},
"luminance": 0.45509
}Semantic roles & 50–950 ramp
primary
#A5BF34
secondary
#9184CA
accent
#47E064
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131409
muted
#82827B