#5E781E#5E781E

#5E781E is a mid, moderate yellow-green. Relative luminance 0.159; OKLCH L 53.4% C 0.118 H 124.5°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#5E781E
RGBrgb(94, 120, 30)
HSLhsl(77, 60%, 29%)
HSVhsv(77, 75%, 47%)
CMYKcmyk(21.7%, 0%, 75%, 52.9%)
CIE-LABlab(46.85, -23.13, 43.65)
CIE-LCHlch(46.85, 49.40, 117.92°)
OKLaboklab(53.4% -0.0671 0.0975)
OKLCHoklch(53.4% 0.118 124.5)
XYZxyz(11.5670, 15.9062, 3.6889)
Luminance0.1591 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E781E #381E78
analogous
#78651E #5E781E #31781E
triadic
#5E781E #1E5E78 #781E5E
tetradic
#5E781E #1E7865 #381E78 #781E31
square
#5E781E #1E7865 #381E78 #781E31
split-complementary
#5E781E #1E3178 #651E78
monochromatic
#131806 #384712 #5E781E #84A92A #A6CF41

Accessibility & contrast

On white

5.02
#5E781E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#5E781E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E781E
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E781E#FFFFFF#000000##FFFFFF
##5E781E1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e781e;
/* rgb */ color: rgb(94, 120, 30);
/* oklch */ color: oklch(53.4% 0.118 124.5);
Tailwind
colors: {
  custom: {
    50: '#8f9f61',
    500: '#5e781e',
    950: '#000000',
  },
}
SCSS
$custom: #5e781e;
$custom-light: #8f9f61;
$custom-dark: #000000;
JSON
{
  "hex": "#5e781e",
  "rgb": {
    "r": 94,
    "g": 120,
    "b": 30
  },
  "hsl": {
    "h": 77.333,
    "s": 60,
    "l": 29.412
  },
  "oklch": {
    "l": 0.53395,
    "c": 0.11834,
    "h": 124.5
  },
  "luminance": 0.15906
}

Semantic roles & 50–950 ramp

primary
#5E781E
secondary
#6346AC
accent
#45E372
background
#F9F9F5
surface
#F1F2EA
border
#CBCCC6
text
#0D0E05
muted
#7E7E79

Preview Lab

Preview with #5E781E

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

Preview Lab → · Contrast checker → · Palette generator →

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