#5E782D#5E782D

#5E782D is a mid, moderate yellow-green. Relative luminance 0.160; OKLCH L 53.5% C 0.106 H 125.9°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#5E782D
RGBrgb(94, 120, 45)
HSLhsl(81, 45%, 32%)
HSVhsv(81, 63%, 47%)
CMYKcmyk(21.7%, 0%, 62.5%, 52.9%)
CIE-LABlab(46.98, -21.98, 37.21)
CIE-LCHlch(46.98, 43.21, 120.57°)
OKLaboklab(53.54% -0.0624 0.0862)
OKLCHoklch(53.54% 0.106 125.9)
XYZxyz(11.8062, 16.0019, 4.9488)
Luminance0.1600 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E782D #472D78
analogous
#786D2D #5E782D #38782D
triadic
#5E782D #2D5E78 #782D5E
tetradic
#5E782D #2D786D #472D78 #782D38
square
#5E782D #2D786D #472D78 #782D38
split-complementary
#5E782D #2D3878 #6D2D78
monochromatic
#181F0C #3B4B1C #5E782D #81A53E #9FC25D

Accessibility & contrast

On white

5.00
#5E782D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#5E782D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E782D
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E782D#FFFFFF#000000##FFFFFF
##5E782D1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7025
Deuteranopia (green-blind)
#7B6F32
Tritanopia (blue-blind)
#627368
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5e782d;
/* rgb */ color: rgb(94, 120, 45);
/* oklch */ color: oklch(53.5% 0.106 125.9);
Tailwind
colors: {
  custom: {
    50: '#8e9f69',
    500: '#5e782d',
    950: '#000000',
  },
}
SCSS
$custom: #5e782d;
$custom-light: #8e9f69;
$custom-dark: #000000;
JSON
{
  "hex": "#5e782d",
  "rgb": {
    "r": 94,
    "g": 120,
    "b": 45
  },
  "hsl": {
    "h": 80.8,
    "s": 45.455,
    "l": 32.353
  },
  "oklch": {
    "l": 0.53537,
    "c": 0.10639,
    "h": 125.9
  },
  "luminance": 0.16002
}

Semantic roles & 50–950 ramp

primary
#5E782D
secondary
#7458A9
accent
#53D580
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0E06
muted
#7D7E7A

Preview Lab

Preview with #5E782D

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

Preview Lab → · Contrast checker → · Palette generator →

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