#5E771E#5E771E

#5E771E is a mid, moderate yellow-green. Relative luminance 0.157; OKLCH L 53.1% C 0.117 H 124.1°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#5E771E
RGBrgb(94, 119, 30)
HSLhsl(77, 60%, 29%)
HSVhsv(77, 75%, 47%)
CMYKcmyk(21%, 0%, 74.8%, 53.3%)
CIE-LABlab(46.53, -22.62, 43.34)
CIE-LCHlch(46.53, 48.89, 117.57°)
OKLaboklab(53.14% -0.0657 0.0968)
OKLCHoklch(53.14% 0.117 124.1)
XYZxyz(11.4474, 15.6670, 3.6490)
Luminance0.1567 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E771E #371E77
analogous
#77641E #5E771E #32771E
triadic
#5E771E #1E5E77 #771E5E
tetradic
#5E771E #1E7764 #371E77 #771E32
square
#5E771E #1E7764 #371E77 #771E32
split-complementary
#5E771E #1E3277 #641E77
monochromatic
#131806 #374612 #5E771E #85A82A #A7CF40

Accessibility & contrast

On white

5.08
#5E771E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#5E771E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E771E
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E771E#FFFFFF#000000##FFFFFF
##5E771E1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F0E
Deuteranopia (green-blind)
#7B6E26
Tritanopia (blue-blind)
#637166
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5e771e;
/* rgb */ color: rgb(94, 119, 30);
/* oklch */ color: oklch(53.1% 0.117 124.1);
Tailwind
colors: {
  custom: {
    50: '#8e9e60',
    500: '#5e771e',
    950: '#000000',
  },
}
SCSS
$custom: #5e771e;
$custom-light: #8e9e60;
$custom-dark: #000000;
JSON
{
  "hex": "#5e771e",
  "rgb": {
    "r": 94,
    "g": 119,
    "b": 30
  },
  "hsl": {
    "h": 76.854,
    "s": 59.732,
    "l": 29.216
  },
  "oklch": {
    "l": 0.53139,
    "c": 0.11701,
    "h": 124.1
  },
  "luminance": 0.15667
}

Semantic roles & 50–950 ramp

primary
#5E771E
secondary
#6246AB
accent
#45E371
background
#F9F9F5
surface
#F1F2EA
border
#CBCCC6
text
#0D0E05
muted
#7E7E79

Preview Lab

Preview with #5E771E

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

Preview Lab → · Contrast checker → · Palette generator →

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