#5C771B#5C771B

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

Color values

HEX#5C771B
RGBrgb(92, 119, 27)
HSLhsl(78, 63%, 29%)
HSVhsv(78, 77%, 47%)
CMYKcmyk(22.7%, 0%, 77.3%, 53.3%)
CIE-LABlab(46.38, -23.67, 44.27)
CIE-LCHlch(46.38, 50.20, 118.13°)
OKLaboklab(52.97% -0.0687 0.0984)
OKLCHoklch(52.97% 0.12 124.9)
XYZxyz(11.2084, 15.5480, 3.4473)
Luminance0.1555 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C771B #361B77
analogous
#77641B #5C771B #2E771B
triadic
#5C771B #1B5C77 #771B5C
tetradic
#5C771B #1B7764 #361B77 #771B2E
square
#5C771B #1B7764 #361B77 #771B2E
split-complementary
#5C771B #1B2E77 #641B77
monochromatic
#131906 #354510 #5C771B #83A926 #A6D23A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5C771B#FFFFFF#000000##FFFFFF
##5C771B1.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)
#7E6F07
Deuteranopia (green-blind)
#7A6E24
Tritanopia (blue-blind)
#617165
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5c771b;
/* rgb */ color: rgb(92, 119, 27);
/* oklch */ color: oklch(53.0% 0.120 124.9);
Tailwind
colors: {
  custom: {
    50: '#8d9e5f',
    500: '#5c771b',
    950: '#000000',
  },
}
SCSS
$custom: #5c771b;
$custom-light: #8d9e5f;
$custom-dark: #000000;
JSON
{
  "hex": "#5c771b",
  "rgb": {
    "r": 92,
    "g": 119,
    "b": 27
  },
  "hsl": {
    "h": 77.609,
    "s": 63.014,
    "l": 28.627
  },
  "oklch": {
    "l": 0.52968,
    "c": 0.11996,
    "h": 124.9
  },
  "luminance": 0.15548
}

Semantic roles & 50–950 ramp

primary
#5C771B
secondary
#6142AB
accent
#42E672
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #5C771B

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

Preview Lab → · Contrast checker → · Palette generator →

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