#5AC120#5AC120

#5AC120 is a light, highly saturated yellow-green. Relative luminance 0.404; OKLCH L 72.1% C 0.209 H 137.5°. Best body text is #000000 at 9.08:1 contrast (WCAG AA passes).

Color values

HEX#5AC120
RGBrgb(90, 193, 32)
HSLhsl(98, 72%, 44%)
HSVhsv(98, 83%, 76%)
CMYKcmyk(53.4%, 0%, 83.4%, 24.3%)
CIE-LABlab(69.76, -55.65, 64.36)
CIE-LCHlch(69.76, 85.08, 130.85°)
OKLaboklab(72.1% -0.1544 0.1414)
OKLCHoklch(72.1% 0.209 137.5)
XYZxyz(23.5463, 40.4160, 7.9265)
Luminance0.4042 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AC120 #8720C1
analogous
#ABC120 #5AC120 #20C136
triadic
#5AC120 #205AC1 #C1205A
tetradic
#5AC120 #20ABC1 #8720C1 #C13620
square
#5AC120 #20ABC1 #8720C1 #C13620
split-complementary
#5AC120 #3620C1 #C120AB
monochromatic
#29580F #428D17 #5AC120 #79DF3F #9DE874

Accessibility & contrast

On white

2.31
#5AC120 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.08
#5AC120 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #5AC120
9.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AC120#FFFFFF#000000##000000
##5AC1201.002.319.089.08
#FFFFFF2.311.0021.0021.00
#0000009.0821.001.001.00
##0000009.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B000
Deuteranopia (green-blind)
#BAA735
Tritanopia (blue-blind)
#52BAA4
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #5ac120;
/* rgb */ color: rgb(90, 193, 32);
/* oklch */ color: oklch(72.1% 0.209 137.5);
Tailwind
colors: {
  custom: {
    50: '#93d46c',
    500: '#5ac120',
    950: '#000000',
  },
}
SCSS
$custom: #5ac120;
$custom-light: #93d46c;
$custom-dark: #000000;
JSON
{
  "hex": "#5ac120",
  "rgb": {
    "r": 90,
    "g": 193,
    "b": 32
  },
  "hsl": {
    "h": 98.385,
    "s": 71.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.72097,
    "c": 0.20939,
    "h": 137.5
  },
  "luminance": 0.40418
}

Semantic roles & 50–950 ramp

primary
#5AC120
secondary
#AC6ECF
accent
#3AEEAD
background
#F9FDF6
surface
#F2FAEC
border
#CCD3C7
text
#0E1408
muted
#7E837A

Preview Lab

Preview with #5AC120

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

Preview Lab → · Contrast checker → · Palette generator →

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