#5AAF40#5AAF40

#5AAF40 is a light, vivid green. Relative luminance 0.332; OKLCH L 67.7% C 0.169 H 139.1°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#5AAF40
RGBrgb(90, 175, 64)
HSLhsl(106, 46%, 47%)
HSVhsv(106, 63%, 69%)
CMYKcmyk(48.6%, 0%, 63.4%, 31.4%)
CIE-LABlab(64.32, -46.51, 47.72)
CIE-LCHlch(64.32, 66.64, 134.27°)
OKLaboklab(67.68% -0.1279 0.1108)
OKLCHoklch(67.68% 0.169 139.1)
XYZxyz(20.4711, 33.2023, 10.1795)
Luminance0.3320 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AAF40 #9540AF
analogous
#92AF40 #5AAF40 #40AF5E
triadic
#5AAF40 #405AAF #AF405A
tetradic
#5AAF40 #4092AF #9540AF #AF5E40
square
#5AAF40 #4092AF #9540AF #AF5E40
split-complementary
#5AAF40 #5E40AF #AF4092
monochromatic
#2C551F #438230 #5AAF40 #7CC765 #A2D792

Accessibility & contrast

On white

2.75
#5AAF40 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#5AAF40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AAF40
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AAF40#FFFFFF#000000##000000
##5AAF401.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A033
Deuteranopia (green-blind)
#A99949
Tritanopia (blue-blind)
#53A998
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #5aaf40;
/* rgb */ color: rgb(90, 175, 64);
/* oklch */ color: oklch(67.7% 0.169 139.1);
Tailwind
colors: {
  custom: {
    50: '#90c779',
    500: '#5aaf40',
    950: '#000000',
  },
}
SCSS
$custom: #5aaf40;
$custom-light: #90c779;
$custom-dark: #000000;
JSON
{
  "hex": "#5aaf40",
  "rgb": {
    "r": 90,
    "g": 175,
    "b": 64
  },
  "hsl": {
    "h": 105.946,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.67684,
    "c": 0.16916,
    "h": 139.1
  },
  "luminance": 0.33204
}

Semantic roles & 50–950 ramp

primary
#5AAF40
secondary
#B588C3
accent
#52D6B7
background
#F9FCF7
surface
#F1F8EE
border
#CBD1C9
text
#0D1309
muted
#7E827B

Preview Lab

Preview with #5AAF40

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

Preview Lab → · Contrast checker → · Palette generator →

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