#5AAB30#5AAB30

#5AAB30 is a light, vivid yellow-green. Relative luminance 0.315; OKLCH L 66.5% C 0.175 H 137.0°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#5AAB30
RGBrgb(90, 171, 48)
HSLhsl(100, 56%, 43%)
HSVhsv(100, 72%, 67%)
CMYKcmyk(47.4%, 0%, 71.9%, 32.9%)
CIE-LABlab(62.94, -46.30, 52.82)
CIE-LCHlch(62.94, 70.24, 131.24°)
OKLaboklab(66.5% -0.1284 0.1195)
OKLCHoklch(66.5% 0.175 137)
XYZxyz(19.3123, 31.5116, 7.8604)
Luminance0.3151 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AAB30 #8130AB
analogous
#97AB30 #5AAB30 #30AB43
triadic
#5AAB30 #305AAB #AB305A
tetradic
#5AAB30 #3097AB #8130AB #AB4330
square
#5AAB30 #3097AB #8130AB #AB4330
split-complementary
#5AAB30 #4330AB #AB3097
monochromatic
#284B15 #417B23 #5AAB30 #78CD4C #9CDA7B

Accessibility & contrast

On white

2.88
#5AAB30 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#5AAB30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AAB30
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AAB30#FFFFFF#000000##000000
##5AAB301.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19D1B
Deuteranopia (green-blind)
#A6963C
Tritanopia (blue-blind)
#55A593
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #5aab30;
/* rgb */ color: rgb(90, 171, 48);
/* oklch */ color: oklch(66.5% 0.175 137.0);
Tailwind
colors: {
  custom: {
    50: '#90c570',
    500: '#5aab30',
    950: '#000000',
  },
}
SCSS
$custom: #5aab30;
$custom-light: #90c570;
$custom-dark: #000000;
JSON
{
  "hex": "#5aab30",
  "rgb": {
    "r": 90,
    "g": 171,
    "b": 48
  },
  "hsl": {
    "h": 99.512,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.66503,
    "c": 0.17538,
    "h": 137
  },
  "luminance": 0.31513
}

Semantic roles & 50–950 ramp

primary
#5AAB30
secondary
#A874C3
accent
#48DFAC
background
#F9FCF7
surface
#F2F8ED
border
#CCD1C8
text
#0D1308
muted
#7E827B

Preview Lab

Preview with #5AAB30

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

Preview Lab → · Contrast checker → · Palette generator →

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