#5E8B20#5E8B20

#5E8B20 is a mid, vivid yellow-green. Relative luminance 0.209; OKLCH L 58.3% C 0.142 H 130.2°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#5E8B20
RGBrgb(94, 139, 32)
HSLhsl(85, 63%, 34%)
HSVhsv(85, 77%, 55%)
CMYKcmyk(32.4%, 0%, 77%, 45.5%)
CIE-LABlab(52.89, -32.21, 48.79)
CIE-LCHlch(52.89, 58.47, 123.43°)
OKLaboklab(58.3% -0.0916 0.1086)
OKLCHoklch(58.3% 0.142 130.2)
XYZxyz(14.1093, 20.9488, 4.6663)
Luminance0.2095 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8B20 #4D208B
analogous
#8B8220 #5E8B20 #288B20
triadic
#5E8B20 #205E8B #8B205E
tetradic
#5E8B20 #208B82 #4D208B #8B2028
square
#5E8B20 #208B82 #4D208B #8B2028
split-complementary
#5E8B20 #20288B #82208B
monochromatic
#1B2809 #3C5915 #5E8B20 #80BD2B #9DD64F

Accessibility & contrast

On white

4.05
#5E8B20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#5E8B20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E8B20
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E8B20#FFFFFF#000000##000000
##5E8B201.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#928008
Deuteranopia (green-blind)
#8B7D2B
Tritanopia (blue-blind)
#608577
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5e8b20;
/* rgb */ color: rgb(94, 139, 32);
/* oklch */ color: oklch(58.3% 0.142 130.2);
Tailwind
colors: {
  custom: {
    50: '#90ad64',
    500: '#5e8b20',
    950: '#000000',
  },
}
SCSS
$custom: #5e8b20;
$custom-light: #90ad64;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8b20",
  "rgb": {
    "r": 94,
    "g": 139,
    "b": 32
  },
  "hsl": {
    "h": 85.234,
    "s": 62.573,
    "l": 33.529
  },
  "oklch": {
    "l": 0.58305,
    "c": 0.14212,
    "h": 130.2
  },
  "luminance": 0.20949
}

Semantic roles & 50–950 ramp

primary
#5E8B20
secondary
#7B4DBA
accent
#42E687
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5E8B20

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

Preview Lab → · Contrast checker → · Palette generator →

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