#A5BB42#A5BB42

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

Color values

HEX#A5BB42
RGBrgb(165, 187, 66)
HSLhsl(71, 48%, 50%)
HSVhsv(71, 65%, 73%)
CMYKcmyk(11.8%, 0%, 64.7%, 26.7%)
CIE-LABlab(72.18, -24.23, 56.61)
CIE-LCHlch(72.18, 61.58, 113.17°)
OKLaboklab(75.19% -0.071 0.1287)
OKLCHoklch(75.19% 0.147 118.9)
XYZxyz(34.2713, 43.9336, 11.8278)
Luminance0.4393 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5BB42 #5842BB
analogous
#BB9542 #A5BB42 #69BB42
triadic
#A5BB42 #42A5BB #BB42A5
tetradic
#A5BB42 #42BB95 #5842BB #BB4269
square
#A5BB42 #42BB95 #5842BB #BB4269
split-complementary
#A5BB42 #4269BB #9542BB
monochromatic
#556122 #7D8E32 #A5BB42 #BBCC6E #D0DC9C

Accessibility & contrast

On white

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

On black

9.79
#A5BB42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #A5BB42
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5BB42#FFFFFF#000000##000000
##A5BB421.002.159.799.79
#FFFFFF2.151.0021.0021.00
#0000009.7921.001.001.00
##0000009.7921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a5bb42;
/* rgb */ color: rgb(165, 187, 66);
/* oklch */ color: oklch(75.2% 0.147 118.9);
Tailwind
colors: {
  custom: {
    50: '#c2cf7c',
    500: '#a5bb42',
    950: '#000000',
  },
}
SCSS
$custom: #a5bb42;
$custom-light: #c2cf7c;
$custom-dark: #000000;
JSON
{
  "hex": "#a5bb42",
  "rgb": {
    "r": 165,
    "g": 187,
    "b": 66
  },
  "hsl": {
    "h": 70.909,
    "s": 47.826,
    "l": 49.608
  },
  "oklch": {
    "l": 0.75189,
    "c": 0.14696,
    "h": 118.9
  },
  "luminance": 0.43933
}

Semantic roles & 50–950 ramp

primary
#A5BB42
secondary
#9B91C8
accent
#50D769
background
#FCFCF7
surface
#F8F9EE
border
#D1D2C9
text
#13130A
muted
#82827C

Preview Lab

Preview with #A5BB42

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

Preview Lab → · Contrast checker → · Palette generator →

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