#5AAF2D#5AAF2D

#5AAF2D is a light, vivid yellow-green. Relative luminance 0.330; OKLCH L 67.5% C 0.182 H 137.1°. Best body text is #000000 at 7.60:1 contrast (WCAG AA passes).

Color values

HEX#5AAF2D
RGBrgb(90, 175, 45)
HSLhsl(99, 59%, 43%)
HSVhsv(99, 74%, 69%)
CMYKcmyk(48.6%, 0%, 74.3%, 31.4%)
CIE-LABlab(64.18, -48.11, 55.17)
CIE-LCHlch(64.18, 73.20, 131.09°)
OKLaboklab(67.52% -0.1334 0.124)
OKLCHoklch(67.52% 0.182 137.1)
XYZxyz(20.0195, 33.0217, 7.8010)
Luminance0.3302 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AAF2D #822DAF
analogous
#9BAF2D #5AAF2D #2DAF41
triadic
#5AAF2D #2D5AAF #AF2D5A
tetradic
#5AAF2D #2D9BAF #822DAF #AF412D
square
#5AAF2D #2D9BAF #822DAF #AF412D
split-complementary
#5AAF2D #412DAF #AF2D9B
monochromatic
#284E14 #417E20 #5AAF2D #78D049 #9CDD7A

Accessibility & contrast

On white

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

On black

7.60
#5AAF2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AAF2D
7.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AAF2D#FFFFFF#000000##000000
##5AAF2D1.002.767.607.60
#FFFFFF2.761.0021.0021.00
#0000007.6021.001.001.00
##0000007.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A013
Deuteranopia (green-blind)
#AA993A
Tritanopia (blue-blind)
#55A996
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #5aaf2d;
/* rgb */ color: rgb(90, 175, 45);
/* oklch */ color: oklch(67.5% 0.182 137.1);
Tailwind
colors: {
  custom: {
    50: '#90c76f',
    500: '#5aaf2d',
    950: '#000000',
  },
}
SCSS
$custom: #5aaf2d;
$custom-light: #90c76f;
$custom-dark: #000000;
JSON
{
  "hex": "#5aaf2d",
  "rgb": {
    "r": 90,
    "g": 175,
    "b": 45
  },
  "hsl": {
    "h": 99.231,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.67517,
    "c": 0.18217,
    "h": 137.1
  },
  "luminance": 0.33023
}

Semantic roles & 50–950 ramp

primary
#5AAF2D
secondary
#A973C5
accent
#46E2AC
background
#F9FCF7
surface
#F2F8ED
border
#CCD1C8
text
#0D1308
muted
#7E827B

Preview Lab

Preview with #5AAF2D

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

Preview Lab → · Contrast checker → · Palette generator →

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