#5E8E1D#5E8E1D

#5E8E1D is a mid, vivid yellow-green. Relative luminance 0.218; OKLCH L 59.1% C 0.148 H 130.6°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#5E8E1D
RGBrgb(94, 142, 29)
HSLhsl(85, 66%, 34%)
HSVhsv(85, 80%, 56%)
CMYKcmyk(33.8%, 0%, 79.6%, 44.3%)
CIE-LABlab(53.83, -33.76, 50.70)
CIE-LCHlch(53.83, 60.91, 123.66°)
OKLaboklab(59.06% -0.0961 0.1121)
OKLCHoklch(59.06% 0.148 130.6)
XYZxyz(14.5108, 21.8139, 4.6081)
Luminance0.2181 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8E1D #4D1D8E
analogous
#8E851D #5E8E1D #258E1D
triadic
#5E8E1D #1D5E8E #8E1D5E
tetradic
#5E8E1D #1D8E85 #4D1D8E #8E1D25
square
#5E8E1D #1D8E85 #4D1D8E #8E1D25
split-complementary
#5E8E1D #1D258E #851D8E
monochromatic
#1B2808 #3C5B13 #5E8E1D #80C127 #9DDA4B

Accessibility & contrast

On white

3.92
#5E8E1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#5E8E1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E8E1D
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E8E1D#FFFFFF#000000##000000
##5E8E1D1.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#958300
Deuteranopia (green-blind)
#8E7F29
Tritanopia (blue-blind)
#608879
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5e8e1d;
/* rgb */ color: rgb(94, 142, 29);
/* oklch */ color: oklch(59.1% 0.148 130.6);
Tailwind
colors: {
  custom: {
    50: '#90af63',
    500: '#5e8e1d',
    950: '#000000',
  },
}
SCSS
$custom: #5e8e1d;
$custom-light: #90af63;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8e1d",
  "rgb": {
    "r": 94,
    "g": 142,
    "b": 29
  },
  "hsl": {
    "h": 85.487,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.59062,
    "c": 0.14765,
    "h": 130.6
  },
  "luminance": 0.21814
}

Semantic roles & 50–950 ramp

primary
#5E8E1D
secondary
#7B4ABD
accent
#3FE987
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5E8E1D

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

Preview Lab → · Contrast checker → · Palette generator →

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