#5D781E#5D781E

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

Color values

HEX#5D781E
RGBrgb(93, 120, 30)
HSLhsl(78, 60%, 29%)
HSVhsv(78, 75%, 47%)
CMYKcmyk(22.5%, 0%, 75%, 52.9%)
CIE-LABlab(46.78, -23.56, 43.56)
CIE-LCHlch(46.78, 49.52, 118.41°)
OKLaboklab(53.32% -0.0682 0.0973)
OKLCHoklch(53.32% 0.119 125)
XYZxyz(11.4651, 15.8537, 3.6841)
Luminance0.1585 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D781E #391E78
analogous
#78661E #5D781E #30781E
triadic
#5D781E #1E5D78 #781E5D
tetradic
#5D781E #1E7866 #391E78 #781E30
square
#5D781E #1E7866 #391E78 #781E30
split-complementary
#5D781E #1E3078 #661E78
monochromatic
#131806 #374712 #5D781E #83A92A #A5CF41

Accessibility & contrast

On white

5.04
#5D781E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#5D781E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D781E
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D781E#FFFFFF#000000##FFFFFF
##5D781E1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F700D
Deuteranopia (green-blind)
#7B6F26
Tritanopia (blue-blind)
#617267
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5d781e;
/* rgb */ color: rgb(93, 120, 30);
/* oklch */ color: oklch(53.3% 0.119 125.0);
Tailwind
colors: {
  custom: {
    50: '#8e9f61',
    500: '#5d781e',
    950: '#000000',
  },
}
SCSS
$custom: #5d781e;
$custom-light: #8e9f61;
$custom-dark: #000000;
JSON
{
  "hex": "#5d781e",
  "rgb": {
    "r": 93,
    "g": 120,
    "b": 30
  },
  "hsl": {
    "h": 78,
    "s": 60,
    "l": 29.412
  },
  "oklch": {
    "l": 0.53321,
    "c": 0.11883,
    "h": 125
  },
  "luminance": 0.15854
}

Semantic roles & 50–950 ramp

primary
#5D781E
secondary
#6546AC
accent
#45E374
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0D0E05
muted
#7D7E79

Preview Lab

Preview with #5D781E

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

Preview Lab → · Contrast checker → · Palette generator →

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