#5E771D#5E771D

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

Color values

HEX#5E771D
RGBrgb(94, 119, 29)
HSLhsl(77, 61%, 29%)
HSVhsv(77, 76%, 47%)
CMYKcmyk(21%, 0%, 75.6%, 53.3%)
CIE-LABlab(46.53, -22.68, 43.72)
CIE-LCHlch(46.53, 49.25, 117.42°)
OKLaboklab(53.13% -0.0659 0.0975)
OKLCHoklch(53.13% 0.118 124.1)
XYZxyz(11.4348, 15.6619, 3.5828)
Luminance0.1566 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E771D #361D77
analogous
#77631D #5E771D #31771D
triadic
#5E771D #1D5E77 #771D5E
tetradic
#5E771D #1D7763 #361D77 #771D31
square
#5E771D #1D7763 #361D77 #771D31
split-complementary
#5E771D #1D3177 #631D77
monochromatic
#131906 #374611 #5E771D #85A829 #A8D03E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E771D#FFFFFF#000000##FFFFFF
##5E771D1.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)
#7E6F0C
Deuteranopia (green-blind)
#7B6E25
Tritanopia (blue-blind)
#637166
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5e771d;
/* rgb */ color: rgb(94, 119, 29);
/* oklch */ color: oklch(53.1% 0.118 124.1);
Tailwind
colors: {
  custom: {
    50: '#8f9e60',
    500: '#5e771d',
    950: '#000000',
  },
}
SCSS
$custom: #5e771d;
$custom-light: #8f9e60;
$custom-dark: #000000;
JSON
{
  "hex": "#5e771d",
  "rgb": {
    "r": 94,
    "g": 119,
    "b": 29
  },
  "hsl": {
    "h": 76.667,
    "s": 60.811,
    "l": 29.02
  },
  "oklch": {
    "l": 0.53131,
    "c": 0.11767,
    "h": 124.1
  },
  "luminance": 0.15662
}

Semantic roles & 50–950 ramp

primary
#5E771D
secondary
#6145AB
accent
#44E470
background
#F9F9F5
surface
#F1F2EA
border
#CBCCC6
text
#0D0E05
muted
#7E7E79

Preview Lab

Preview with #5E771D

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

Preview Lab → · Contrast checker → · Palette generator →

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