#5A9E18#5A9E18

#5A9E18 is a light, vivid yellow-green. Relative luminance 0.267; OKLCH L 63.0% C 0.172 H 134.0°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#5A9E18
RGBrgb(90, 158, 24)
HSLhsl(90, 74%, 36%)
HSVhsv(90, 85%, 62%)
CMYKcmyk(43%, 0%, 84.8%, 38%)
CIE-LABlab(58.69, -42.40, 56.49)
CIE-LCHlch(58.69, 70.63, 126.89°)
OKLaboklab(62.98% -0.1194 0.1237)
OKLCHoklch(62.98% 0.172 134)
XYZxyz(16.6079, 26.6924, 5.1410)
Luminance0.2669 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5A9E18 #5C189E
analogous
#9D9E18 #5A9E18 #189E19
triadic
#5A9E18 #185A9E #9E185A
tetradic
#5A9E18 #189D9E #5C189E #9E1918
square
#5A9E18 #189D9E #5C189E #9E1918
split-complementary
#5A9E18 #19189E #9E189D
monochromatic
#1D3408 #3C6910 #5A9E18 #78D320 #97E44D

Accessibility & contrast

On white

3.31
#5A9E18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#5A9E18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5A9E18
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5A9E18#FFFFFF#000000##000000
##5A9E181.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49100
Deuteranopia (green-blind)
#9B8B29
Tritanopia (blue-blind)
#599786
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #5a9e18;
/* rgb */ color: rgb(90, 158, 24);
/* oklch */ color: oklch(63.0% 0.172 134.0);
Tailwind
colors: {
  custom: {
    50: '#8fbb63',
    500: '#5a9e18',
    950: '#000000',
  },
}
SCSS
$custom: #5a9e18;
$custom-light: #8fbb63;
$custom-dark: #000000;
JSON
{
  "hex": "#5a9e18",
  "rgb": {
    "r": 90,
    "g": 158,
    "b": 24
  },
  "hsl": {
    "h": 90.448,
    "s": 73.626,
    "l": 35.686
  },
  "oklch": {
    "l": 0.62975,
    "c": 0.17187,
    "h": 134
  },
  "luminance": 0.26693
}

Semantic roles & 50–950 ramp

primary
#5A9E18
secondary
#8A4CC6
accent
#38F095
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1206
muted
#7E817A

Preview Lab

Preview with #5A9E18

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

Preview Lab → · Contrast checker → · Palette generator →

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