#5F8F22#5F8F22

#5F8F22 is a mid, vivid yellow-green. Relative luminance 0.222; OKLCH L 59.4% C 0.146 H 130.8°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#5F8F22
RGBrgb(95, 143, 34)
HSLhsl(86, 62%, 35%)
HSVhsv(86, 76%, 56%)
CMYKcmyk(33.6%, 0%, 76.2%, 43.9%)
CIE-LABlab(54.23, -33.54, 49.40)
CIE-LCHlch(54.23, 59.71, 124.18°)
OKLaboklab(59.41% -0.0952 0.1102)
OKLCHoklch(59.41% 0.146 130.8)
XYZxyz(14.8304, 22.1928, 5.0153)
Luminance0.2219 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8F22 #52228F
analogous
#8F8922 #5F8F22 #298F22
triadic
#5F8F22 #225F8F #8F225F
tetradic
#5F8F22 #228F89 #52228F #8F2229
square
#5F8F22 #228F89 #52228F #8F2229
split-complementary
#5F8F22 #22298F #89228F
monochromatic
#1D2C0A #3E5E16 #5F8F22 #80C02E #9DD755

Accessibility & contrast

On white

3.86
#5F8F22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#5F8F22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F8F22
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F8F22#FFFFFF#000000##000000
##5F8F221.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#96840A
Deuteranopia (green-blind)
#8F802D
Tritanopia (blue-blind)
#61897A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5f8f22;
/* rgb */ color: rgb(95, 143, 34);
/* oklch */ color: oklch(59.4% 0.146 130.8);
Tailwind
colors: {
  custom: {
    50: '#91b066',
    500: '#5f8f22',
    950: '#000000',
  },
}
SCSS
$custom: #5f8f22;
$custom-light: #91b066;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8f22",
  "rgb": {
    "r": 95,
    "g": 143,
    "b": 34
  },
  "hsl": {
    "h": 86.422,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.59414,
    "c": 0.14559,
    "h": 130.8
  },
  "luminance": 0.22193
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5F8F22

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

Preview Lab → · Contrast checker → · Palette generator →

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