#5AA823#5AA823

#5AA823 is a light, vivid yellow-green. Relative luminance 0.303; OKLCH L 65.6% C 0.179 H 135.8°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#5AA823
RGBrgb(90, 168, 35)
HSLhsl(95, 66%, 40%)
HSVhsv(95, 79%, 66%)
CMYKcmyk(46.4%, 0%, 79.2%, 34.1%)
CIE-LABlab(61.91, -45.94, 56.32)
CIE-LCHlch(61.91, 72.68, 129.21°)
OKLaboklab(65.64% -0.1282 0.1249)
OKLCHoklch(65.64% 0.179 135.8)
XYZxyz(18.5220, 30.2991, 6.4621)
Luminance0.3030 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AA823 #7123A8
analogous
#9DA823 #5AA823 #23A82F
triadic
#5AA823 #235AA8 #A8235A
tetradic
#5AA823 #239DA8 #7123A8 #A82F23
square
#5AA823 #239DA8 #7123A8 #A82F23
split-complementary
#5AA823 #2F23A8 #A8239D
monochromatic
#24430E #3F7518 #5AA823 #76D534 #98DF66

Accessibility & contrast

On white

2.97
#5AA823 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#5AA823 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AA823
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AA823#FFFFFF#000000##000000
##5AA8231.002.977.067.06
#FFFFFF2.971.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A00
Deuteranopia (green-blind)
#A49332
Tritanopia (blue-blind)
#57A28F
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #5aa823;
/* rgb */ color: rgb(90, 168, 35);
/* oklch */ color: oklch(65.6% 0.179 135.8);
Tailwind
colors: {
  custom: {
    50: '#90c269',
    500: '#5aa823',
    950: '#000000',
  },
}
SCSS
$custom: #5aa823;
$custom-light: #90c269;
$custom-dark: #000000;
JSON
{
  "hex": "#5aa823",
  "rgb": {
    "r": 90,
    "g": 168,
    "b": 35
  },
  "hsl": {
    "h": 95.188,
    "s": 65.517,
    "l": 39.804
  },
  "oklch": {
    "l": 0.65636,
    "c": 0.17904,
    "h": 135.8
  },
  "luminance": 0.303
}

Semantic roles & 50–950 ramp

primary
#5AA823
secondary
#9C62C5
accent
#3FE8A3
background
#F9FCF6
surface
#F2F8EB
border
#CCD1C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5AA823

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

Preview Lab → · Contrast checker → · Palette generator →

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