#5AA123#5AA123

#5AA123 is a light, vivid yellow-green. Relative luminance 0.278; OKLCH L 63.8% C 0.171 H 135.0°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#5AA123
RGBrgb(90, 161, 35)
HSLhsl(94, 64%, 38%)
HSVhsv(94, 78%, 63%)
CMYKcmyk(44.1%, 0%, 78.3%, 36.9%)
CIE-LABlab(59.69, -43.10, 54.22)
CIE-LCHlch(59.69, 69.26, 128.48°)
OKLaboklab(63.82% -0.1206 0.1205)
OKLCHoklch(63.82% 0.171 135)
XYZxyz(17.2643, 27.7837, 6.0429)
Luminance0.2778 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AA123 #6A23A1
analogous
#99A123 #5AA123 #23A12B
triadic
#5AA123 #235AA1 #A1235A
tetradic
#5AA123 #2399A1 #6A23A1 #A12B23
square
#5AA123 #2399A1 #6A23A1 #A12B23
split-complementary
#5AA123 #2B23A1 #A12399
monochromatic
#223C0D #3E6F18 #5AA123 #76D22F #97DD62

Accessibility & contrast

On white

3.20
#5AA123 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#5AA123 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5AA123
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AA123#FFFFFF#000000##000000
##5AA1231.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79300
Deuteranopia (green-blind)
#9E8E31
Tritanopia (blue-blind)
#589B89
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #5aa123;
/* rgb */ color: rgb(90, 161, 35);
/* oklch */ color: oklch(63.8% 0.171 135.0);
Tailwind
colors: {
  custom: {
    50: '#8fbd68',
    500: '#5aa123',
    950: '#000000',
  },
}
SCSS
$custom: #5aa123;
$custom-light: #8fbd68;
$custom-dark: #000000;
JSON
{
  "hex": "#5aa123",
  "rgb": {
    "r": 90,
    "g": 161,
    "b": 35
  },
  "hsl": {
    "h": 93.81,
    "s": 64.286,
    "l": 38.431
  },
  "oklch": {
    "l": 0.63815,
    "c": 0.1705,
    "h": 135
  },
  "luminance": 0.27785
}

Semantic roles & 50–950 ramp

primary
#5AA123
secondary
#965EC2
accent
#41E79E
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #5AA123

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

Preview Lab → · Contrast checker → · Palette generator →

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