#5E841D#5E841D

#5E841D is a mid, vivid yellow-green. Relative luminance 0.190; OKLCH L 56.5% C 0.135 H 128.2°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#5E841D
RGBrgb(94, 132, 29)
HSLhsl(82, 64%, 32%)
HSVhsv(82, 78%, 52%)
CMYKcmyk(28.8%, 0%, 78%, 48.2%)
CIE-LABlab(50.65, -29.09, 47.70)
CIE-LCHlch(50.65, 55.87, 121.38°)
OKLaboklab(56.48% -0.0834 0.1058)
OKLCHoklch(56.48% 0.135 128.2)
XYZxyz(13.0891, 18.9706, 4.1342)
Luminance0.1897 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E841D #431D84
analogous
#84771D #5E841D #2B841D
triadic
#5E841D #1D5E84 #841D5E
tetradic
#5E841D #1D8477 #431D84 #841D2B
square
#5E841D #1D8477 #431D84 #841D2B
split-complementary
#5E841D #1D2B84 #771D84
monochromatic
#172007 #3A5212 #5E841D #82B628 #A1D645

Accessibility & contrast

On white

4.38
#5E841D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#5E841D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E841D
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E841D#FFFFFF#000000##000000
##5E841D1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A05
Deuteranopia (green-blind)
#867827
Tritanopia (blue-blind)
#617E71
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #5e841d;
/* rgb */ color: rgb(94, 132, 29);
/* oklch */ color: oklch(56.5% 0.135 128.2);
Tailwind
colors: {
  custom: {
    50: '#8fa862',
    500: '#5e841d',
    950: '#000000',
  },
}
SCSS
$custom: #5e841d;
$custom-light: #8fa862;
$custom-dark: #000000;
JSON
{
  "hex": "#5e841d",
  "rgb": {
    "r": 94,
    "g": 132,
    "b": 29
  },
  "hsl": {
    "h": 82.136,
    "s": 63.975,
    "l": 31.569
  },
  "oklch": {
    "l": 0.56476,
    "c": 0.13475,
    "h": 128.2
  },
  "luminance": 0.18971
}

Semantic roles & 50–950 ramp

primary
#5E841D
secondary
#7046B7
accent
#41E77E
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D0F05
muted
#7E7F7A

Preview Lab

Preview with #5E841D

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

Preview Lab → · Contrast checker → · Palette generator →

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