#5F9121#5F9121

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

Color values

HEX#5F9121
RGBrgb(95, 145, 33)
HSLhsl(87, 63%, 35%)
HSVhsv(87, 77%, 57%)
CMYKcmyk(34.5%, 0%, 77.2%, 43.1%)
CIE-LABlab(54.86, -34.51, 50.35)
CIE-LCHlch(54.86, 61.04, 124.42°)
OKLaboklab(59.92% -0.0979 0.112)
OKLCHoklch(59.92% 0.149 131.1)
XYZxyz(15.1191, 22.7929, 5.0414)
Luminance0.2279 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9121 #532191
analogous
#918B21 #5F9121 #279121
triadic
#5F9121 #215F91 #91215F
tetradic
#5F9121 #21918B #532191 #912127
square
#5F9121 #21918B #532191 #912127
split-complementary
#5F9121 #212791 #8B2191
monochromatic
#1E2D0A #3E5F16 #5F9121 #80C32C #9DD854

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F9121#FFFFFF#000000##000000
##5F91211.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)
#988606
Deuteranopia (green-blind)
#91822C
Tritanopia (blue-blind)
#618B7C
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5f9121;
/* rgb */ color: rgb(95, 145, 33);
/* oklch */ color: oklch(59.9% 0.149 131.1);
Tailwind
colors: {
  custom: {
    50: '#91b165',
    500: '#5f9121',
    950: '#000000',
  },
}
SCSS
$custom: #5f9121;
$custom-light: #91b165;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9121",
  "rgb": {
    "r": 95,
    "g": 145,
    "b": 33
  },
  "hsl": {
    "h": 86.786,
    "s": 62.921,
    "l": 34.902
  },
  "oklch": {
    "l": 0.59924,
    "c": 0.14876,
    "h": 131.1
  },
  "luminance": 0.22793
}

Semantic roles & 50–950 ramp

primary
#5F9121
secondary
#8152BC
accent
#42E68B
background
#F9FAF6
surface
#F1F5EB
border
#CBCFC6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5F9121

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

Preview Lab → · Contrast checker → · Palette generator →

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