#5E771C#5E771C

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

Color values

HEX#5E771C
RGBrgb(94, 119, 28)
HSLhsl(76, 62%, 29%)
HSVhsv(76, 76%, 47%)
CMYKcmyk(21%, 0%, 76.5%, 53.3%)
CIE-LABlab(46.52, -22.75, 44.09)
CIE-LCHlch(46.52, 49.61, 117.29°)
OKLaboklab(53.12% -0.0662 0.0981)
OKLCHoklch(53.12% 0.118 124)
XYZxyz(11.4226, 15.6571, 3.5187)
Luminance0.1566 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E771C #351C77
analogous
#77631C #5E771C #30771C
triadic
#5E771C #1C5E77 #771C5E
tetradic
#5E771C #1C7763 #351C77 #771C30
square
#5E771C #1C7763 #351C77 #771C30
split-complementary
#5E771C #1C3077 #631C77
monochromatic
#141906 #374510 #5E771C #85A928 #A8D13C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E771C#FFFFFF#000000##FFFFFF
##5E771C1.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)
#7E6F0A
Deuteranopia (green-blind)
#7B6E24
Tritanopia (blue-blind)
#637166
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5e771c;
/* rgb */ color: rgb(94, 119, 28);
/* oklch */ color: oklch(53.1% 0.118 124.0);
Tailwind
colors: {
  custom: {
    50: '#8f9e5f',
    500: '#5e771c',
    950: '#000000',
  },
}
SCSS
$custom: #5e771c;
$custom-light: #8f9e5f;
$custom-dark: #000000;
JSON
{
  "hex": "#5e771c",
  "rgb": {
    "r": 94,
    "g": 119,
    "b": 28
  },
  "hsl": {
    "h": 76.484,
    "s": 61.905,
    "l": 28.824
  },
  "oklch": {
    "l": 0.53124,
    "c": 0.11832,
    "h": 124
  },
  "luminance": 0.15657
}

Semantic roles & 50–950 ramp

primary
#5E771C
secondary
#6044AB
accent
#43E56F
background
#F9F9F5
surface
#F1F2EA
border
#CBCCC6
text
#0D0E05
muted
#7E7E79

Preview Lab

Preview with #5E771C

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

Preview Lab → · Contrast checker → · Palette generator →

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