#5F962F#5F962F

#5F962F is a mid, vivid yellow-green. Relative luminance 0.245; OKLCH L 61.3% C 0.146 H 133.3°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#5F962F
RGBrgb(95, 150, 47)
HSLhsl(92, 52%, 39%)
HSVhsv(92, 69%, 59%)
CMYKcmyk(36.7%, 0%, 68.7%, 41.2%)
CIE-LABlab(56.54, -35.78, 46.67)
CIE-LCHlch(56.54, 58.80, 127.48°)
OKLaboklab(61.32% -0.1002 0.1064)
OKLCHoklch(61.32% 0.146 133.3)
XYZxyz(16.1385, 24.4501, 6.5578)
Luminance0.2445 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F962F #662F96
analogous
#92962F #5F962F #2F9632
triadic
#5F962F #2F5F96 #962F5F
tetradic
#5F962F #2F9296 #662F96 #96322F
square
#5F962F #2F9296 #662F96 #96322F
split-complementary
#5F962F #322F96 #962F92
monochromatic
#243912 #416720 #5F962F #7DC33F #9CD26E

Accessibility & contrast

On white

3.57
#5F962F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#5F962F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F962F
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F962F#FFFFFF#000000##000000
##5F962F1.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A20
Deuteranopia (green-blind)
#948638
Tritanopia (blue-blind)
#5F9081
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5f962f;
/* rgb */ color: rgb(95, 150, 47);
/* oklch */ color: oklch(61.3% 0.146 133.3);
Tailwind
colors: {
  custom: {
    50: '#91b56d',
    500: '#5f962f',
    950: '#000000',
  },
}
SCSS
$custom: #5f962f;
$custom-light: #91b56d;
$custom-dark: #000000;
JSON
{
  "hex": "#5f962f",
  "rgb": {
    "r": 95,
    "g": 150,
    "b": 47
  },
  "hsl": {
    "h": 92.039,
    "s": 52.284,
    "l": 38.627
  },
  "oklch": {
    "l": 0.61323,
    "c": 0.14617,
    "h": 133.3
  },
  "luminance": 0.24451
}

Semantic roles & 50–950 ramp

primary
#5F962F
secondary
#9368B9
accent
#4CDC99
background
#F9FBF6
surface
#F1F6EC
border
#CBD0C7
text
#0D1107
muted
#7E807A

Preview Lab

Preview with #5F962F

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

Preview Lab → · Contrast checker → · Palette generator →

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