#5AA523#5AA523

#5AA523 is a light, vivid yellow-green. Relative luminance 0.292; OKLCH L 64.9% C 0.175 H 135.5°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#5AA523
RGBrgb(90, 165, 35)
HSLhsl(95, 65%, 39%)
HSVhsv(95, 79%, 65%)
CMYKcmyk(45.5%, 0%, 78.8%, 35.3%)
CIE-LABlab(60.96, -44.73, 55.42)
CIE-LCHlch(60.96, 71.22, 128.91°)
OKLaboklab(64.86% -0.125 0.1231)
OKLCHoklch(64.86% 0.175 135.5)
XYZxyz(17.9745, 29.2042, 6.2796)
Luminance0.2920 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AA523 #6E23A5
analogous
#9BA523 #5AA523 #23A52D
triadic
#5AA523 #235AA5 #A5235A
tetradic
#5AA523 #239BA5 #6E23A5 #A52D23
square
#5AA523 #239BA5 #6E23A5 #A52D23
split-complementary
#5AA523 #2D23A5 #A5239B
monochromatic
#23400E #3E7318 #5AA523 #76D332 #98DE64

Accessibility & contrast

On white

3.07
#5AA523 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.84
#5AA523 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5AA523
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AA523#FFFFFF#000000##000000
##5AA5231.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9700
Deuteranopia (green-blind)
#A19131
Tritanopia (blue-blind)
#589F8D
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #5aa523;
/* rgb */ color: rgb(90, 165, 35);
/* oklch */ color: oklch(64.9% 0.175 135.5);
Tailwind
colors: {
  custom: {
    50: '#90c069',
    500: '#5aa523',
    950: '#000000',
  },
}
SCSS
$custom: #5aa523;
$custom-light: #90c069;
$custom-dark: #000000;
JSON
{
  "hex": "#5aa523",
  "rgb": {
    "r": 90,
    "g": 165,
    "b": 35
  },
  "hsl": {
    "h": 94.615,
    "s": 65,
    "l": 39.216
  },
  "oklch": {
    "l": 0.64856,
    "c": 0.1754,
    "h": 135.5
  },
  "luminance": 0.29205
}

Semantic roles & 50–950 ramp

primary
#5AA523
secondary
#9A60C4
accent
#40E8A1
background
#F9FBF6
surface
#F2F7EB
border
#CCD0C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5AA523

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

Preview Lab → · Contrast checker → · Palette generator →

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