#5AA327#5AA327

#5AA327 is a light, vivid yellow-green. Relative luminance 0.285; OKLCH L 64.4% C 0.171 H 135.5°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#5AA327
RGBrgb(90, 163, 39)
HSLhsl(95, 61%, 40%)
HSVhsv(95, 76%, 64%)
CMYKcmyk(44.8%, 0%, 76.1%, 36.1%)
CIE-LABlab(60.35, -43.68, 53.51)
CIE-LCHlch(60.35, 69.07, 129.22°)
OKLaboklab(64.36% -0.1219 0.1197)
OKLCHoklch(64.36% 0.171 135.5)
XYZxyz(17.6794, 28.5135, 6.4911)
Luminance0.2852 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AA327 #7027A3
analogous
#98A327 #5AA327 #27A332
triadic
#5AA327 #275AA3 #A3275A
tetradic
#5AA327 #2798A3 #7027A3 #A33227
square
#5AA327 #2798A3 #7027A3 #A33227
split-complementary
#5AA327 #3227A3 #A32798
monochromatic
#23400F #3F721B #5AA327 #76CF38 #98DB69

Accessibility & contrast

On white

3.13
#5AA327 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#5AA327 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5AA327
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AA327#FFFFFF#000000##000000
##5AA3271.003.136.706.70
#FFFFFF3.131.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9950B
Deuteranopia (green-blind)
#9F8F34
Tritanopia (blue-blind)
#589D8B
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #5aa327;
/* rgb */ color: rgb(90, 163, 39);
/* oklch */ color: oklch(64.4% 0.171 135.5);
Tailwind
colors: {
  custom: {
    50: '#8fbf6a',
    500: '#5aa327',
    950: '#000000',
  },
}
SCSS
$custom: #5aa327;
$custom-light: #8fbf6a;
$custom-dark: #000000;
JSON
{
  "hex": "#5aa327",
  "rgb": {
    "r": 90,
    "g": 163,
    "b": 39
  },
  "hsl": {
    "h": 95.323,
    "s": 61.386,
    "l": 39.608
  },
  "oklch": {
    "l": 0.64361,
    "c": 0.1708,
    "h": 135.5
  },
  "luminance": 0.28515
}

Semantic roles & 50–950 ramp

primary
#5AA327
secondary
#9B64C1
accent
#43E4A2
background
#F9FBF6
surface
#F1F7EC
border
#CBD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5AA327

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

Preview Lab → · Contrast checker → · Palette generator →

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