#5D771C#5D771C

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

Color values

HEX#5D771C
RGBrgb(93, 119, 28)
HSLhsl(77, 62%, 29%)
HSVhsv(77, 76%, 47%)
CMYKcmyk(21.8%, 0%, 76.5%, 53.3%)
CIE-LABlab(46.45, -23.18, 44.00)
CIE-LCHlch(46.45, 49.73, 117.78°)
OKLaboklab(53.05% -0.0673 0.0979)
OKLCHoklch(53.05% 0.119 124.5)
XYZxyz(11.3207, 15.6045, 3.5139)
Luminance0.1560 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D771C #361C77
analogous
#77641C #5D771C #30771C
triadic
#5D771C #1C5D77 #771C5D
tetradic
#5D771C #1C7764 #361C77 #771C30
square
#5D771C #1C7764 #361C77 #771C30
split-complementary
#5D771C #1C3077 #641C77
monochromatic
#131906 #364510 #5D771C #84A928 #A7D13C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #5d771c;
/* rgb */ color: rgb(93, 119, 28);
/* oklch */ color: oklch(53.0% 0.119 124.5);
Tailwind
colors: {
  custom: {
    50: '#8e9e5f',
    500: '#5d771c',
    950: '#000000',
  },
}
SCSS
$custom: #5d771c;
$custom-light: #8e9e5f;
$custom-dark: #000000;
JSON
{
  "hex": "#5d771c",
  "rgb": {
    "r": 93,
    "g": 119,
    "b": 28
  },
  "hsl": {
    "h": 77.143,
    "s": 61.905,
    "l": 28.824
  },
  "oklch": {
    "l": 0.53049,
    "c": 0.11882,
    "h": 124.5
  },
  "luminance": 0.15605
}

Semantic roles & 50–950 ramp

primary
#5D771C
secondary
#6144AB
accent
#43E571
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0D0E05
muted
#7D7E79

Preview Lab

Preview with #5D771C

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

Preview Lab → · Contrast checker → · Palette generator →

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