#5F9B20#5F9B20

#5F9B20 is a light, vivid yellow-green. Relative luminance 0.260; OKLCH L 62.5% C 0.162 H 132.8°. Best body text is #000000 at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#5F9B20
RGBrgb(95, 155, 32)
HSLhsl(89, 66%, 37%)
HSVhsv(89, 79%, 61%)
CMYKcmyk(38.7%, 0%, 79.4%, 39.2%)
CIE-LABlab(58.02, -38.99, 53.68)
CIE-LCHlch(58.02, 66.35, 125.99°)
OKLaboklab(62.5% -0.11 0.1189)
OKLCHoklch(62.5% 0.162 132.8)
XYZxyz(16.7011, 25.9791, 5.5007)
Luminance0.2598 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9B20 #5C209B
analogous
#9B9A20 #5F9B20 #229B20
triadic
#5F9B20 #205F9B #9B205F
tetradic
#5F9B20 #209B9A #5C209B #9B2022
square
#5F9B20 #209B9A #5C209B #9B2022
split-complementary
#5F9B20 #20229B #9A209B
monochromatic
#21360B #406816 #5F9B20 #7ECE2A #9CDD59

Accessibility & contrast

On white

3.39
#5F9B20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.20
#5F9B20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F9B20
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F9B20#FFFFFF#000000##000000
##5F9B201.003.396.206.20
#FFFFFF3.391.0021.0021.00
#0000006.2021.001.001.00
##0000006.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28E00
Deuteranopia (green-blind)
#9A8A2D
Tritanopia (blue-blind)
#609484
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #5f9b20;
/* rgb */ color: rgb(95, 155, 32);
/* oklch */ color: oklch(62.5% 0.162 132.8);
Tailwind
colors: {
  custom: {
    50: '#92b966',
    500: '#5f9b20',
    950: '#000000',
  },
}
SCSS
$custom: #5f9b20;
$custom-light: #92b966;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9b20",
  "rgb": {
    "r": 95,
    "g": 155,
    "b": 32
  },
  "hsl": {
    "h": 89.268,
    "s": 65.775,
    "l": 36.667
  },
  "oklch": {
    "l": 0.62502,
    "c": 0.16197,
    "h": 132.8
  },
  "luminance": 0.2598
}

Semantic roles & 50–950 ramp

primary
#5F9B20
secondary
#8A56C1
accent
#3FE992
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5F9B20

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

Preview Lab → · Contrast checker → · Palette generator →

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