#5AAA30#5AAA30

#5AAA30 is a light, vivid yellow-green. Relative luminance 0.311; OKLCH L 66.2% C 0.174 H 137.0°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#5AAA30
RGBrgb(90, 170, 48)
HSLhsl(99, 56%, 43%)
HSVhsv(99, 72%, 67%)
CMYKcmyk(47.1%, 0%, 71.8%, 33.3%)
CIE-LABlab(62.62, -45.90, 52.50)
CIE-LCHlch(62.62, 69.73, 131.16°)
OKLaboklab(66.24% -0.1273 0.1188)
OKLCHoklch(66.24% 0.174 137)
XYZxyz(19.1241, 31.1353, 7.7977)
Luminance0.3114 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AAA30 #8030AA
analogous
#97AA30 #5AAA30 #30AA43
triadic
#5AAA30 #305AAA #AA305A
tetradic
#5AAA30 #3097AA #8030AA #AA4330
square
#5AAA30 #3097AA #8030AA #AA4330
split-complementary
#5AAA30 #4330AA #AA3097
monochromatic
#274B15 #417A23 #5AAA30 #77CC4B #9BDA7B

Accessibility & contrast

On white

2.91
#5AAA30 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#5AAA30 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AAA30
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AAA30#FFFFFF#000000##000000
##5AAA301.002.917.237.23
#FFFFFF2.911.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09C1C
Deuteranopia (green-blind)
#A5953C
Tritanopia (blue-blind)
#56A492
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #5aaa30;
/* rgb */ color: rgb(90, 170, 48);
/* oklch */ color: oklch(66.2% 0.174 137.0);
Tailwind
colors: {
  custom: {
    50: '#90c470',
    500: '#5aaa30',
    950: '#000000',
  },
}
SCSS
$custom: #5aaa30;
$custom-light: #90c470;
$custom-dark: #000000;
JSON
{
  "hex": "#5aaa30",
  "rgb": {
    "r": 90,
    "g": 170,
    "b": 48
  },
  "hsl": {
    "h": 99.344,
    "s": 55.963,
    "l": 42.745
  },
  "oklch": {
    "l": 0.66244,
    "c": 0.17414,
    "h": 137
  },
  "luminance": 0.31137
}

Semantic roles & 50–950 ramp

primary
#5AAA30
secondary
#A774C2
accent
#49DFAB
background
#F9FCF7
surface
#F2F8ED
border
#CCD1C8
text
#0D1308
muted
#7E827B

Preview Lab

Preview with #5AAA30

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

Preview Lab → · Contrast checker → · Palette generator →

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