#5B9013#5B9013

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

Color values

HEX#5B9013
RGBrgb(91, 144, 19)
HSLhsl(85, 77%, 32%)
HSVhsv(85, 87%, 56%)
CMYKcmyk(36.8%, 0%, 86.8%, 43.5%)
CIE-LABlab(54.26, -36.25, 53.85)
CIE-LCHlch(54.26, 64.91, 123.95°)
OKLaboklab(59.35% -0.1032 0.1173)
OKLCHoklch(59.35% 0.156 131.3)
XYZxyz(14.4051, 22.2171, 4.1453)
Luminance0.2222 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B9013 #481390
analogous
#908713 #5B9013 #1D9013
triadic
#5B9013 #135B90 #90135B
tetradic
#5B9013 #139087 #481390 #90131D
square
#5B9013 #139087 #481390 #90131D
split-complementary
#5B9013 #131D90 #871390
monochromatic
#172405 #395A0C #5B9013 #7DC61A #9CE539

Accessibility & contrast

On white

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

On black

5.44
#5B9013 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B9013
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B9013#FFFFFF#000000##000000
##5B90131.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5b9013;
/* rgb */ color: rgb(91, 144, 19);
/* oklch */ color: oklch(59.4% 0.156 131.3);
Tailwind
colors: {
  custom: {
    50: '#8fb15f',
    500: '#5b9013',
    950: '#000000',
  },
}
SCSS
$custom: #5b9013;
$custom-light: #8fb15f;
$custom-dark: #000000;
JSON
{
  "hex": "#5b9013",
  "rgb": {
    "r": 91,
    "g": 144,
    "b": 19
  },
  "hsl": {
    "h": 85.44,
    "s": 76.687,
    "l": 31.961
  },
  "oklch": {
    "l": 0.59353,
    "c": 0.15623,
    "h": 131.3
  },
  "luminance": 0.22218
}

Semantic roles & 50–950 ramp

primary
#5B9013
secondary
#753BC4
accent
#35F385
background
#F9FAF6
surface
#F1F5EB
border
#CBCFC6
text
#0D1005
muted
#7E7F7A

Preview Lab

Preview with #5B9013

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

Preview Lab → · Contrast checker → · Palette generator →

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