#5E8F1E#5E8F1E

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

Color values

HEX#5E8F1E
RGBrgb(94, 143, 30)
HSLhsl(86, 65%, 34%)
HSVhsv(86, 79%, 56%)
CMYKcmyk(34.3%, 0%, 79%, 43.9%)
CIE-LABlab(54.15, -34.16, 50.67)
CIE-LCHlch(54.15, 61.11, 123.98°)
OKLaboklab(59.33% -0.0971 0.1122)
OKLCHoklch(59.33% 0.148 130.9)
XYZxyz(14.6728, 22.1178, 4.7241)
Luminance0.2212 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8F1E #4F1E8F
analogous
#8F881E #5E8F1E #258F1E
triadic
#5E8F1E #1E5E8F #8F1E5E
tetradic
#5E8F1E #1E8F88 #4F1E8F #8F1E25
square
#5E8F1E #1E8F88 #4F1E8F #8F1E25
split-complementary
#5E8F1E #1E258F #881E8F
monochromatic
#1B2A09 #3D5C13 #5E8F1E #7FC229 #9DDA4E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E8F1E#FFFFFF#000000##000000
##5E8F1E1.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)
#8F802A
Tritanopia (blue-blind)
#60897A
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5e8f1e;
/* rgb */ color: rgb(94, 143, 30);
/* oklch */ color: oklch(59.3% 0.148 130.9);
Tailwind
colors: {
  custom: {
    50: '#90b064',
    500: '#5e8f1e',
    950: '#000000',
  },
}
SCSS
$custom: #5e8f1e;
$custom-light: #90b064;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8f1e",
  "rgb": {
    "r": 94,
    "g": 143,
    "b": 30
  },
  "hsl": {
    "h": 86.018,
    "s": 65.318,
    "l": 33.922
  },
  "oklch": {
    "l": 0.59327,
    "c": 0.14839,
    "h": 130.9
  },
  "luminance": 0.22118
}

Semantic roles & 50–950 ramp

primary
#5E8F1E
secondary
#7D4CBC
accent
#40E889
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5E8F1E

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

Preview Lab → · Contrast checker → · Palette generator →

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