#5B7E1E#5B7E1E

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

Color values

HEX#5B7E1E
RGBrgb(91, 126, 30)
HSLhsl(82, 62%, 31%)
HSVhsv(82, 76%, 49%)
CMYKcmyk(27.8%, 0%, 76.2%, 50.6%)
CIE-LABlab(48.56, -27.38, 45.26)
CIE-LCHlch(48.56, 52.89, 121.17°)
OKLaboklab(54.73% -0.0785 0.1009)
OKLCHoklch(54.73% 0.128 127.9)
XYZxyz(12.0096, 17.2393, 3.9228)
Luminance0.1724 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B7E1E #411E7E
analogous
#7E711E #5B7E1E #2B7E1E
triadic
#5B7E1E #1E5B7E #7E1E5B
tetradic
#5B7E1E #1E7E71 #411E7E #7E1E2B
square
#5B7E1E #1E7E71 #411E7E #7E1E2B
split-complementary
#5B7E1E #1E2B7E #711E7E
monochromatic
#141B06 #374D12 #5B7E1E #7FAF2A #9ED244

Accessibility & contrast

On white

4.72
#5B7E1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#5B7E1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B7E1E
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B7E1E#FFFFFF#000000##FFFFFF
##5B7E1E1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85750B
Deuteranopia (green-blind)
#807327
Tritanopia (blue-blind)
#5E786C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5b7e1e;
/* rgb */ color: rgb(91, 126, 30);
/* oklch */ color: oklch(54.7% 0.128 127.9);
Tailwind
colors: {
  custom: {
    50: '#8da361',
    500: '#5b7e1e',
    950: '#000000',
  },
}
SCSS
$custom: #5b7e1e;
$custom-light: #8da361;
$custom-dark: #000000;
JSON
{
  "hex": "#5b7e1e",
  "rgb": {
    "r": 91,
    "g": 126,
    "b": 30
  },
  "hsl": {
    "h": 81.875,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.54729,
    "c": 0.12786,
    "h": 127.9
  },
  "luminance": 0.1724
}

Semantic roles & 50–950 ramp

primary
#5B7E1E
secondary
#6D47B1
accent
#43E57E
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F05
muted
#7D7F7A

Preview Lab

Preview with #5B7E1E

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

Preview Lab → · Contrast checker → · Palette generator →

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