#5AB323#5AB323

#5AB323 is a light, vivid yellow-green. Relative luminance 0.345; OKLCH L 68.5% C 0.192 H 136.7°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#5AB323
RGBrgb(90, 179, 35)
HSLhsl(97, 67%, 42%)
HSVhsv(97, 80%, 70%)
CMYKcmyk(49.7%, 0%, 80.4%, 29.8%)
CIE-LABlab(65.38, -50.26, 59.56)
CIE-LCHlch(65.38, 77.94, 130.16°)
OKLaboklab(68.49% -0.1398 0.1317)
OKLCHoklch(68.49% 0.192 136.7)
XYZxyz(20.6393, 34.5338, 7.1679)
Luminance0.3453 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AB323 #7C23B3
analogous
#A2B323 #5AB323 #23B334
triadic
#5AB323 #235AB3 #B3235A
tetradic
#5AB323 #23A2B3 #7C23B3 #B33423
square
#5AB323 #23A2B3 #7C23B3 #B33423
split-complementary
#5AB323 #3423B3 #B323A2
monochromatic
#274D0F #408019 #5AB323 #77D93B #9AE36E

Accessibility & contrast

On white

2.66
#5AB323 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.91
#5AB323 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AB323
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AB323#FFFFFF#000000##000000
##5AB3231.002.667.917.91
#FFFFFF2.661.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A300
Deuteranopia (green-blind)
#AE9C34
Tritanopia (blue-blind)
#55AC99
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #5ab323;
/* rgb */ color: rgb(90, 179, 35);
/* oklch */ color: oklch(68.5% 0.192 136.7);
Tailwind
colors: {
  custom: {
    50: '#91ca6b',
    500: '#5ab323',
    950: '#000000',
  },
}
SCSS
$custom: #5ab323;
$custom-light: #91ca6b;
$custom-dark: #000000;
JSON
{
  "hex": "#5ab323",
  "rgb": {
    "r": 90,
    "g": 179,
    "b": 35
  },
  "hsl": {
    "h": 97.083,
    "s": 67.29,
    "l": 41.961
  },
  "oklch": {
    "l": 0.68491,
    "c": 0.19212,
    "h": 136.7
  },
  "luminance": 0.34535
}

Semantic roles & 50–950 ramp

primary
#5AB323
secondary
#A469C9
accent
#3EEAA8
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0E1307
muted
#7E827A

Preview Lab

Preview with #5AB323

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

Preview Lab → · Contrast checker → · Palette generator →

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