#5B9E18#5B9E18

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

Color values

HEX#5B9E18
RGBrgb(91, 158, 24)
HSLhsl(90, 74%, 36%)
HSVhsv(90, 85%, 62%)
CMYKcmyk(42.4%, 0%, 84.8%, 38%)
CIE-LABlab(58.74, -42.06, 56.55)
CIE-LCHlch(58.74, 70.47, 126.64°)
OKLaboklab(63.03% -0.1185 0.1238)
OKLCHoklch(63.03% 0.171 133.8)
XYZxyz(16.7058, 26.7429, 5.1456)
Luminance0.2674 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B9E18 #5B189E
analogous
#9E9E18 #5B9E18 #189E18
triadic
#5B9E18 #185B9E #9E185B
tetradic
#5B9E18 #189E9E #5B189E #9E1818
square
#5B9E18 #189E9E #5B189E #9E1818
split-complementary
#5B9E18 #18189E #9E189E
monochromatic
#1E3408 #3C6910 #5B9E18 #7AD320 #98E44D

Accessibility & contrast

On white

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

On black

6.35
#5B9E18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B9E18
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B9E18#FFFFFF#000000##000000
##5B9E181.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59100
Deuteranopia (green-blind)
#9C8B29
Tritanopia (blue-blind)
#5B9786
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #5b9e18;
/* rgb */ color: rgb(91, 158, 24);
/* oklch */ color: oklch(63.0% 0.171 133.8);
Tailwind
colors: {
  custom: {
    50: '#90bb63',
    500: '#5b9e18',
    950: '#000000',
  },
}
SCSS
$custom: #5b9e18;
$custom-light: #90bb63;
$custom-dark: #000000;
JSON
{
  "hex": "#5b9e18",
  "rgb": {
    "r": 91,
    "g": 158,
    "b": 24
  },
  "hsl": {
    "h": 90,
    "s": 73.626,
    "l": 35.686
  },
  "oklch": {
    "l": 0.63026,
    "c": 0.17135,
    "h": 133.8
  },
  "luminance": 0.26744
}

Semantic roles & 50–950 ramp

primary
#5B9E18
secondary
#894CC6
accent
#38F094
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1206
muted
#7E817A

Preview Lab

Preview with #5B9E18

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

Preview Lab → · Contrast checker → · Palette generator →

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