#5F9220#5F9220

#5F9220 is a mid, vivid yellow-green. Relative luminance 0.231; OKLCH L 60.2% C 0.151 H 131.3°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#5F9220
RGBrgb(95, 146, 32)
HSLhsl(87, 64%, 35%)
HSVhsv(87, 78%, 57%)
CMYKcmyk(34.9%, 0%, 78.1%, 42.7%)
CIE-LABlab(55.17, -35.02, 50.99)
CIE-LCHlch(55.17, 61.86, 124.48°)
OKLaboklab(60.18% -0.0993 0.1132)
OKLCHoklch(60.18% 0.151 131.3)
XYZxyz(15.2588, 23.0944, 5.0199)
Luminance0.2309 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9220 #532092
analogous
#928C20 #5F9220 #269220
triadic
#5F9220 #205F92 #92205F
tetradic
#5F9220 #20928C #532092 #922026
square
#5F9220 #20928C #532092 #922026
split-complementary
#5F9220 #202692 #8C2092
monochromatic
#1E2E0A #3E6015 #5F9220 #80C42B #9DD953

Accessibility & contrast

On white

3.74
#5F9220 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#5F9220 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F9220
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F9220#FFFFFF#000000##000000
##5F92201.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#998703
Deuteranopia (green-blind)
#92832C
Tritanopia (blue-blind)
#618C7D
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #5f9220;
/* rgb */ color: rgb(95, 146, 32);
/* oklch */ color: oklch(60.2% 0.151 131.3);
Tailwind
colors: {
  custom: {
    50: '#91b265',
    500: '#5f9220',
    950: '#000000',
  },
}
SCSS
$custom: #5f9220;
$custom-light: #91b265;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9220",
  "rgb": {
    "r": 95,
    "g": 146,
    "b": 32
  },
  "hsl": {
    "h": 86.842,
    "s": 64.045,
    "l": 34.902
  },
  "oklch": {
    "l": 0.60176,
    "c": 0.1506,
    "h": 131.3
  },
  "luminance": 0.23095
}

Semantic roles & 50–950 ramp

primary
#5F9220
secondary
#8151BD
accent
#41E78B
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5F9220

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

Preview Lab → · Contrast checker → · Palette generator →

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