#5F9320#5F9320

#5F9320 is a mid, vivid yellow-green. Relative luminance 0.234; OKLCH L 60.4% C 0.152 H 131.4°. Best body text is #000000 at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#5F9320
RGBrgb(95, 147, 32)
HSLhsl(87, 64%, 35%)
HSVhsv(87, 78%, 58%)
CMYKcmyk(35.4%, 0%, 78.2%, 42.4%)
CIE-LABlab(55.49, -35.47, 51.29)
CIE-LCHlch(55.49, 62.36, 124.66°)
OKLaboklab(60.43% -0.1005 0.1138)
OKLCHoklch(60.43% 0.152 131.4)
XYZxyz(15.4136, 23.4040, 5.0715)
Luminance0.2341 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9320 #542093
analogous
#938D20 #5F9320 #269320
triadic
#5F9320 #205F93 #93205F
tetradic
#5F9320 #20938D #542093 #932026
square
#5F9320 #20938D #542093 #932026
split-complementary
#5F9320 #202693 #8D2093
monochromatic
#1E2E0A #3F6115 #5F9320 #7FC52B #9DDA54

Accessibility & contrast

On white

3.70
#5F9320 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.68
#5F9320 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F9320
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F9320#FFFFFF#000000##000000
##5F93201.003.705.685.68
#FFFFFF3.701.0021.0021.00
#0000005.6821.001.001.00
##0000005.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8702
Deuteranopia (green-blind)
#93842C
Tritanopia (blue-blind)
#618D7D
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5f9320;
/* rgb */ color: rgb(95, 147, 32);
/* oklch */ color: oklch(60.4% 0.152 131.4);
Tailwind
colors: {
  custom: {
    50: '#91b365',
    500: '#5f9320',
    950: '#000000',
  },
}
SCSS
$custom: #5f9320;
$custom-light: #91b365;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9320",
  "rgb": {
    "r": 95,
    "g": 147,
    "b": 32
  },
  "hsl": {
    "h": 87.13,
    "s": 64.246,
    "l": 35.098
  },
  "oklch": {
    "l": 0.60434,
    "c": 0.15188,
    "h": 131.4
  },
  "luminance": 0.23405
}

Semantic roles & 50–950 ramp

primary
#5F9320
secondary
#8252BD
accent
#41E78C
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5F9320

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

Preview Lab → · Contrast checker → · Palette generator →

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