#5F9322#5F9322

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

Color values

HEX#5F9322
RGBrgb(95, 147, 34)
HSLhsl(88, 62%, 35%)
HSVhsv(88, 77%, 58%)
CMYKcmyk(35.4%, 0%, 76.9%, 42.4%)
CIE-LABlab(55.50, -35.35, 50.62)
CIE-LCHlch(55.50, 61.74, 124.93°)
OKLaboklab(60.45% -0.1001 0.1128)
OKLCHoklch(60.45% 0.151 131.6)
XYZxyz(15.4416, 23.4152, 5.2191)
Luminance0.2342 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9322 #562293
analogous
#938E22 #5F9322 #269322
triadic
#5F9322 #225F93 #93225F
tetradic
#5F9322 #22938E #562293 #932226
square
#5F9322 #22938E #562293 #932226
split-complementary
#5F9322 #222693 #8E2293
monochromatic
#1F300B #3F6117 #5F9322 #7FC52D #9DD857

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F9322#FFFFFF#000000##000000
##5F93221.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)
#9A8708
Deuteranopia (green-blind)
#92842D
Tritanopia (blue-blind)
#618D7E
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #5f9322;
/* rgb */ color: rgb(95, 147, 34);
/* oklch */ color: oklch(60.4% 0.151 131.6);
Tailwind
colors: {
  custom: {
    50: '#91b366',
    500: '#5f9322',
    950: '#000000',
  },
}
SCSS
$custom: #5f9322;
$custom-light: #91b366;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9322",
  "rgb": {
    "r": 95,
    "g": 147,
    "b": 34
  },
  "hsl": {
    "h": 87.611,
    "s": 62.431,
    "l": 35.49
  },
  "oklch": {
    "l": 0.60447,
    "c": 0.15076,
    "h": 131.6
  },
  "luminance": 0.23416
}

Semantic roles & 50–950 ramp

primary
#5F9322
secondary
#8455BC
accent
#42E58D
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5F9322

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

Preview Lab → · Contrast checker → · Palette generator →

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