#5E771F#5E771F

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

Color values

HEX#5E771F
RGBrgb(94, 119, 31)
HSLhsl(77, 59%, 29%)
HSVhsv(77, 74%, 47%)
CMYKcmyk(21%, 0%, 73.9%, 53.3%)
CIE-LABlab(46.54, -22.56, 42.95)
CIE-LCHlch(46.54, 48.51, 117.71°)
OKLaboklab(53.15% -0.0654 0.0962)
OKLCHoklch(53.15% 0.116 124.2)
XYZxyz(11.4603, 15.6722, 3.7173)
Luminance0.1567 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E771F #381F77
analogous
#77641F #5E771F #32771F
triadic
#5E771F #1F5E77 #771F5E
tetradic
#5E771F #1F7764 #381F77 #771F32
square
#5E771F #1F7764 #381F77 #771F32
split-complementary
#5E771F #1F3277 #641F77
monochromatic
#131806 #384612 #5E771F #84A82C #A6CE43

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E771F#FFFFFF#000000##FFFFFF
##5E771F1.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)
#7E6F10
Deuteranopia (green-blind)
#7B6E27
Tritanopia (blue-blind)
#637166
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5e771f;
/* rgb */ color: rgb(94, 119, 31);
/* oklch */ color: oklch(53.1% 0.116 124.2);
Tailwind
colors: {
  custom: {
    50: '#8e9e61',
    500: '#5e771f',
    950: '#000000',
  },
}
SCSS
$custom: #5e771f;
$custom-light: #8e9e61;
$custom-dark: #000000;
JSON
{
  "hex": "#5e771f",
  "rgb": {
    "r": 94,
    "g": 119,
    "b": 31
  },
  "hsl": {
    "h": 77.045,
    "s": 58.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.53147,
    "c": 0.11633,
    "h": 124.2
  },
  "luminance": 0.15672
}

Semantic roles & 50–950 ramp

primary
#5E771F
secondary
#6347AB
accent
#46E272
background
#F9F9F5
surface
#F1F2EA
border
#CBCCC6
text
#0D0E05
muted
#7E7E79

Preview Lab

Preview with #5E771F

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

Preview Lab → · Contrast checker → · Palette generator →

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