#5F9124#5F9124

#5F9124 is a mid, vivid yellow-green. Relative luminance 0.228; OKLCH L 59.9% C 0.147 H 131.4°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#5F9124
RGBrgb(95, 145, 36)
HSLhsl(88, 60%, 35%)
HSVhsv(88, 75%, 57%)
CMYKcmyk(34.5%, 0%, 75.2%, 43.1%)
CIE-LABlab(54.88, -34.33, 49.30)
CIE-LCHlch(54.88, 60.07, 124.85°)
OKLaboklab(59.95% -0.0971 0.1103)
OKLCHoklch(59.95% 0.147 131.4)
XYZxyz(15.1630, 22.8105, 5.2727)
Luminance0.2281 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9124 #562491
analogous
#918C24 #5F9124 #289124
triadic
#5F9124 #245F91 #91245F
tetradic
#5F9124 #24918C #562491 #912428
square
#5F9124 #24918C #562491 #912428
split-complementary
#5F9124 #242891 #8C2491
monochromatic
#1F2F0C #3F6018 #5F9124 #7FC230 #9DD659

Accessibility & contrast

On white

3.78
#5F9124 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#5F9124 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F9124
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F9124#FFFFFF#000000##000000
##5F91241.003.785.565.56
#FFFFFF3.781.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#98860E
Deuteranopia (green-blind)
#91822F
Tritanopia (blue-blind)
#618B7C
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5f9124;
/* rgb */ color: rgb(95, 145, 36);
/* oklch */ color: oklch(59.9% 0.147 131.4);
Tailwind
colors: {
  custom: {
    50: '#91b167',
    500: '#5f9124',
    950: '#000000',
  },
}
SCSS
$custom: #5f9124;
$custom-light: #91b167;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9124",
  "rgb": {
    "r": 95,
    "g": 145,
    "b": 36
  },
  "hsl": {
    "h": 87.523,
    "s": 60.221,
    "l": 35.49
  },
  "oklch": {
    "l": 0.59945,
    "c": 0.14699,
    "h": 131.4
  },
  "luminance": 0.22811
}

Semantic roles & 50–950 ramp

primary
#5F9124
secondary
#8456BA
accent
#44E38D
background
#F9FAF6
surface
#F1F5EB
border
#CBCFC6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5F9124

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

Preview Lab → · Contrast checker → · Palette generator →

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