#5AA223#5AA223

#5AA223 is a light, vivid yellow-green. Relative luminance 0.281; OKLCH L 64.1% C 0.172 H 135.1°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#5AA223
RGBrgb(90, 162, 35)
HSLhsl(94, 64%, 39%)
HSVhsv(94, 78%, 64%)
CMYKcmyk(44.4%, 0%, 78.4%, 36.5%)
CIE-LABlab(60.01, -43.51, 54.52)
CIE-LCHlch(60.01, 69.75, 128.59°)
OKLaboklab(64.08% -0.1217 0.1212)
OKLCHoklch(64.08% 0.172 135.1)
XYZxyz(17.4398, 28.1346, 6.1014)
Luminance0.2814 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AA223 #6B23A2
analogous
#99A223 #5AA223 #23A22C
triadic
#5AA223 #235AA2 #A2235A
tetradic
#5AA223 #2399A2 #6B23A2 #A22C23
square
#5AA223 #2399A2 #6B23A2 #A22C23
split-complementary
#5AA223 #2C23A2 #A22399
monochromatic
#223D0D #3E7018 #5AA223 #76D230 #97DD62

Accessibility & contrast

On white

3.17
#5AA223 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#5AA223 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5AA223
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AA223#FFFFFF#000000##000000
##5AA2231.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89400
Deuteranopia (green-blind)
#9F8E31
Tritanopia (blue-blind)
#589C8A
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #5aa223;
/* rgb */ color: rgb(90, 162, 35);
/* oklch */ color: oklch(64.1% 0.172 135.1);
Tailwind
colors: {
  custom: {
    50: '#8fbe68',
    500: '#5aa223',
    950: '#000000',
  },
}
SCSS
$custom: #5aa223;
$custom-light: #8fbe68;
$custom-dark: #000000;
JSON
{
  "hex": "#5aa223",
  "rgb": {
    "r": 90,
    "g": 162,
    "b": 35
  },
  "hsl": {
    "h": 94.016,
    "s": 64.467,
    "l": 38.627
  },
  "oklch": {
    "l": 0.64075,
    "c": 0.17174,
    "h": 135.1
  },
  "luminance": 0.28136
}

Semantic roles & 50–950 ramp

primary
#5AA223
secondary
#975EC2
accent
#40E79F
background
#F9FBF6
surface
#F1F7EB
border
#CBD0C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5AA223

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

Preview Lab → · Contrast checker → · Palette generator →

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