#5F9C20#5F9C20

#5F9C20 is a light, vivid yellow-green. Relative luminance 0.263; OKLCH L 62.8% C 0.163 H 132.9°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#5F9C20
RGBrgb(95, 156, 32)
HSLhsl(90, 66%, 37%)
HSVhsv(90, 79%, 61%)
CMYKcmyk(39.1%, 0%, 79.5%, 38.8%)
CIE-LABlab(58.33, -39.42, 53.98)
CIE-LCHlch(58.33, 66.84, 126.14°)
OKLaboklab(62.76% -0.1112 0.1195)
OKLCHoklch(62.76% 0.163 132.9)
XYZxyz(16.8683, 26.3133, 5.5564)
Luminance0.2631 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9C20 #5D209C
analogous
#9C9B20 #5F9C20 #219C20
triadic
#5F9C20 #205F9C #9C205F
tetradic
#5F9C20 #209C9B #5D209C #9C2021
square
#5F9C20 #209C9B #5D209C #9C2021
split-complementary
#5F9C20 #20219C #9B209C
monochromatic
#21360B #406916 #5F9C20 #7ECF2A #9CDD59

Accessibility & contrast

On white

3.35
#5F9C20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.26
#5F9C20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F9C20
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F9C20#FFFFFF#000000##000000
##5F9C201.003.356.266.26
#FFFFFF3.351.0021.0021.00
#0000006.2621.001.001.00
##0000006.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A38F00
Deuteranopia (green-blind)
#9A8B2E
Tritanopia (blue-blind)
#5F9585
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #5f9c20;
/* rgb */ color: rgb(95, 156, 32);
/* oklch */ color: oklch(62.8% 0.163 132.9);
Tailwind
colors: {
  custom: {
    50: '#92b966',
    500: '#5f9c20',
    950: '#000000',
  },
}
SCSS
$custom: #5f9c20;
$custom-light: #92b966;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9c20",
  "rgb": {
    "r": 95,
    "g": 156,
    "b": 32
  },
  "hsl": {
    "h": 89.516,
    "s": 65.957,
    "l": 36.863
  },
  "oklch": {
    "l": 0.62761,
    "c": 0.16321,
    "h": 132.9
  },
  "luminance": 0.26314
}

Semantic roles & 50–950 ramp

primary
#5F9C20
secondary
#8B57C1
accent
#3FE993
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5F9C20

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

Preview Lab → · Contrast checker → · Palette generator →

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