#5C771F#5C771F

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

Color values

HEX#5C771F
RGBrgb(92, 119, 31)
HSLhsl(78, 59%, 29%)
HSVhsv(78, 74%, 47%)
CMYKcmyk(22.7%, 0%, 73.9%, 53.3%)
CIE-LABlab(46.40, -23.42, 42.76)
CIE-LCHlch(46.40, 48.76, 118.71°)
OKLaboklab(53% -0.0676 0.0959)
OKLCHoklch(53% 0.117 125.2)
XYZxyz(11.2579, 15.5678, 3.7078)
Luminance0.1557 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C771F #3A1F77
analogous
#77661F #5C771F #30771F
triadic
#5C771F #1F5C77 #771F5C
tetradic
#5C771F #1F7766 #3A1F77 #771F30
square
#5C771F #1F7766 #3A1F77 #771F30
split-complementary
#5C771F #1F3077 #661F77
monochromatic
#131806 #364612 #5C771F #82A82C #A3CE43

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C771F#FFFFFF#000000##FFFFFF
##5C771F1.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)
#7E6F10
Deuteranopia (green-blind)
#7A6E27
Tritanopia (blue-blind)
#607166
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5c771f;
/* rgb */ color: rgb(92, 119, 31);
/* oklch */ color: oklch(53.0% 0.117 125.2);
Tailwind
colors: {
  custom: {
    50: '#8d9e61',
    500: '#5c771f',
    950: '#000000',
  },
}
SCSS
$custom: #5c771f;
$custom-light: #8d9e61;
$custom-dark: #000000;
JSON
{
  "hex": "#5c771f",
  "rgb": {
    "r": 92,
    "g": 119,
    "b": 31
  },
  "hsl": {
    "h": 78.409,
    "s": 58.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52998,
    "c": 0.11732,
    "h": 125.2
  },
  "luminance": 0.15568
}

Semantic roles & 50–950 ramp

primary
#5C771F
secondary
#6647AB
accent
#46E276
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #5C771F

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

Preview Lab → · Contrast checker → · Palette generator →

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