#5E8820#5E8820

#5E8820 is a mid, vivid yellow-green. Relative luminance 0.201; OKLCH L 57.5% C 0.138 H 129.5°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#5E8820
RGBrgb(94, 136, 32)
HSLhsl(84, 62%, 33%)
HSVhsv(84, 76%, 53%)
CMYKcmyk(30.9%, 0%, 76.5%, 46.7%)
CIE-LABlab(51.94, -30.81, 47.87)
CIE-LCHlch(51.94, 56.93, 122.77°)
OKLaboklab(57.53% -0.0879 0.1067)
OKLCHoklch(57.53% 0.138 129.5)
XYZxyz(13.6809, 20.0919, 4.5235)
Luminance0.2009 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8820 #4A2088
analogous
#887E20 #5E8820 #2A8820
triadic
#5E8820 #205E88 #88205E
tetradic
#5E8820 #20887E #4A2088 #88202A
square
#5E8820 #20887E #4A2088 #88202A
split-complementary
#5E8820 #202A88 #7E2088
monochromatic
#1A2509 #3C5614 #5E8820 #80BA2C #9ED54D

Accessibility & contrast

On white

4.18
#5E8820 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#5E8820 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E8820
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E8820#FFFFFF#000000##000000
##5E88201.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E0A
Deuteranopia (green-blind)
#897B2A
Tritanopia (blue-blind)
#618274
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5e8820;
/* rgb */ color: rgb(94, 136, 32);
/* oklch */ color: oklch(57.5% 0.138 129.5);
Tailwind
colors: {
  custom: {
    50: '#8fab64',
    500: '#5e8820',
    950: '#000000',
  },
}
SCSS
$custom: #5e8820;
$custom-light: #8fab64;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8820",
  "rgb": {
    "r": 94,
    "g": 136,
    "b": 32
  },
  "hsl": {
    "h": 84.231,
    "s": 61.905,
    "l": 32.941
  },
  "oklch": {
    "l": 0.5753,
    "c": 0.13821,
    "h": 129.5
  },
  "luminance": 0.20092
}

Semantic roles & 50–950 ramp

primary
#5E8820
secondary
#774CB8
accent
#43E584
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5E8820

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

Preview Lab → · Contrast checker → · Palette generator →

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