#5E781D#5E781D

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

Color values

HEX#5E781D
RGBrgb(94, 120, 29)
HSLhsl(77, 61%, 29%)
HSVhsv(77, 76%, 47%)
CMYKcmyk(21.7%, 0%, 75.8%, 52.9%)
CIE-LABlab(46.84, -23.19, 44.03)
CIE-LCHlch(46.84, 49.76, 117.78°)
OKLaboklab(53.39% -0.0673 0.0981)
OKLCHoklch(53.39% 0.119 124.5)
XYZxyz(11.5544, 15.9012, 3.6227)
Luminance0.1590 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E781D #371D78
analogous
#78651D #5E781D #31781D
triadic
#5E781D #1D5E78 #781D5E
tetradic
#5E781D #1D7865 #371D78 #781D31
square
#5E781D #1D7865 #371D78 #781D31
split-complementary
#5E781D #1D3178 #651D78
monochromatic
#131906 #374711 #5E781D #85A929 #A7D13F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E781D#FFFFFF#000000##FFFFFF
##5E781D1.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)
#7F700B
Deuteranopia (green-blind)
#7C6F25
Tritanopia (blue-blind)
#637266
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #5e781d;
/* rgb */ color: rgb(94, 120, 29);
/* oklch */ color: oklch(53.4% 0.119 124.5);
Tailwind
colors: {
  custom: {
    50: '#8f9f60',
    500: '#5e781d',
    950: '#000000',
  },
}
SCSS
$custom: #5e781d;
$custom-light: #8f9f60;
$custom-dark: #000000;
JSON
{
  "hex": "#5e781d",
  "rgb": {
    "r": 94,
    "g": 120,
    "b": 29
  },
  "hsl": {
    "h": 77.143,
    "s": 61.074,
    "l": 29.216
  },
  "oklch": {
    "l": 0.53388,
    "c": 0.11899,
    "h": 124.5
  },
  "luminance": 0.15901
}

Semantic roles & 50–950 ramp

primary
#5E781D
secondary
#6245AC
accent
#44E471
background
#F9F9F5
surface
#F1F2EA
border
#CBCCC6
text
#0D0E05
muted
#7E7E79

Preview Lab

Preview with #5E781D

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

Preview Lab → · Contrast checker → · Palette generator →

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