#5AAB2D#5AAB2D

#5AAB2D is a light, vivid yellow-green. Relative luminance 0.315; OKLCH L 66.5% C 0.177 H 136.8°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#5AAB2D
RGBrgb(90, 171, 45)
HSLhsl(99, 58%, 42%)
HSVhsv(99, 74%, 67%)
CMYKcmyk(47.4%, 0%, 73.7%, 32.9%)
CIE-LABlab(62.92, -46.52, 53.91)
CIE-LCHlch(62.92, 71.21, 130.79°)
OKLaboklab(66.48% -0.1291 0.1214)
OKLCHoklch(66.48% 0.177 136.8)
XYZxyz(19.2525, 31.4877, 7.5454)
Luminance0.3149 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AAB2D #7E2DAB
analogous
#99AB2D #5AAB2D #2DAB3F
triadic
#5AAB2D #2D5AAB #AB2D5A
tetradic
#5AAB2D #2D99AB #7E2DAB #AB3F2D
square
#5AAB2D #2D99AB #7E2DAB #AB3F2D
split-complementary
#5AAB2D #3F2DAB #AB2D99
monochromatic
#274A14 #417B20 #5AAB2D #77CE47 #9BDB77

Accessibility & contrast

On white

2.88
#5AAB2D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#5AAB2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AAB2D
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AAB2D#FFFFFF#000000##000000
##5AAB2D1.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C15
Deuteranopia (green-blind)
#A6963A
Tritanopia (blue-blind)
#56A593
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #5aab2d;
/* rgb */ color: rgb(90, 171, 45);
/* oklch */ color: oklch(66.5% 0.177 136.8);
Tailwind
colors: {
  custom: {
    50: '#90c56e',
    500: '#5aab2d',
    950: '#000000',
  },
}
SCSS
$custom: #5aab2d;
$custom-light: #90c56e;
$custom-dark: #000000;
JSON
{
  "hex": "#5aab2d",
  "rgb": {
    "r": 90,
    "g": 171,
    "b": 45
  },
  "hsl": {
    "h": 98.571,
    "s": 58.333,
    "l": 42.353
  },
  "oklch": {
    "l": 0.66481,
    "c": 0.17724,
    "h": 136.8
  },
  "luminance": 0.31489
}

Semantic roles & 50–950 ramp

primary
#5AAB2D
secondary
#A671C3
accent
#46E2AA
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0D1308
muted
#7E827B

Preview Lab

Preview with #5AAB2D

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

Preview Lab → · Contrast checker → · Palette generator →

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