#5AB123#5AB123

#5AB123 is a light, vivid yellow-green. Relative luminance 0.337; OKLCH L 68.0% C 0.190 H 136.6°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#5AB123
RGBrgb(90, 177, 35)
HSLhsl(97, 67%, 42%)
HSVhsv(97, 80%, 69%)
CMYKcmyk(49.2%, 0%, 80.2%, 30.6%)
CIE-LABlab(64.75, -49.49, 58.98)
CIE-LCHlch(64.75, 76.99, 130.00°)
OKLaboklab(67.97% -0.1378 0.1305)
OKLCHoklch(67.97% 0.19 136.6)
XYZxyz(20.2414, 33.7379, 7.0352)
Luminance0.3374 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AB123 #7A23B1
analogous
#A1B123 #5AB123 #23B133
triadic
#5AB123 #235AB1 #B1235A
tetradic
#5AB123 #23A1B1 #7A23B1 #B13323
square
#5AB123 #23A1B1 #7A23B1 #B13323
split-complementary
#5AB123 #3323B1 #B123A1
monochromatic
#264B0F #407E19 #5AB123 #77D839 #9AE26C

Accessibility & contrast

On white

2.71
#5AB123 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#5AB123 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AB123
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AB123#FFFFFF#000000##000000
##5AB1231.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A200
Deuteranopia (green-blind)
#AC9A34
Tritanopia (blue-blind)
#55AA97
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #5ab123;
/* rgb */ color: rgb(90, 177, 35);
/* oklch */ color: oklch(68.0% 0.190 136.6);
Tailwind
colors: {
  custom: {
    50: '#91c96b',
    500: '#5ab123',
    950: '#000000',
  },
}
SCSS
$custom: #5ab123;
$custom-light: #91c96b;
$custom-dark: #000000;
JSON
{
  "hex": "#5ab123",
  "rgb": {
    "r": 90,
    "g": 177,
    "b": 35
  },
  "hsl": {
    "h": 96.761,
    "s": 66.981,
    "l": 41.569
  },
  "oklch": {
    "l": 0.67973,
    "c": 0.18978,
    "h": 136.6
  },
  "luminance": 0.33739
}

Semantic roles & 50–950 ramp

primary
#5AB123
secondary
#A368C8
accent
#3EEAA7
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0E1307
muted
#7E827A

Preview Lab

Preview with #5AB123

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

Preview Lab → · Contrast checker → · Palette generator →

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