#5D771A#5D771A

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

Color values

HEX#5D771A
RGBrgb(93, 119, 26)
HSLhsl(77, 64%, 28%)
HSVhsv(77, 78%, 47%)
CMYKcmyk(21.8%, 0%, 78.2%, 53.3%)
CIE-LABlab(46.44, -23.29, 44.72)
CIE-LCHlch(46.44, 50.42, 117.51°)
OKLaboklab(53.04% -0.0678 0.0991)
OKLCHoklch(53.04% 0.12 124.4)
XYZxyz(11.2976, 15.5953, 3.3921)
Luminance0.1560 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D771A #341A77
analogous
#77621A #5D771A #2E771A
triadic
#5D771A #1A5D77 #771A5D
tetradic
#5D771A #1A7762 #341A77 #771A2E
square
#5D771A #1A7762 #341A77 #771A2E
split-complementary
#5D771A #1A2E77 #621A77
monochromatic
#141905 #36450F #5D771A #84A925 #A8D338

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5D771A#FFFFFF#000000##FFFFFF
##5D771A1.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)
#7E6F05
Deuteranopia (green-blind)
#7B6E23
Tritanopia (blue-blind)
#627165
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #5d771a;
/* rgb */ color: rgb(93, 119, 26);
/* oklch */ color: oklch(53.0% 0.120 124.4);
Tailwind
colors: {
  custom: {
    50: '#8e9e5e',
    500: '#5d771a',
    950: '#000000',
  },
}
SCSS
$custom: #5d771a;
$custom-light: #8e9e5e;
$custom-dark: #000000;
JSON
{
  "hex": "#5d771a",
  "rgb": {
    "r": 93,
    "g": 119,
    "b": 26
  },
  "hsl": {
    "h": 76.774,
    "s": 64.138,
    "l": 28.431
  },
  "oklch": {
    "l": 0.53035,
    "c": 0.12006,
    "h": 124.4
  },
  "luminance": 0.15595
}

Semantic roles & 50–950 ramp

primary
#5D771A
secondary
#5F41AC
accent
#41E76F
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0D0E05
muted
#7D7E79

Preview Lab

Preview with #5D771A

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

Preview Lab → · Contrast checker → · Palette generator →

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