#5AA231#5AA231

#5AA231 is a light, vivid yellow-green. Relative luminance 0.282; OKLCH L 64.2% C 0.163 H 136.3°. Best body text is #000000 at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#5AA231
RGBrgb(90, 162, 49)
HSLhsl(98, 54%, 41%)
HSVhsv(98, 70%, 64%)
CMYKcmyk(44.4%, 0%, 69.8%, 36.5%)
CIE-LABlab(60.10, -42.54, 49.51)
CIE-LCHlch(60.10, 65.27, 130.67°)
OKLaboklab(64.18% -0.1181 0.1127)
OKLCHoklch(64.18% 0.163 136.3)
XYZxyz(17.6907, 28.2350, 7.4229)
Luminance0.2824 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AA231 #7931A2
analogous
#93A231 #5AA231 #31A241
triadic
#5AA231 #315AA2 #A2315A
tetradic
#5AA231 #3193A2 #7931A2 #A24131
square
#5AA231 #3193A2 #7931A2 #A24131
split-complementary
#5AA231 #4131A2 #A23193
monochromatic
#264415 #407323 #5AA231 #77C848 #9AD677

Accessibility & contrast

On white

3.16
#5AA231 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.65
#5AA231 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5AA231
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AA231#FFFFFF#000000##000000
##5AA2311.003.166.656.65
#FFFFFF3.161.0021.0021.00
#0000006.6521.001.001.00
##0000006.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89520
Deuteranopia (green-blind)
#9E8F3B
Tritanopia (blue-blind)
#579C8B
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #5aa231;
/* rgb */ color: rgb(90, 162, 49);
/* oklch */ color: oklch(64.2% 0.163 136.3);
Tailwind
colors: {
  custom: {
    50: '#8fbe6f',
    500: '#5aa231',
    950: '#000000',
  },
}
SCSS
$custom: #5aa231;
$custom-light: #8fbe6f;
$custom-dark: #000000;
JSON
{
  "hex": "#5aa231",
  "rgb": {
    "r": 90,
    "g": 162,
    "b": 49
  },
  "hsl": {
    "h": 98.23,
    "s": 53.555,
    "l": 41.373
  },
  "oklch": {
    "l": 0.64178,
    "c": 0.16327,
    "h": 136.3
  },
  "luminance": 0.28236
}

Semantic roles & 50–950 ramp

primary
#5AA231
secondary
#A271BE
accent
#4BDDA8
background
#F9FBF7
surface
#F1F7ED
border
#CBD0C8
text
#0D1208
muted
#7E817B

Preview Lab

Preview with #5AA231

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

Preview Lab → · Contrast checker → · Palette generator →

#5AA231 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva