#5E8F20#5E8F20

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

Color values

HEX#5E8F20
RGBrgb(94, 143, 32)
HSLhsl(86, 63%, 34%)
HSVhsv(86, 78%, 56%)
CMYKcmyk(34.3%, 0%, 77.6%, 43.9%)
CIE-LABlab(54.16, -34.04, 50.01)
CIE-LCHlch(54.16, 60.50, 124.24°)
OKLaboklab(59.34% -0.0966 0.1112)
OKLCHoklch(59.34% 0.147 131)
XYZxyz(14.6991, 22.1284, 4.8629)
Luminance0.2213 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8F20 #51208F
analogous
#8F8920 #5E8F20 #278F20
triadic
#5E8F20 #205E8F #8F205E
tetradic
#5E8F20 #208F89 #51208F #8F2027
square
#5E8F20 #208F89 #51208F #8F2027
split-complementary
#5E8F20 #20278F #89208F
monochromatic
#1C2B0A #3D5D15 #5E8F20 #7FC12B #9DD851

Accessibility & contrast

On white

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

On black

5.43
#5E8F20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E8F20
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E8F20#FFFFFF#000000##000000
##5E8F201.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e8f20;
/* rgb */ color: rgb(94, 143, 32);
/* oklch */ color: oklch(59.3% 0.147 131.0);
Tailwind
colors: {
  custom: {
    50: '#90b065',
    500: '#5e8f20',
    950: '#000000',
  },
}
SCSS
$custom: #5e8f20;
$custom-light: #90b065;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8f20",
  "rgb": {
    "r": 94,
    "g": 143,
    "b": 32
  },
  "hsl": {
    "h": 86.486,
    "s": 63.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.5934,
    "c": 0.1473,
    "h": 131
  },
  "luminance": 0.22129
}

Semantic roles & 50–950 ramp

primary
#5E8F20
secondary
#7F4FBB
accent
#41E68A
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5E8F20

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

Preview Lab → · Contrast checker → · Palette generator →

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