#5B8014#5B8014

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

Color values

HEX#5B8014
RGBrgb(91, 128, 20)
HSLhsl(81, 73%, 29%)
HSVhsv(81, 84%, 50%)
CMYKcmyk(28.9%, 0%, 84.4%, 49.8%)
CIE-LABlab(49.15, -28.86, 49.09)
CIE-LCHlch(49.15, 56.95, 120.45°)
OKLaboklab(55.19% -0.0832 0.1073)
OKLCHoklch(55.19% 0.136 127.8)
XYZxyz(12.1599, 17.7127, 3.4399)
Luminance0.1771 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B8014 #391480
analogous
#806F14 #5B8014 #258014
triadic
#5B8014 #145B80 #80145B
tetradic
#5B8014 #14806F #391480 #801425
square
#5B8014 #14806F #391480 #801425
split-complementary
#5B8014 #142580 #6F1480
monochromatic
#131A04 #354B0C #5B8014 #81B51C #A3DF30

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B8014#FFFFFF#000000##FFFFFF
##5B80141.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: #5b8014;
/* rgb */ color: rgb(91, 128, 20);
/* oklch */ color: oklch(55.2% 0.136 127.8);
Tailwind
colors: {
  custom: {
    50: '#8da55d',
    500: '#5b8014',
    950: '#000000',
  },
}
SCSS
$custom: #5b8014;
$custom-light: #8da55d;
$custom-dark: #000000;
JSON
{
  "hex": "#5b8014",
  "rgb": {
    "r": 91,
    "g": 128,
    "b": 20
  },
  "hsl": {
    "h": 80.556,
    "s": 72.973,
    "l": 29.02
  },
  "oklch": {
    "l": 0.55188,
    "c": 0.13584,
    "h": 127.8
  },
  "luminance": 0.17713
}

Semantic roles & 50–950 ramp

primary
#5B8014
secondary
#653BB5
accent
#38F077
background
#F9FAF5
surface
#F1F4E9
border
#CBCEC5
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5B8014

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

Preview Lab → · Contrast checker → · Palette generator →

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