#5F8E22#5F8E22

#5F8E22 is a mid, vivid yellow-green. Relative luminance 0.219; OKLCH L 59.2% C 0.144 H 130.6°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#5F8E22
RGBrgb(95, 142, 34)
HSLhsl(86, 61%, 35%)
HSVhsv(86, 76%, 56%)
CMYKcmyk(33.1%, 0%, 76.1%, 44.3%)
CIE-LABlab(53.91, -33.08, 49.09)
CIE-LCHlch(53.91, 59.19, 123.98°)
OKLaboklab(59.16% -0.0939 0.1095)
OKLCHoklch(59.16% 0.144 130.6)
XYZxyz(14.6809, 21.8939, 4.9655)
Luminance0.2189 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8E22 #51228E
analogous
#8E8722 #5F8E22 #298E22
triadic
#5F8E22 #225F8E #8E225F
tetradic
#5F8E22 #228E87 #51228E #8E2229
square
#5F8E22 #228E87 #51228E #8E2229
split-complementary
#5F8E22 #22298E #87228E
monochromatic
#1D2B0A #3E5D16 #5F8E22 #80BF2E #9ED654

Accessibility & contrast

On white

3.90
#5F8E22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#5F8E22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F8E22
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F8E22#FFFFFF#000000##000000
##5F8E221.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f8e22;
/* rgb */ color: rgb(95, 142, 34);
/* oklch */ color: oklch(59.2% 0.144 130.6);
Tailwind
colors: {
  custom: {
    50: '#91af65',
    500: '#5f8e22',
    950: '#000000',
  },
}
SCSS
$custom: #5f8e22;
$custom-light: #91af65;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8e22",
  "rgb": {
    "r": 95,
    "g": 142,
    "b": 34
  },
  "hsl": {
    "h": 86.111,
    "s": 61.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.59156,
    "c": 0.1443,
    "h": 130.6
  },
  "luminance": 0.21894
}

Semantic roles & 50–950 ramp

primary
#5F8E22
secondary
#7F52BA
accent
#43E489
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5F8E22

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

Preview Lab → · Contrast checker → · Palette generator →

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