#5E782A#5E782A

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

Color values

HEX#5E782A
RGBrgb(94, 120, 42)
HSLhsl(80, 48%, 32%)
HSVhsv(80, 65%, 47%)
CMYKcmyk(21.7%, 0%, 65%, 52.9%)
CIE-LABlab(46.95, -22.24, 38.60)
CIE-LCHlch(46.95, 44.55, 119.96°)
OKLaboklab(53.5% -0.0635 0.0887)
OKLCHoklch(53.5% 0.109 125.6)
XYZxyz(11.7505, 15.9797, 4.6554)
Luminance0.1598 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E782A #442A78
analogous
#786B2A #5E782A #37782A
triadic
#5E782A #2A5E78 #782A5E
tetradic
#5E782A #2A786B #442A78 #782A37
square
#5E782A #2A786B #442A78 #782A37
split-complementary
#5E782A #2A3778 #6B2A78
monochromatic
#171D0A #3A4B1A #5E782A #82A53A #A0C558

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E782A#FFFFFF#000000##FFFFFF
##5E782A1.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)
#7E7021
Deuteranopia (green-blind)
#7B6F30
Tritanopia (blue-blind)
#627268
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5e782a;
/* rgb */ color: rgb(94, 120, 42);
/* oklch */ color: oklch(53.5% 0.109 125.6);
Tailwind
colors: {
  custom: {
    50: '#8e9f67',
    500: '#5e782a',
    950: '#000000',
  },
}
SCSS
$custom: #5e782a;
$custom-light: #8e9f67;
$custom-dark: #000000;
JSON
{
  "hex": "#5e782a",
  "rgb": {
    "r": 94,
    "g": 120,
    "b": 42
  },
  "hsl": {
    "h": 80,
    "s": 48.148,
    "l": 31.765
  },
  "oklch": {
    "l": 0.53504,
    "c": 0.10908,
    "h": 125.6
  },
  "luminance": 0.1598
}

Semantic roles & 50–950 ramp

primary
#5E782A
secondary
#7154AA
accent
#50D87D
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0C0E06
muted
#7D7E7A

Preview Lab

Preview with #5E782A

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

Preview Lab → · Contrast checker → · Palette generator →

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