#5C771C#5C771C

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

Color values

HEX#5C771C
RGBrgb(92, 119, 28)
HSLhsl(78, 62%, 29%)
HSVhsv(78, 76%, 47%)
CMYKcmyk(22.7%, 0%, 76.5%, 53.3%)
CIE-LABlab(46.38, -23.61, 43.91)
CIE-LCHlch(46.38, 49.85, 118.27°)
OKLaboklab(52.98% -0.0684 0.0978)
OKLCHoklch(52.98% 0.119 125)
XYZxyz(11.2201, 15.5527, 3.5092)
Luminance0.1555 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C771C #371C77
analogous
#77651C #5C771C #2F771C
triadic
#5C771C #1C5C77 #771C5C
tetradic
#5C771C #1C7765 #371C77 #771C2F
square
#5C771C #1C7765 #371C77 #771C2F
split-complementary
#5C771C #1C2F77 #651C77
monochromatic
#131906 #364510 #5C771C #82A928 #A5D13C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C771C#FFFFFF#000000##FFFFFF
##5C771C1.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)
#7E6F0A
Deuteranopia (green-blind)
#7A6E24
Tritanopia (blue-blind)
#607166
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5c771c;
/* rgb */ color: rgb(92, 119, 28);
/* oklch */ color: oklch(53.0% 0.119 125.0);
Tailwind
colors: {
  custom: {
    50: '#8d9e5f',
    500: '#5c771c',
    950: '#000000',
  },
}
SCSS
$custom: #5c771c;
$custom-light: #8d9e5f;
$custom-dark: #000000;
JSON
{
  "hex": "#5c771c",
  "rgb": {
    "r": 92,
    "g": 119,
    "b": 28
  },
  "hsl": {
    "h": 77.802,
    "s": 61.905,
    "l": 28.824
  },
  "oklch": {
    "l": 0.52975,
    "c": 0.11932,
    "h": 125
  },
  "luminance": 0.15553
}

Semantic roles & 50–950 ramp

primary
#5C771C
secondary
#6244AB
accent
#43E573
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #5C771C

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

Preview Lab → · Contrast checker → · Palette generator →

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