#5F9622#5F9622

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

Color values

HEX#5F9622
RGBrgb(95, 150, 34)
HSLhsl(88, 63%, 36%)
HSVhsv(88, 77%, 59%)
CMYKcmyk(36.7%, 0%, 77.3%, 41.2%)
CIE-LABlab(56.45, -36.69, 51.53)
CIE-LCHlch(56.45, 63.26, 125.45°)
OKLaboklab(61.22% -0.1037 0.1147)
OKLCHoklch(61.22% 0.155 132.1)
XYZxyz(15.9142, 24.3604, 5.3766)
Luminance0.2436 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9622 #592296
analogous
#969322 #5F9622 #259622
triadic
#5F9622 #225F96 #96225F
tetradic
#5F9622 #229693 #592296 #962225
square
#5F9622 #229693 #592296 #962225
split-complementary
#5F9622 #222596 #932296
monochromatic
#20320B #3F6417 #5F9622 #7FC82D #9DD959

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F9622#FFFFFF#000000##000000
##5F96221.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)
#9D8A06
Deuteranopia (green-blind)
#95862E
Tritanopia (blue-blind)
#609080
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5f9622;
/* rgb */ color: rgb(95, 150, 34);
/* oklch */ color: oklch(61.2% 0.155 132.1);
Tailwind
colors: {
  custom: {
    50: '#91b566',
    500: '#5f9622',
    950: '#000000',
  },
}
SCSS
$custom: #5f9622;
$custom-light: #91b566;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9622",
  "rgb": {
    "r": 95,
    "g": 150,
    "b": 34
  },
  "hsl": {
    "h": 88.448,
    "s": 63.043,
    "l": 36.078
  },
  "oklch": {
    "l": 0.61222,
    "c": 0.1546,
    "h": 132.1
  },
  "luminance": 0.24361
}

Semantic roles & 50–950 ramp

primary
#5F9622
secondary
#8756BE
accent
#42E690
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5F9622

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

Preview Lab → · Contrast checker → · Palette generator →

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