#5E8D1D#5E8D1D

#5E8D1D is a mid, vivid yellow-green. Relative luminance 0.215; OKLCH L 58.8% C 0.146 H 130.4°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#5E8D1D
RGBrgb(94, 141, 29)
HSLhsl(85, 66%, 33%)
HSVhsv(85, 79%, 55%)
CMYKcmyk(33.3%, 0%, 79.4%, 44.7%)
CIE-LABlab(53.51, -33.30, 50.40)
CIE-LCHlch(53.51, 60.41, 123.45°)
OKLaboklab(58.8% -0.0948 0.1115)
OKLCHoklch(58.8% 0.146 130.4)
XYZxyz(14.3627, 21.5177, 4.5587)
Luminance0.2152 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8D1D #4C1D8D
analogous
#8D841D #5E8D1D #268D1D
triadic
#5E8D1D #1D5E8D #8D1D5E
tetradic
#5E8D1D #1D8D84 #4C1D8D #8D1D26
square
#5E8D1D #1D8D84 #4C1D8D #8D1D26
split-complementary
#5E8D1D #1D268D #841D8D
monochromatic
#1A2708 #3C5A13 #5E8D1D #80C027 #9EDA4B

Accessibility & contrast

On white

3.96
#5E8D1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#5E8D1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E8D1D
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E8D1D#FFFFFF#000000##000000
##5E8D1D1.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#948200
Deuteranopia (green-blind)
#8D7F29
Tritanopia (blue-blind)
#608778
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #5e8d1d;
/* rgb */ color: rgb(94, 141, 29);
/* oklch */ color: oklch(58.8% 0.146 130.4);
Tailwind
colors: {
  custom: {
    50: '#90ae63',
    500: '#5e8d1d',
    950: '#000000',
  },
}
SCSS
$custom: #5e8d1d;
$custom-light: #90ae63;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8d1d",
  "rgb": {
    "r": 94,
    "g": 141,
    "b": 29
  },
  "hsl": {
    "h": 85.179,
    "s": 65.882,
    "l": 33.333
  },
  "oklch": {
    "l": 0.58803,
    "c": 0.14637,
    "h": 130.4
  },
  "luminance": 0.21518
}

Semantic roles & 50–950 ramp

primary
#5E8D1D
secondary
#7A4ABC
accent
#3FE986
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5E8D1D

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

Preview Lab → · Contrast checker → · Palette generator →

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