#5E8A1D#5E8A1D

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

Color values

HEX#5E8A1D
RGBrgb(94, 138, 29)
HSLhsl(84, 65%, 33%)
HSVhsv(84, 79%, 54%)
CMYKcmyk(31.9%, 0%, 79%, 45.9%)
CIE-LABlab(52.56, -31.92, 49.50)
CIE-LCHlch(52.56, 58.90, 122.81°)
OKLaboklab(58.03% -0.0911 0.1096)
OKLCHoklch(58.03% 0.143 129.7)
XYZxyz(13.9263, 20.6449, 4.4133)
Luminance0.2064 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8A1D #491D8A
analogous
#8A7F1D #5E8A1D #288A1D
triadic
#5E8A1D #1D5E8A #8A1D5E
tetradic
#5E8A1D #1D8A7F #491D8A #8A1D28
square
#5E8A1D #1D8A7F #491D8A #8A1D28
split-complementary
#5E8A1D #1D288A #7F1D8A
monochromatic
#192508 #3C5712 #5E8A1D #80BD28 #9FD949

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E8A1D#FFFFFF#000000##000000
##5E8A1D1.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)
#917F01
Deuteranopia (green-blind)
#8B7C28
Tritanopia (blue-blind)
#618476
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #5e8a1d;
/* rgb */ color: rgb(94, 138, 29);
/* oklch */ color: oklch(58.0% 0.143 129.7);
Tailwind
colors: {
  custom: {
    50: '#90ac62',
    500: '#5e8a1d',
    950: '#000000',
  },
}
SCSS
$custom: #5e8a1d;
$custom-light: #90ac62;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8a1d",
  "rgb": {
    "r": 94,
    "g": 138,
    "b": 29
  },
  "hsl": {
    "h": 84.22,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.58027,
    "c": 0.14253,
    "h": 129.7
  },
  "luminance": 0.20645
}

Semantic roles & 50–950 ramp

primary
#5E8A1D
secondary
#7648BB
accent
#40E884
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5E8A1D

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

Preview Lab → · Contrast checker → · Palette generator →

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