#5B7E1D#5B7E1D

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

Color values

HEX#5B7E1D
RGBrgb(91, 126, 29)
HSLhsl(82, 63%, 30%)
HSVhsv(82, 77%, 49%)
CMYKcmyk(27.8%, 0%, 77%, 50.6%)
CIE-LABlab(48.55, -27.44, 45.62)
CIE-LCHlch(48.55, 53.23, 121.03°)
OKLaboklab(54.72% -0.0787 0.1015)
OKLCHoklch(54.72% 0.128 127.8)
XYZxyz(11.9970, 17.2343, 3.8566)
Luminance0.1724 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B7E1D #401D7E
analogous
#7E701D #5B7E1D #2B7E1D
triadic
#5B7E1D #1D5B7E #7E1D5B
tetradic
#5B7E1D #1D7E70 #401D7E #7E1D2B
square
#5B7E1D #1D7E70 #401D7E #7E1D2B
split-complementary
#5B7E1D #1D2B7E #701D7E
monochromatic
#131B06 #374C12 #5B7E1D #7FB028 #9FD342

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5B7E1D#FFFFFF#000000##FFFFFF
##5B7E1D1.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)
#857508
Deuteranopia (green-blind)
#807326
Tritanopia (blue-blind)
#5E786B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5b7e1d;
/* rgb */ color: rgb(91, 126, 29);
/* oklch */ color: oklch(54.7% 0.128 127.8);
Tailwind
colors: {
  custom: {
    50: '#8da361',
    500: '#5b7e1d',
    950: '#000000',
  },
}
SCSS
$custom: #5b7e1d;
$custom-light: #8da361;
$custom-dark: #000000;
JSON
{
  "hex": "#5b7e1d",
  "rgb": {
    "r": 91,
    "g": 126,
    "b": 29
  },
  "hsl": {
    "h": 81.649,
    "s": 62.581,
    "l": 30.392
  },
  "oklch": {
    "l": 0.54722,
    "c": 0.12849,
    "h": 127.8
  },
  "luminance": 0.17235
}

Semantic roles & 50–950 ramp

primary
#5B7E1D
secondary
#6C45B1
accent
#42E67D
background
#F8FAF5
surface
#F0F4EA
border
#CBCEC6
text
#0C0F05
muted
#7D7F79

Preview Lab

Preview with #5B7E1D

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

Preview Lab → · Contrast checker → · Palette generator →

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