#5E8F1D#5E8F1D

#5E8F1D is a mid, vivid yellow-green. Relative luminance 0.221; OKLCH L 59.3% C 0.149 H 130.8°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#5E8F1D
RGBrgb(94, 143, 29)
HSLhsl(86, 66%, 34%)
HSVhsv(86, 80%, 56%)
CMYKcmyk(34.3%, 0%, 79.7%, 43.9%)
CIE-LABlab(54.15, -34.21, 50.99)
CIE-LCHlch(54.15, 61.41, 123.86°)
OKLaboklab(59.32% -0.0973 0.1128)
OKLCHoklch(59.32% 0.149 130.8)
XYZxyz(14.6602, 22.1128, 4.6579)
Luminance0.2211 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8F1D #4E1D8F
analogous
#8F871D #5E8F1D #258F1D
triadic
#5E8F1D #1D5E8F #8F1D5E
tetradic
#5E8F1D #1D8F87 #4E1D8F #8F1D25
square
#5E8F1D #1D8F87 #4E1D8F #8F1D25
split-complementary
#5E8F1D #1D258F #871D8F
monochromatic
#1B2908 #3D5C13 #5E8F1D #7FC227 #9DDB4C

Accessibility & contrast

On white

3.87
#5E8F1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#5E8F1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E8F1D
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E8F1D#FFFFFF#000000##000000
##5E8F1D1.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#8F8029
Tritanopia (blue-blind)
#60897A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5e8f1d;
/* rgb */ color: rgb(94, 143, 29);
/* oklch */ color: oklch(59.3% 0.149 130.8);
Tailwind
colors: {
  custom: {
    50: '#90b063',
    500: '#5e8f1d',
    950: '#000000',
  },
}
SCSS
$custom: #5e8f1d;
$custom-light: #90b063;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8f1d",
  "rgb": {
    "r": 94,
    "g": 143,
    "b": 29
  },
  "hsl": {
    "h": 85.789,
    "s": 66.279,
    "l": 33.725
  },
  "oklch": {
    "l": 0.59321,
    "c": 0.14892,
    "h": 130.8
  },
  "luminance": 0.22113
}

Semantic roles & 50–950 ramp

primary
#5E8F1D
secondary
#7C4BBD
accent
#3FE988
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5E8F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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