#5B7E19#5B7E19

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

Color values

HEX#5B7E19
RGBrgb(91, 126, 25)
HSLhsl(81, 67%, 30%)
HSVhsv(81, 80%, 49%)
CMYKcmyk(27.8%, 0%, 80.2%, 50.6%)
CIE-LABlab(48.53, -27.66, 46.99)
CIE-LCHlch(48.53, 54.53, 120.48°)
OKLaboklab(54.7% -0.0796 0.1037)
OKLCHoklch(54.7% 0.131 127.5)
XYZxyz(11.9507, 17.2158, 3.6129)
Luminance0.1722 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B7E19 #3C197E
analogous
#7E6F19 #5B7E19 #297E19
triadic
#5B7E19 #195B7E #7E195B
tetradic
#5B7E19 #197E6F #3C197E #7E1929
square
#5B7E19 #197E6F #3C197E #7E1929
split-complementary
#5B7E19 #19297E #6F197E
monochromatic
#121A05 #364B0F #5B7E19 #80B123 #A1D83A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B7E19#FFFFFF#000000##FFFFFF
##5B7E191.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)
#807323
Tritanopia (blue-blind)
#5F786B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5b7e19;
/* rgb */ color: rgb(91, 126, 25);
/* oklch */ color: oklch(54.7% 0.131 127.5);
Tailwind
colors: {
  custom: {
    50: '#8da35f',
    500: '#5b7e19',
    950: '#000000',
  },
}
SCSS
$custom: #5b7e19;
$custom-light: #8da35f;
$custom-dark: #000000;
JSON
{
  "hex": "#5b7e19",
  "rgb": {
    "r": 91,
    "g": 126,
    "b": 25
  },
  "hsl": {
    "h": 80.792,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.54695,
    "c": 0.13079,
    "h": 127.5
  },
  "luminance": 0.17216
}

Semantic roles & 50–950 ramp

primary
#5B7E19
secondary
#6841B2
accent
#3EEA7A
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0D0F05
muted
#7D7F79

Preview Lab

Preview with #5B7E19

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

Preview Lab → · Contrast checker → · Palette generator →

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