#5F9422#5F9422

#5F9422 is a mid, vivid yellow-green. Relative luminance 0.237; OKLCH L 60.7% C 0.152 H 131.8°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#5F9422
RGBrgb(95, 148, 34)
HSLhsl(88, 63%, 36%)
HSVhsv(88, 77%, 58%)
CMYKcmyk(35.8%, 0%, 77%, 42%)
CIE-LABlab(55.81, -35.80, 50.93)
CIE-LCHlch(55.81, 62.25, 125.11°)
OKLaboklab(60.71% -0.1013 0.1134)
OKLCHoklch(60.71% 0.152 131.8)
XYZxyz(15.5978, 23.7276, 5.2711)
Luminance0.2373 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9422 #572294
analogous
#949022 #5F9422 #269422
triadic
#5F9422 #225F94 #94225F
tetradic
#5F9422 #229490 #572294 #942226
square
#5F9422 #229490 #572294 #942226
split-complementary
#5F9422 #222694 #902294
monochromatic
#1F300B #3F6217 #5F9422 #7FC62D #9DD958

Accessibility & contrast

On white

3.65
#5F9422 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#5F9422 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F9422
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F9422#FFFFFF#000000##000000
##5F94221.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8807
Deuteranopia (green-blind)
#93842E
Tritanopia (blue-blind)
#608E7E
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5f9422;
/* rgb */ color: rgb(95, 148, 34);
/* oklch */ color: oklch(60.7% 0.152 131.8);
Tailwind
colors: {
  custom: {
    50: '#91b466',
    500: '#5f9422',
    950: '#000000',
  },
}
SCSS
$custom: #5f9422;
$custom-light: #91b466;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9422",
  "rgb": {
    "r": 95,
    "g": 148,
    "b": 34
  },
  "hsl": {
    "h": 87.895,
    "s": 62.637,
    "l": 35.686
  },
  "oklch": {
    "l": 0.60706,
    "c": 0.15204,
    "h": 131.8
  },
  "luminance": 0.23728
}

Semantic roles & 50–950 ramp

primary
#5F9422
secondary
#8555BD
accent
#42E68E
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5F9422

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

Preview Lab → · Contrast checker → · Palette generator →

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