#5F9520#5F9520

#5F9520 is a mid, vivid yellow-green. Relative luminance 0.240; OKLCH L 61.0% C 0.154 H 131.8°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#5F9520
RGBrgb(95, 149, 32)
HSLhsl(88, 65%, 35%)
HSVhsv(88, 79%, 58%)
CMYKcmyk(36.2%, 0%, 78.5%, 41.6%)
CIE-LABlab(56.12, -36.36, 51.89)
CIE-LCHlch(56.12, 63.36, 125.02°)
OKLaboklab(60.95% -0.1029 0.1151)
OKLCHoklch(60.95% 0.154 131.8)
XYZxyz(15.7273, 24.0314, 5.1761)
Luminance0.2403 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9520 #562095
analogous
#959020 #5F9520 #259520
triadic
#5F9520 #205F95 #95205F
tetradic
#5F9520 #209590 #562095 #952025
square
#5F9520 #209590 #562095 #952025
split-complementary
#5F9520 #202595 #902095
monochromatic
#1F300A #3F6315 #5F9520 #7FC72B #9DDA55

Accessibility & contrast

On white

3.62
#5F9520 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#5F9520 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F9520
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F9520#FFFFFF#000000##000000
##5F95201.003.625.815.81
#FFFFFF3.621.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8901
Deuteranopia (green-blind)
#94852C
Tritanopia (blue-blind)
#608F7F
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5f9520;
/* rgb */ color: rgb(95, 149, 32);
/* oklch */ color: oklch(61.0% 0.154 131.8);
Tailwind
colors: {
  custom: {
    50: '#91b465',
    500: '#5f9520',
    950: '#000000',
  },
}
SCSS
$custom: #5f9520;
$custom-light: #91b465;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9520",
  "rgb": {
    "r": 95,
    "g": 149,
    "b": 32
  },
  "hsl": {
    "h": 87.692,
    "s": 64.641,
    "l": 35.49
  },
  "oklch": {
    "l": 0.60951,
    "c": 0.15442,
    "h": 131.8
  },
  "luminance": 0.24032
}

Semantic roles & 50–950 ramp

primary
#5F9520
secondary
#8453BE
accent
#40E88D
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5F9520

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

Preview Lab → · Contrast checker → · Palette generator →

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