#5E8A1E#5E8A1E

#5E8A1E is a mid, vivid yellow-green. Relative luminance 0.206; OKLCH L 58.0% C 0.142 H 129.8°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#5E8A1E
RGBrgb(94, 138, 30)
HSLhsl(84, 64%, 33%)
HSVhsv(84, 78%, 54%)
CMYKcmyk(31.9%, 0%, 78.3%, 45.9%)
CIE-LABlab(52.56, -31.86, 49.17)
CIE-LCHlch(52.56, 58.59, 122.94°)
OKLaboklab(58.03% -0.0909 0.1091)
OKLCHoklch(58.03% 0.142 129.8)
XYZxyz(13.9389, 20.6499, 4.4795)
Luminance0.2065 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8A1E #4A1E8A
analogous
#8A801E #5E8A1E #288A1E
triadic
#5E8A1E #1E5E8A #8A1E5E
tetradic
#5E8A1E #1E8A80 #4A1E8A #8A1E28
square
#5E8A1E #1E8A80 #4A1E8A #8A1E28
split-complementary
#5E8A1E #1E288A #801E8A
monochromatic
#1A2508 #3C5813 #5E8A1E #80BC29 #9ED84B

Accessibility & contrast

On white

4.09
#5E8A1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#5E8A1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E8A1E
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E8A1E#FFFFFF#000000##000000
##5E8A1E1.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#917F03
Deuteranopia (green-blind)
#8B7C29
Tritanopia (blue-blind)
#618476
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5e8a1e;
/* rgb */ color: rgb(94, 138, 30);
/* oklch */ color: oklch(58.0% 0.142 129.8);
Tailwind
colors: {
  custom: {
    50: '#90ac63',
    500: '#5e8a1e',
    950: '#000000',
  },
}
SCSS
$custom: #5e8a1e;
$custom-light: #90ac63;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8a1e",
  "rgb": {
    "r": 94,
    "g": 138,
    "b": 30
  },
  "hsl": {
    "h": 84.444,
    "s": 64.286,
    "l": 32.941
  },
  "oklch": {
    "l": 0.58033,
    "c": 0.14197,
    "h": 129.8
  },
  "luminance": 0.2065
}

Semantic roles & 50–950 ramp

primary
#5E8A1E
secondary
#774ABA
accent
#41E784
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5E8A1E

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

Preview Lab → · Contrast checker → · Palette generator →

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