#5B7E13#5B7E13

#5B7E13 is a mid, vivid yellow-green. Relative luminance 0.172; OKLCH L 54.7% C 0.134 H 127.2°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#5B7E13
RGBrgb(91, 126, 19)
HSLhsl(80, 74%, 28%)
HSVhsv(80, 85%, 49%)
CMYKcmyk(27.8%, 0%, 84.9%, 50.6%)
CIE-LABlab(48.50, -27.94, 48.80)
CIE-LCHlch(48.50, 56.24, 119.79°)
OKLaboklab(54.66% -0.0808 0.1066)
OKLCHoklch(54.66% 0.134 127.2)
XYZxyz(11.8928, 17.1926, 3.3079)
Luminance0.1719 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B7E13 #36137E
analogous
#7E6B13 #5B7E13 #257E13
triadic
#5B7E13 #135B7E #7E135B
tetradic
#5B7E13 #137E6B #36137E #7E1325
square
#5B7E13 #137E6B #36137E #7E1325
split-complementary
#5B7E13 #13257E #6B137E
monochromatic
#131B04 #35490B #5B7E13 #81B31B #A5DF2C

Accessibility & contrast

On white

4.73
#5B7E13 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#5B7E13 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B7E13
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B7E13#FFFFFF#000000##FFFFFF
##5B7E131.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#80731F
Tritanopia (blue-blind)
#5F786B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5b7e13;
/* rgb */ color: rgb(91, 126, 19);
/* oklch */ color: oklch(54.7% 0.134 127.2);
Tailwind
colors: {
  custom: {
    50: '#8da35c',
    500: '#5b7e13',
    950: '#000000',
  },
}
SCSS
$custom: #5b7e13;
$custom-light: #8da35c;
$custom-dark: #000000;
JSON
{
  "hex": "#5b7e13",
  "rgb": {
    "r": 91,
    "g": 126,
    "b": 19
  },
  "hsl": {
    "h": 79.626,
    "s": 73.793,
    "l": 28.431
  },
  "oklch": {
    "l": 0.54663,
    "c": 0.13375,
    "h": 127.2
  },
  "luminance": 0.17193
}

Semantic roles & 50–950 ramp

primary
#5B7E13
secondary
#6139B4
accent
#37F074
background
#F8FAF5
surface
#F0F4E9
border
#CBCEC5
text
#0D0F05
muted
#7D7F79

Preview Lab

Preview with #5B7E13

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

Preview Lab → · Contrast checker → · Palette generator →

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