#5AAF34#5AAF34

#5AAF34 is a light, vivid green. Relative luminance 0.331; OKLCH L 67.6% C 0.178 H 137.7°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#5AAF34
RGBrgb(90, 175, 52)
HSLhsl(101, 54%, 45%)
HSVhsv(101, 70%, 69%)
CMYKcmyk(48.6%, 0%, 70.3%, 31.4%)
CIE-LABlab(64.23, -47.59, 52.61)
CIE-LCHlch(64.23, 70.94, 132.13°)
OKLaboklab(67.57% -0.1316 0.1196)
OKLCHoklch(67.57% 0.178 137.7)
XYZxyz(20.1656, 33.0801, 8.5706)
Luminance0.3308 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AAF34 #8934AF
analogous
#98AF34 #5AAF34 #34AF4B
triadic
#5AAF34 #345AAF #AF345A
tetradic
#5AAF34 #3498AF #8934AF #AF4B34
square
#5AAF34 #3498AF #8934AF #AF4B34
split-complementary
#5AAF34 #4B34AF #AF3498
monochromatic
#295118 #428026 #5AAF34 #79CC54 #9EDA83

Accessibility & contrast

On white

2.76
#5AAF34 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.62
#5AAF34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AAF34
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AAF34#FFFFFF#000000##000000
##5AAF341.002.767.627.62
#FFFFFF2.761.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A021
Deuteranopia (green-blind)
#A9993F
Tritanopia (blue-blind)
#54A997
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #5aaf34;
/* rgb */ color: rgb(90, 175, 52);
/* oklch */ color: oklch(67.6% 0.178 137.7);
Tailwind
colors: {
  custom: {
    50: '#90c772',
    500: '#5aaf34',
    950: '#000000',
  },
}
SCSS
$custom: #5aaf34;
$custom-light: #90c772;
$custom-dark: #000000;
JSON
{
  "hex": "#5aaf34",
  "rgb": {
    "r": 90,
    "g": 175,
    "b": 52
  },
  "hsl": {
    "h": 101.463,
    "s": 54.185,
    "l": 44.51
  },
  "oklch": {
    "l": 0.67571,
    "c": 0.17781,
    "h": 137.7
  },
  "luminance": 0.33082
}

Semantic roles & 50–950 ramp

primary
#5AAF34
secondary
#AD7BC4
accent
#4ADEB0
background
#F9FCF7
surface
#F2F8ED
border
#CCD1C8
text
#0D1308
muted
#7E827B

Preview Lab

Preview with #5AAF34

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

Preview Lab → · Contrast checker → · Palette generator →

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