#A5BB40#A5BB40

#A5BB40 is a light, vivid yellow-green. Relative luminance 0.439; OKLCH L 75.2% C 0.148 H 118.8°. Best body text is #000000 at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#A5BB40
RGBrgb(165, 187, 64)
HSLhsl(71, 49%, 49%)
HSVhsv(71, 66%, 73%)
CMYKcmyk(11.8%, 0%, 65.8%, 26.7%)
CIE-LABlab(72.17, -24.36, 57.41)
CIE-LCHlch(72.17, 62.37, 112.99°)
OKLaboklab(75.17% -0.0716 0.1301)
OKLCHoklch(75.17% 0.148 118.8)
XYZxyz(34.2134, 43.9104, 11.5227)
Luminance0.4391 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5BB40 #5640BB
analogous
#BB9440 #A5BB40 #68BB40
triadic
#A5BB40 #40A5BB #BB40A5
tetradic
#A5BB40 #40BB94 #5640BB #BB4068
square
#A5BB40 #40BB94 #5640BB #BB4068
split-complementary
#A5BB40 #4068BB #9440BB
monochromatic
#556021 #7D8D30 #A5BB40 #BBCD6C #D0DC99

Accessibility & contrast

On white

2.15
#A5BB40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.78
#A5BB40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5BB40
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5BB40#FFFFFF#000000##000000
##A5BB401.002.159.789.78
#FFFFFF2.151.0021.0021.00
#0000009.7821.001.001.00
##0000009.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B12F
Deuteranopia (green-blind)
#C4B149
Tritanopia (blue-blind)
#AEB1A2
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #a5bb40;
/* rgb */ color: rgb(165, 187, 64);
/* oklch */ color: oklch(75.2% 0.148 118.8);
Tailwind
colors: {
  custom: {
    50: '#c3cf7b',
    500: '#a5bb40',
    950: '#000000',
  },
}
SCSS
$custom: #a5bb40;
$custom-light: #c3cf7b;
$custom-dark: #000000;
JSON
{
  "hex": "#a5bb40",
  "rgb": {
    "r": 165,
    "g": 187,
    "b": 64
  },
  "hsl": {
    "h": 70.732,
    "s": 49.004,
    "l": 49.216
  },
  "oklch": {
    "l": 0.75171,
    "c": 0.14847,
    "h": 118.8
  },
  "luminance": 0.4391
}

Semantic roles & 50–950 ramp

primary
#A5BB40
secondary
#998FC8
accent
#4FD968
background
#FCFCF7
surface
#F8F9EE
border
#D1D2C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #A5BB40

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#A5BB40 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva