#5E8E22#5E8E22

#5E8E22 is a mid, vivid yellow-green. Relative luminance 0.218; OKLCH L 59.1% C 0.145 H 130.9°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#5E8E22
RGBrgb(94, 142, 34)
HSLhsl(87, 61%, 35%)
HSVhsv(87, 76%, 56%)
CMYKcmyk(33.8%, 0%, 76.1%, 44.3%)
CIE-LABlab(53.86, -33.47, 49.01)
CIE-LCHlch(53.86, 59.35, 124.33°)
OKLaboklab(59.1% -0.0949 0.1094)
OKLCHoklch(59.1% 0.145 130.9)
XYZxyz(14.5777, 21.8407, 4.9607)
Luminance0.2184 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E8E22 #52228E
analogous
#8E8822 #5E8E22 #288E22
triadic
#5E8E22 #225E8E #8E225E
tetradic
#5E8E22 #228E88 #52228E #8E2228
square
#5E8E22 #228E88 #52228E #8E2228
split-complementary
#5E8E22 #22288E #88228E
monochromatic
#1D2B0A #3D5D16 #5E8E22 #7FBF2E #9CD654

Accessibility & contrast

On white

3.91
#5E8E22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#5E8E22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E8E22
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E8E22#FFFFFF#000000##000000
##5E8E221.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#95830B
Deuteranopia (green-blind)
#8E7F2D
Tritanopia (blue-blind)
#608879
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5e8e22;
/* rgb */ color: rgb(94, 142, 34);
/* oklch */ color: oklch(59.1% 0.145 130.9);
Tailwind
colors: {
  custom: {
    50: '#90af65',
    500: '#5e8e22',
    950: '#000000',
  },
}
SCSS
$custom: #5e8e22;
$custom-light: #90af65;
$custom-dark: #000000;
JSON
{
  "hex": "#5e8e22",
  "rgb": {
    "r": 94,
    "g": 142,
    "b": 34
  },
  "hsl": {
    "h": 86.667,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.59095,
    "c": 0.14483,
    "h": 130.9
  },
  "luminance": 0.21841
}

Semantic roles & 50–950 ramp

primary
#5E8E22
secondary
#8052BA
accent
#43E48B
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5E8E22

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

Preview Lab → · Contrast checker → · Palette generator →

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