#5B8F18#5B8F18

#5B8F18 is a mid, vivid yellow-green. Relative luminance 0.219; OKLCH L 59.1% C 0.153 H 131.4°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#5B8F18
RGBrgb(91, 143, 24)
HSLhsl(86, 71%, 33%)
HSVhsv(86, 83%, 56%)
CMYKcmyk(36.4%, 0%, 83.2%, 43.9%)
CIE-LABlab(53.96, -35.60, 52.28)
CIE-LCHlch(53.96, 63.25, 124.25°)
OKLaboklab(59.11% -0.1012 0.1147)
OKLCHoklch(59.11% 0.153 131.4)
XYZxyz(14.3016, 21.9344, 4.3442)
Luminance0.2193 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B8F18 #4C188F
analogous
#8F8718 #5B8F18 #208F18
triadic
#5B8F18 #185B8F #8F185B
tetradic
#5B8F18 #188F87 #4C188F #8F1820
square
#5B8F18 #188F87 #4C188F #8F1820
split-complementary
#5B8F18 #18208F #87188F
monochromatic
#182606 #3A5B0F #5B8F18 #7CC321 #9BDF42

Accessibility & contrast

On white

3.90
#5B8F18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#5B8F18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B8F18
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B8F18#FFFFFF#000000##000000
##5B8F181.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#8F8026
Tritanopia (blue-blind)
#5D897A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5b8f18;
/* rgb */ color: rgb(91, 143, 24);
/* oklch */ color: oklch(59.1% 0.153 131.4);
Tailwind
colors: {
  custom: {
    50: '#8eb061',
    500: '#5b8f18',
    950: '#000000',
  },
}
SCSS
$custom: #5b8f18;
$custom-light: #8eb061;
$custom-dark: #000000;
JSON
{
  "hex": "#5b8f18",
  "rgb": {
    "r": 91,
    "g": 143,
    "b": 24
  },
  "hsl": {
    "h": 86.218,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.59115,
    "c": 0.15296,
    "h": 131.4
  },
  "luminance": 0.21935
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5B8F18

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

Preview Lab → · Contrast checker → · Palette generator →

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