#5E781A#5E781A

#5E781A is a mid, vivid yellow-green. Relative luminance 0.159; OKLCH L 53.4% C 0.121 H 124.3°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#5E781A
RGBrgb(94, 120, 26)
HSLhsl(77, 64%, 29%)
HSVhsv(77, 78%, 47%)
CMYKcmyk(21.7%, 0%, 78.3%, 52.9%)
CIE-LABlab(46.83, -23.37, 45.11)
CIE-LCHlch(46.83, 50.81, 117.38°)
OKLaboklab(53.37% -0.068 0.0999)
OKLCHoklch(53.37% 0.121 124.3)
XYZxyz(11.5191, 15.8871, 3.4367)
Luminance0.1589 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E781A #341A78
analogous
#78631A #5E781A #2F781A
triadic
#5E781A #1A5E78 #781A5E
tetradic
#5E781A #1A7863 #341A78 #781A2F
square
#5E781A #1A7863 #341A78 #781A2F
split-complementary
#5E781A #1A2F78 #631A78
monochromatic
#141905 #37460F #5E781A #85AA25 #A9D438

Accessibility & contrast

On white

5.03
#5E781A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5E781A
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E781A#FFFFFF#000000##FFFFFF
##5E781A1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7005
Deuteranopia (green-blind)
#7C6F23
Tritanopia (blue-blind)
#637266
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5e781a;
/* rgb */ color: rgb(94, 120, 26);
/* oklch */ color: oklch(53.4% 0.121 124.3);
Tailwind
colors: {
  custom: {
    50: '#8f9f5f',
    500: '#5e781a',
    950: '#000000',
  },
}
SCSS
$custom: #5e781a;
$custom-light: #8f9f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#5e781a",
  "rgb": {
    "r": 94,
    "g": 120,
    "b": 26
  },
  "hsl": {
    "h": 76.596,
    "s": 64.384,
    "l": 28.627
  },
  "oklch": {
    "l": 0.53367,
    "c": 0.12086,
    "h": 124.3
  },
  "luminance": 0.15887
}

Semantic roles & 50–950 ramp

primary
#5E781A
secondary
#5F41AC
accent
#40E76F
background
#F9F9F5
surface
#F1F2EA
border
#CBCCC6
text
#0D0E05
muted
#7E7E79

Preview Lab

Preview with #5E781A

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

Preview Lab → · Contrast checker → · Palette generator →

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