#5E771B#5E771B

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

Color values

HEX#5E771B
RGBrgb(94, 119, 27)
HSLhsl(76, 63%, 29%)
HSVhsv(76, 77%, 47%)
CMYKcmyk(21%, 0%, 77.3%, 53.3%)
CIE-LABlab(46.52, -22.80, 44.46)
CIE-LCHlch(46.52, 49.96, 117.15°)
OKLaboklab(53.12% -0.0664 0.0987)
OKLCHoklch(53.12% 0.119 124)
XYZxyz(11.4109, 15.6524, 3.4567)
Luminance0.1565 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E771B #341B77
analogous
#77621B #5E771B #30771B
triadic
#5E771B #1B5E77 #771B5E
tetradic
#5E771B #1B7762 #341B77 #771B30
square
#5E771B #1B7762 #341B77 #771B30
split-complementary
#5E771B #1B3077 #621B77
monochromatic
#141906 #374510 #5E771B #85A926 #A9D23A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E771B#FFFFFF#000000##FFFFFF
##5E771B1.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)
#7E6F07
Deuteranopia (green-blind)
#7B6E23
Tritanopia (blue-blind)
#637165
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5e771b;
/* rgb */ color: rgb(94, 119, 27);
/* oklch */ color: oklch(53.1% 0.119 124.0);
Tailwind
colors: {
  custom: {
    50: '#8f9e5f',
    500: '#5e771b',
    950: '#000000',
  },
}
SCSS
$custom: #5e771b;
$custom-light: #8f9e5f;
$custom-dark: #000000;
JSON
{
  "hex": "#5e771b",
  "rgb": {
    "r": 94,
    "g": 119,
    "b": 27
  },
  "hsl": {
    "h": 76.304,
    "s": 63.014,
    "l": 28.627
  },
  "oklch": {
    "l": 0.53117,
    "c": 0.11895,
    "h": 124
  },
  "luminance": 0.15652
}

Semantic roles & 50–950 ramp

primary
#5E771B
secondary
#5F42AB
accent
#42E66E
background
#F9F9F5
surface
#F1F2EA
border
#CBCCC6
text
#0D0E05
muted
#7E7E79

Preview Lab

Preview with #5E771B

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

Preview Lab → · Contrast checker → · Palette generator →

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