#5D771B#5D771B

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

Color values

HEX#5D771B
RGBrgb(93, 119, 27)
HSLhsl(77, 63%, 29%)
HSVhsv(77, 77%, 47%)
CMYKcmyk(21.8%, 0%, 77.3%, 53.3%)
CIE-LABlab(46.45, -23.24, 44.36)
CIE-LCHlch(46.45, 50.08, 117.64°)
OKLaboklab(53.04% -0.0675 0.0985)
OKLCHoklch(53.04% 0.119 124.4)
XYZxyz(11.3090, 15.5998, 3.4520)
Luminance0.1560 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D771B #351B77
analogous
#77631B #5D771B #2F771B
triadic
#5D771B #1B5D77 #771B5D
tetradic
#5D771B #1B7763 #351B77 #771B2F
square
#5D771B #1B7763 #351B77 #771B2F
split-complementary
#5D771B #1B2F77 #631B77
monochromatic
#131906 #364510 #5D771B #84A926 #A7D23A

Accessibility & contrast

On white

5.10
#5D771B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#5D771B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D771B
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D771B#FFFFFF#000000##FFFFFF
##5D771B1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F07
Deuteranopia (green-blind)
#7B6E24
Tritanopia (blue-blind)
#627165
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5d771b;
/* rgb */ color: rgb(93, 119, 27);
/* oklch */ color: oklch(53.0% 0.119 124.4);
Tailwind
colors: {
  custom: {
    50: '#8e9e5f',
    500: '#5d771b',
    950: '#000000',
  },
}
SCSS
$custom: #5d771b;
$custom-light: #8e9e5f;
$custom-dark: #000000;
JSON
{
  "hex": "#5d771b",
  "rgb": {
    "r": 93,
    "g": 119,
    "b": 27
  },
  "hsl": {
    "h": 76.957,
    "s": 63.014,
    "l": 28.627
  },
  "oklch": {
    "l": 0.53042,
    "c": 0.11945,
    "h": 124.4
  },
  "luminance": 0.156
}

Semantic roles & 50–950 ramp

primary
#5D771B
secondary
#6042AB
accent
#42E670
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0D0E05
muted
#7D7E79

Preview Lab

Preview with #5D771B

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

Preview Lab → · Contrast checker → · Palette generator →

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