#5F912E#5F912E

#5F912E is a mid, vivid yellow-green. Relative luminance 0.229; OKLCH L 60.0% C 0.140 H 132.3°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#5F912E
RGBrgb(95, 145, 46)
HSLhsl(90, 52%, 37%)
HSVhsv(90, 68%, 57%)
CMYKcmyk(34.5%, 0%, 68.3%, 43.1%)
CIE-LABlab(54.95, -33.60, 45.41)
CIE-LCHlch(54.95, 56.49, 126.50°)
OKLaboklab(60.03% -0.0944 0.1036)
OKLCHoklch(60.03% 0.14 132.3)
XYZxyz(15.3377, 22.8804, 6.1925)
Luminance0.2288 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F912E #602E91
analogous
#90912E #5F912E #2E912F
triadic
#5F912E #2E5F91 #912E5F
tetradic
#5F912E #2E9091 #602E91 #912F2E
square
#5F912E #2E9091 #602E91 #912F2E
split-complementary
#5F912E #2F2E91 #912E90
monochromatic
#223411 #41631F #5F912E #7DBF3D #9CD06A

Accessibility & contrast

On white

3.77
#5F912E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#5F912E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F912E
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F912E#FFFFFF#000000##000000
##5F912E1.003.775.585.58
#FFFFFF3.771.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#978620
Deuteranopia (green-blind)
#908236
Tritanopia (blue-blind)
#608B7D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #5f912e;
/* rgb */ color: rgb(95, 145, 46);
/* oklch */ color: oklch(60.0% 0.140 132.3);
Tailwind
colors: {
  custom: {
    50: '#90b16c',
    500: '#5f912e',
    950: '#000000',
  },
}
SCSS
$custom: #5f912e;
$custom-light: #90b16c;
$custom-dark: #000000;
JSON
{
  "hex": "#5f912e",
  "rgb": {
    "r": 95,
    "g": 145,
    "b": 46
  },
  "hsl": {
    "h": 90.303,
    "s": 51.832,
    "l": 37.451
  },
  "oklch": {
    "l": 0.60027,
    "c": 0.14015,
    "h": 132.3
  },
  "luminance": 0.22881
}

Semantic roles & 50–950 ramp

primary
#5F912E
secondary
#8E64B7
accent
#4DDB95
background
#F9FAF6
surface
#F1F5EC
border
#CBCFC7
text
#0D1107
muted
#7E807A

Preview Lab

Preview with #5F912E

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

Preview Lab → · Contrast checker → · Palette generator →

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