#5C771E#5C771E

#5C771E is a mid, moderate yellow-green. Relative luminance 0.156; OKLCH L 53.0% C 0.118 H 125.1°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#5C771E
RGBrgb(92, 119, 30)
HSLhsl(78, 60%, 29%)
HSVhsv(78, 75%, 47%)
CMYKcmyk(22.7%, 0%, 74.8%, 53.3%)
CIE-LABlab(46.40, -23.49, 43.15)
CIE-LCHlch(46.40, 49.13, 118.56°)
OKLaboklab(52.99% -0.0679 0.0965)
OKLCHoklch(52.99% 0.118 125.1)
XYZxyz(11.2449, 15.5626, 3.6395)
Luminance0.1556 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C771E #391E77
analogous
#77661E #5C771E #30771E
triadic
#5C771E #1E5C77 #771E5C
tetradic
#5C771E #1E7766 #391E77 #771E30
square
#5C771E #1E7766 #391E77 #771E30
split-complementary
#5C771E #1E3077 #661E77
monochromatic
#131806 #364612 #5C771E #82A82A #A4CF40

Accessibility & contrast

On white

5.11
#5C771E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#5C771E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C771E
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C771E#FFFFFF#000000##FFFFFF
##5C771E1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5c771e;
/* rgb */ color: rgb(92, 119, 30);
/* oklch */ color: oklch(53.0% 0.118 125.1);
Tailwind
colors: {
  custom: {
    50: '#8d9e60',
    500: '#5c771e',
    950: '#000000',
  },
}
SCSS
$custom: #5c771e;
$custom-light: #8d9e60;
$custom-dark: #000000;
JSON
{
  "hex": "#5c771e",
  "rgb": {
    "r": 92,
    "g": 119,
    "b": 30
  },
  "hsl": {
    "h": 78.202,
    "s": 59.732,
    "l": 29.216
  },
  "oklch": {
    "l": 0.5299,
    "c": 0.11801,
    "h": 125.1
  },
  "luminance": 0.15563
}

Semantic roles & 50–950 ramp

primary
#5C771E
secondary
#6546AB
accent
#45E375
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #5C771E

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

Preview Lab → · Contrast checker → · Palette generator →

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