#5AA018#5AA018

#5AA018 is a light, vivid yellow-green. Relative luminance 0.274; OKLCH L 63.5% C 0.174 H 134.2°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#5AA018
RGBrgb(90, 160, 24)
HSLhsl(91, 74%, 36%)
HSVhsv(91, 85%, 63%)
CMYKcmyk(43.7%, 0%, 85%, 37.3%)
CIE-LABlab(59.32, -43.23, 57.05)
CIE-LCHlch(59.32, 71.58, 127.15°)
OKLaboklab(63.5% -0.1216 0.1248)
OKLCHoklch(63.5% 0.174 134.2)
XYZxyz(16.9518, 27.3803, 5.2557)
Luminance0.2738 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5AA018 #5E18A0
analogous
#9EA018 #5AA018 #18A01A
triadic
#5AA018 #185AA0 #A0185A
tetradic
#5AA018 #189EA0 #5E18A0 #A01A18
square
#5AA018 #189EA0 #5E18A0 #A01A18
split-complementary
#5AA018 #1A18A0 #A0189E
monochromatic
#1E3608 #3C6B10 #5AA018 #78D520 #97E44E

Accessibility & contrast

On white

3.24
#5AA018 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#5AA018 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5AA018
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5AA018#FFFFFF#000000##000000
##5AA0181.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69200
Deuteranopia (green-blind)
#9D8D2A
Tritanopia (blue-blind)
#599988
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #5aa018;
/* rgb */ color: rgb(90, 160, 24);
/* oklch */ color: oklch(63.5% 0.174 134.2);
Tailwind
colors: {
  custom: {
    50: '#8fbc64',
    500: '#5aa018',
    950: '#000000',
  },
}
SCSS
$custom: #5aa018;
$custom-light: #8fbc64;
$custom-dark: #000000;
JSON
{
  "hex": "#5aa018",
  "rgb": {
    "r": 90,
    "g": 160,
    "b": 24
  },
  "hsl": {
    "h": 90.882,
    "s": 73.913,
    "l": 36.078
  },
  "oklch": {
    "l": 0.63497,
    "c": 0.17427,
    "h": 134.2
  },
  "luminance": 0.27381
}

Semantic roles & 50–950 ramp

primary
#5AA018
secondary
#8C4DC6
accent
#37F197
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1206
muted
#7E817A

Preview Lab

Preview with #5AA018

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

Preview Lab → · Contrast checker → · Palette generator →

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