#5AAF45#5AAF45

#5AAF45 is a light, vivid green. Relative luminance 0.333; OKLCH L 67.7% C 0.165 H 139.8°. Best body text is #000000 at 7.65:1 contrast (WCAG AA passes).

Color values

HEX#5AAF45
RGBrgb(90, 175, 69)
HSLhsl(108, 43%, 48%)
HSVhsv(108, 61%, 69%)
CMYKcmyk(48.6%, 0%, 60.6%, 31.4%)
CIE-LABlab(64.37, -46.00, 45.53)
CIE-LCHlch(64.37, 64.72, 135.29°)
OKLaboklab(67.74% -0.1261 0.1066)
OKLCHoklch(67.74% 0.165 139.8)
XYZxyz(20.6198, 33.2618, 10.9627)
Luminance0.3326 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AAF45 #9A45AF
analogous
#8FAF45 #5AAF45 #45AF65
triadic
#5AAF45 #455AAF #AF455A
tetradic
#5AAF45 #458FAF #9A45AF #AF6545
square
#5AAF45 #458FAF #9A45AF #AF6545
split-complementary
#5AAF45 #6545AF #AF458F
monochromatic
#2D5722 #438334 #5AAF45 #7EC56C #A4D698

Accessibility & contrast

On white

2.74
#5AAF45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.65
#5AAF45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AAF45
7.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AAF45#FFFFFF#000000##000000
##5AAF451.002.747.657.65
#FFFFFF2.741.0021.0021.00
#0000007.6521.001.001.00
##0000007.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A139
Deuteranopia (green-blind)
#A8994D
Tritanopia (blue-blind)
#52AA98
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #5aaf45;
/* rgb */ color: rgb(90, 175, 69);
/* oklch */ color: oklch(67.7% 0.165 139.8);
Tailwind
colors: {
  custom: {
    50: '#8fc77c',
    500: '#5aaf45',
    950: '#000000',
  },
}
SCSS
$custom: #5aaf45;
$custom-light: #8fc77c;
$custom-dark: #000000;
JSON
{
  "hex": "#5aaf45",
  "rgb": {
    "r": 90,
    "g": 175,
    "b": 69
  },
  "hsl": {
    "h": 108.113,
    "s": 43.443,
    "l": 47.843
  },
  "oklch": {
    "l": 0.67739,
    "c": 0.16515,
    "h": 139.8
  },
  "luminance": 0.33263
}

Semantic roles & 50–950 ramp

primary
#5AAF45
secondary
#B88DC2
accent
#55D3BA
background
#F9FCF7
surface
#F1F8EE
border
#CBD1C9
text
#0D130A
muted
#7E827C

Preview Lab

Preview with #5AAF45

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

Preview Lab → · Contrast checker → · Palette generator →

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