#5B9018#5B9018

#5B9018 is a mid, vivid yellow-green. Relative luminance 0.222; OKLCH L 59.4% C 0.154 H 131.6°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#5B9018
RGBrgb(91, 144, 24)
HSLhsl(87, 71%, 33%)
HSVhsv(87, 83%, 56%)
CMYKcmyk(36.8%, 0%, 83.3%, 43.5%)
CIE-LABlab(54.28, -36.04, 52.56)
CIE-LCHlch(54.28, 63.73, 124.44°)
OKLaboklab(59.38% -0.1024 0.1153)
OKLCHoklch(59.38% 0.154 131.6)
XYZxyz(14.4524, 22.2360, 4.3945)
Luminance0.2224 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B9018 #4D1890
analogous
#908918 #5B9018 #1F9018
triadic
#5B9018 #185B90 #90185B
tetradic
#5B9018 #189089 #4D1890 #90181F
square
#5B9018 #189089 #4D1890 #90181F
split-complementary
#5B9018 #181F90 #891890
monochromatic
#192707 #3A5C0F #5B9018 #7CC421 #9AE043

Accessibility & contrast

On white

3.86
#5B9018 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#5B9018 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B9018
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B9018#FFFFFF#000000##000000
##5B90181.003.865.455.45
#FFFFFF3.861.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#978400
Deuteranopia (green-blind)
#8F8026
Tritanopia (blue-blind)
#5D8A7A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5b9018;
/* rgb */ color: rgb(91, 144, 24);
/* oklch */ color: oklch(59.4% 0.154 131.6);
Tailwind
colors: {
  custom: {
    50: '#8eb161',
    500: '#5b9018',
    950: '#000000',
  },
}
SCSS
$custom: #5b9018;
$custom-light: #8eb161;
$custom-dark: #000000;
JSON
{
  "hex": "#5b9018",
  "rgb": {
    "r": 91,
    "g": 144,
    "b": 24
  },
  "hsl": {
    "h": 86.5,
    "s": 71.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.59376,
    "c": 0.15421,
    "h": 131.6
  },
  "luminance": 0.22237
}

Semantic roles & 50–950 ramp

primary
#5B9018
secondary
#7B43C0
accent
#3AEE89
background
#F9FAF6
surface
#F1F5EB
border
#CBCFC6
text
#0D1005
muted
#7E7F7A

Preview Lab

Preview with #5B9018

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

Preview Lab → · Contrast checker → · Palette generator →

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