#5B9F18#5B9F18

#5B9F18 is a light, vivid yellow-green. Relative luminance 0.271; OKLCH L 63.3% C 0.173 H 133.9°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#5B9F18
RGBrgb(91, 159, 24)
HSLhsl(90, 74%, 36%)
HSVhsv(90, 85%, 62%)
CMYKcmyk(42.8%, 0%, 84.9%, 37.6%)
CIE-LABlab(59.05, -42.47, 56.83)
CIE-LCHlch(59.05, 70.95, 126.77°)
OKLaboklab(63.29% -0.1196 0.1244)
OKLCHoklch(63.29% 0.173 133.9)
XYZxyz(16.8771, 27.0855, 5.2027)
Luminance0.2709 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B9F18 #5C189F
analogous
#9E9F18 #5B9F18 #189F18
triadic
#5B9F18 #185B9F #9F185B
tetradic
#5B9F18 #189E9F #5C189F #9F1818
square
#5B9F18 #189E9F #5C189F #9F1818
split-complementary
#5B9F18 #18189F #9F189E
monochromatic
#1E3508 #3D6A10 #5B9F18 #79D420 #98E44D

Accessibility & contrast

On white

3.27
#5B9F18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#5B9F18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B9F18
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B9F18#FFFFFF#000000##000000
##5B9F181.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69200
Deuteranopia (green-blind)
#9C8C29
Tritanopia (blue-blind)
#5A9887
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #5b9f18;
/* rgb */ color: rgb(91, 159, 24);
/* oklch */ color: oklch(63.3% 0.173 133.9);
Tailwind
colors: {
  custom: {
    50: '#90bc64',
    500: '#5b9f18',
    950: '#000000',
  },
}
SCSS
$custom: #5b9f18;
$custom-light: #90bc64;
$custom-dark: #000000;
JSON
{
  "hex": "#5b9f18",
  "rgb": {
    "r": 91,
    "g": 159,
    "b": 24
  },
  "hsl": {
    "h": 90.222,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.63287,
    "c": 0.17255,
    "h": 133.9
  },
  "luminance": 0.27086
}

Semantic roles & 50–950 ramp

primary
#5B9F18
secondary
#8A4DC6
accent
#37F095
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1206
muted
#7E817A

Preview Lab

Preview with #5B9F18

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

Preview Lab → · Contrast checker → · Palette generator →

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