#5F9620#5F9620

#5F9620 is a mid, vivid yellow-green. Relative luminance 0.243; OKLCH L 61.2% C 0.156 H 132.0°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#5F9620
RGBrgb(95, 150, 32)
HSLhsl(88, 65%, 36%)
HSVhsv(88, 79%, 59%)
CMYKcmyk(36.7%, 0%, 78.7%, 41.2%)
CIE-LABlab(56.44, -36.80, 52.19)
CIE-LCHlch(56.44, 63.86, 125.19°)
OKLaboklab(61.21% -0.1041 0.1157)
OKLCHoklch(61.21% 0.156 132)
XYZxyz(15.8862, 24.3492, 5.2291)
Luminance0.2435 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9620 #572096
analogous
#969220 #5F9620 #249620
triadic
#5F9620 #205F96 #96205F
tetradic
#5F9620 #209692 #572096 #962024
square
#5F9620 #209692 #572096 #962024
split-complementary
#5F9620 #202496 #922096
monochromatic
#1F310A #3F6415 #5F9620 #7FC82B #9DDB56

Accessibility & contrast

On white

3.58
#5F9620 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#5F9620 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F9620
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F9620#FFFFFF#000000##000000
##5F96201.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8A00
Deuteranopia (green-blind)
#95862D
Tritanopia (blue-blind)
#609080
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5f9620;
/* rgb */ color: rgb(95, 150, 32);
/* oklch */ color: oklch(61.2% 0.156 132.0);
Tailwind
colors: {
  custom: {
    50: '#91b566',
    500: '#5f9620',
    950: '#000000',
  },
}
SCSS
$custom: #5f9620;
$custom-light: #91b566;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9620",
  "rgb": {
    "r": 95,
    "g": 150,
    "b": 32
  },
  "hsl": {
    "h": 87.966,
    "s": 64.835,
    "l": 35.686
  },
  "oklch": {
    "l": 0.6121,
    "c": 0.15569,
    "h": 132
  },
  "luminance": 0.2435
}

Semantic roles & 50–950 ramp

primary
#5F9620
secondary
#8553BE
accent
#40E88E
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5F9620

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

Preview Lab → · Contrast checker → · Palette generator →

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