#5F9720#5F9720

#5F9720 is a mid, vivid yellow-green. Relative luminance 0.247; OKLCH L 61.5% C 0.157 H 132.2°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#5F9720
RGBrgb(95, 151, 32)
HSLhsl(88, 65%, 36%)
HSVhsv(88, 79%, 59%)
CMYKcmyk(37.1%, 0%, 78.8%, 40.8%)
CIE-LABlab(56.75, -37.24, 52.49)
CIE-LCHlch(56.75, 64.36, 125.36°)
OKLaboklab(61.47% -0.1053 0.1164)
OKLCHoklch(61.47% 0.157 132.2)
XYZxyz(16.0465, 24.6697, 5.2825)
Luminance0.2467 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9720 #582097
analogous
#979320 #5F9720 #249720
triadic
#5F9720 #205F97 #97205F
tetradic
#5F9720 #209793 #582097 #972024
square
#5F9720 #209793 #582097 #972024
split-complementary
#5F9720 #202497 #932097
monochromatic
#1F320B #3F6415 #5F9720 #7FC92B #9DDB56

Accessibility & contrast

On white

3.54
#5F9720 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.93
#5F9720 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F9720
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F9720#FFFFFF#000000##000000
##5F97201.003.545.935.93
#FFFFFF3.541.0021.0021.00
#0000005.9321.001.001.00
##0000005.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B00
Deuteranopia (green-blind)
#96872D
Tritanopia (blue-blind)
#609181
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5f9720;
/* rgb */ color: rgb(95, 151, 32);
/* oklch */ color: oklch(61.5% 0.157 132.2);
Tailwind
colors: {
  custom: {
    50: '#91b666',
    500: '#5f9720',
    950: '#000000',
  },
}
SCSS
$custom: #5f9720;
$custom-light: #91b666;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9720",
  "rgb": {
    "r": 95,
    "g": 151,
    "b": 32
  },
  "hsl": {
    "h": 88.235,
    "s": 65.027,
    "l": 35.882
  },
  "oklch": {
    "l": 0.61468,
    "c": 0.15695,
    "h": 132.2
  },
  "luminance": 0.2467
}

Semantic roles & 50–950 ramp

primary
#5F9720
secondary
#8654BF
accent
#40E88F
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5F9720

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

Preview Lab → · Contrast checker → · Palette generator →

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