#5E8822#5E8822

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

Color values

HEX#5E8822
RGBrgb(94, 136, 34)
HSLhsl(85, 60%, 33%)
HSVhsv(85, 75%, 53%)
CMYKcmyk(30.9%, 0%, 75%, 46.7%)
CIE-LABlab(51.95, -30.69, 47.15)
CIE-LCHlch(51.95, 56.26, 123.06°)
OKLaboklab(57.54% -0.0874 0.1055)
OKLCHoklch(57.54% 0.137 129.6)
XYZxyz(13.7089, 20.1031, 4.6711)
Luminance0.2010 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8822 #4C2288
analogous
#887F22 #5E8822 #2B8822
triadic
#5E8822 #225E88 #88225E
tetradic
#5E8822 #22887F #4C2288 #88222B
square
#5E8822 #22887F #4C2288 #88222B
split-complementary
#5E8822 #222B88 #7F2288
monochromatic
#1A260A #3C5716 #5E8822 #80B92E #9ED351

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E8822#FFFFFF#000000##000000
##5E88221.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)
#8F7E0E
Deuteranopia (green-blind)
#897B2C
Tritanopia (blue-blind)
#618274
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #5e8822;
/* rgb */ color: rgb(94, 136, 34);
/* oklch */ color: oklch(57.5% 0.137 129.6);
Tailwind
colors: {
  custom: {
    50: '#8fab65',
    500: '#5e8822',
    950: '#000000',
  },
}
SCSS
$custom: #5e8822;
$custom-light: #8fab65;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8822",
  "rgb": {
    "r": 94,
    "g": 136,
    "b": 34
  },
  "hsl": {
    "h": 84.706,
    "s": 60,
    "l": 33.333
  },
  "oklch": {
    "l": 0.57544,
    "c": 0.13697,
    "h": 129.6
  },
  "luminance": 0.20103
}

Semantic roles & 50–950 ramp

primary
#5E8822
secondary
#7A4FB7
accent
#45E386
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5E8822

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

Preview Lab → · Contrast checker → · Palette generator →

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