#5B8013#5B8013

#5B8013 is a mid, vivid yellow-green. Relative luminance 0.177; OKLCH L 55.2% C 0.136 H 127.7°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#5B8013
RGBrgb(91, 128, 19)
HSLhsl(80, 74%, 29%)
HSVhsv(80, 85%, 50%)
CMYKcmyk(28.9%, 0%, 85.2%, 49.8%)
CIE-LABlab(49.14, -28.90, 49.37)
CIE-LCHlch(49.14, 57.21, 120.34°)
OKLaboklab(55.18% -0.0834 0.1078)
OKLCHoklch(55.18% 0.136 127.7)
XYZxyz(12.1511, 17.7092, 3.3940)
Luminance0.1771 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B8013 #381380
analogous
#806F13 #5B8013 #258013
triadic
#5B8013 #135B80 #80135B
tetradic
#5B8013 #13806F #381380 #801325
square
#5B8013 #13806F #381380 #801325
split-complementary
#5B8013 #132580 #6F1380
monochromatic
#131B04 #354B0B #5B8013 #81B51B #A3E02D

Accessibility & contrast

On white

4.62
#5B8013 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#5B8013 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #5B8013
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B8013#FFFFFF#000000##FFFFFF
##5B80131.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877600
Deuteranopia (green-blind)
#827420
Tritanopia (blue-blind)
#5F7A6D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #5b8013;
/* rgb */ color: rgb(91, 128, 19);
/* oklch */ color: oklch(55.2% 0.136 127.7);
Tailwind
colors: {
  custom: {
    50: '#8da55d',
    500: '#5b8013',
    950: '#000000',
  },
}
SCSS
$custom: #5b8013;
$custom-light: #8da55d;
$custom-dark: #000000;
JSON
{
  "hex": "#5b8013",
  "rgb": {
    "r": 91,
    "g": 128,
    "b": 19
  },
  "hsl": {
    "h": 80.367,
    "s": 74.15,
    "l": 28.824
  },
  "oklch": {
    "l": 0.55183,
    "c": 0.13628,
    "h": 127.7
  },
  "luminance": 0.1771
}

Semantic roles & 50–950 ramp

primary
#5B8013
secondary
#6439B5
accent
#37F176
background
#F9FAF5
surface
#F1F4E9
border
#CBCEC5
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5B8013

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

Preview Lab → · Contrast checker → · Palette generator →

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