#5B771E#5B771E

#5B771E is a mid, moderate yellow-green. Relative luminance 0.155; OKLCH L 52.9% C 0.119 H 125.6°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#5B771E
RGBrgb(91, 119, 30)
HSLhsl(79, 60%, 29%)
HSVhsv(79, 75%, 47%)
CMYKcmyk(23.5%, 0%, 74.8%, 53.3%)
CIE-LABlab(46.33, -23.92, 43.06)
CIE-LCHlch(46.33, 49.26, 119.05°)
OKLaboklab(52.92% -0.069 0.0963)
OKLCHoklch(52.92% 0.119 125.6)
XYZxyz(11.1456, 15.5114, 3.6348)
Luminance0.1551 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B771E #3A1E77
analogous
#77671E #5B771E #2F771E
triadic
#5B771E #1E5B77 #771E5B
tetradic
#5B771E #1E7767 #3A1E77 #771E2F
square
#5B771E #1E7767 #3A1E77 #771E2F
split-complementary
#5B771E #1E2F77 #671E77
monochromatic
#131806 #364612 #5B771E #80A82A #A2CF40

Accessibility & contrast

On white

5.12
#5B771E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#5B771E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B771E
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B771E#FFFFFF#000000##FFFFFF
##5B771E1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F0E
Deuteranopia (green-blind)
#7A6D26
Tritanopia (blue-blind)
#5F7166
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5b771e;
/* rgb */ color: rgb(91, 119, 30);
/* oklch */ color: oklch(52.9% 0.119 125.6);
Tailwind
colors: {
  custom: {
    50: '#8c9e60',
    500: '#5b771e',
    950: '#000000',
  },
}
SCSS
$custom: #5b771e;
$custom-light: #8c9e60;
$custom-dark: #000000;
JSON
{
  "hex": "#5b771e",
  "rgb": {
    "r": 91,
    "g": 119,
    "b": 30
  },
  "hsl": {
    "h": 78.876,
    "s": 59.732,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52917,
    "c": 0.11851,
    "h": 125.6
  },
  "luminance": 0.15512
}

Semantic roles & 50–950 ramp

primary
#5B771E
secondary
#6646AB
accent
#45E377
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #5B771E

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

Preview Lab → · Contrast checker → · Palette generator →

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