#5F9420#5F9420

#5F9420 is a mid, vivid yellow-green. Relative luminance 0.237; OKLCH L 60.7% C 0.153 H 131.6°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#5F9420
RGBrgb(95, 148, 32)
HSLhsl(87, 64%, 35%)
HSVhsv(87, 78%, 58%)
CMYKcmyk(35.8%, 0%, 78.4%, 42%)
CIE-LABlab(55.80, -35.91, 51.59)
CIE-LCHlch(55.80, 62.86, 124.84°)
OKLaboklab(60.69% -0.1017 0.1145)
OKLCHoklch(60.69% 0.153 131.6)
XYZxyz(15.5698, 23.7164, 5.1236)
Luminance0.2372 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9420 #552094
analogous
#948F20 #5F9420 #259420
triadic
#5F9420 #205F94 #94205F
tetradic
#5F9420 #20948F #552094 #942025
square
#5F9420 #20948F #552094 #942025
split-complementary
#5F9420 #202594 #8F2094
monochromatic
#1E2F0A #3F6215 #5F9420 #7FC62B #9DDA54

Accessibility & contrast

On white

3.66
#5F9420 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#5F9420 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F9420
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F9420#FFFFFF#000000##000000
##5F94201.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8802
Deuteranopia (green-blind)
#93842C
Tritanopia (blue-blind)
#618E7E
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5f9420;
/* rgb */ color: rgb(95, 148, 32);
/* oklch */ color: oklch(60.7% 0.153 131.6);
Tailwind
colors: {
  custom: {
    50: '#91b465',
    500: '#5f9420',
    950: '#000000',
  },
}
SCSS
$custom: #5f9420;
$custom-light: #91b465;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9420",
  "rgb": {
    "r": 95,
    "g": 148,
    "b": 32
  },
  "hsl": {
    "h": 87.414,
    "s": 64.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.60693,
    "c": 0.15315,
    "h": 131.6
  },
  "luminance": 0.23717
}

Semantic roles & 50–950 ramp

primary
#5F9420
secondary
#8352BE
accent
#40E78D
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5F9420

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

Preview Lab → · Contrast checker → · Palette generator →

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