#5F962E#5F962E

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

Color values

HEX#5F962E
RGBrgb(95, 150, 46)
HSLhsl(92, 53%, 38%)
HSVhsv(92, 69%, 59%)
CMYKcmyk(36.7%, 0%, 69.3%, 41.2%)
CIE-LABlab(56.53, -35.86, 47.07)
CIE-LCHlch(56.53, 59.18, 127.30°)
OKLaboklab(61.31% -0.1005 0.1071)
OKLCHoklch(61.31% 0.147 133.2)
XYZxyz(16.1185, 24.4422, 6.4528)
Luminance0.2444 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F962E #652E96
analogous
#93962E #5F962E #2E9631
triadic
#5F962E #2E5F96 #962E5F
tetradic
#5F962E #2E9396 #652E96 #96312E
square
#5F962E #2E9396 #652E96 #96312E
split-complementary
#5F962E #312E96 #962E93
monochromatic
#243811 #416720 #5F962E #7DC43E #9CD26C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F962E#FFFFFF#000000##000000
##5F962E1.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)
#9C8A1F
Deuteranopia (green-blind)
#948637
Tritanopia (blue-blind)
#5F9081
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5f962e;
/* rgb */ color: rgb(95, 150, 46);
/* oklch */ color: oklch(61.3% 0.147 133.2);
Tailwind
colors: {
  custom: {
    50: '#91b56d',
    500: '#5f962e',
    950: '#000000',
  },
}
SCSS
$custom: #5f962e;
$custom-light: #91b56d;
$custom-dark: #000000;
JSON
{
  "hex": "#5f962e",
  "rgb": {
    "r": 95,
    "g": 150,
    "b": 46
  },
  "hsl": {
    "h": 91.731,
    "s": 53.061,
    "l": 38.431
  },
  "oklch": {
    "l": 0.61314,
    "c": 0.1469,
    "h": 133.2
  },
  "luminance": 0.24443
}

Semantic roles & 50–950 ramp

primary
#5F962E
secondary
#9267B9
accent
#4BDC98
background
#F9FBF6
surface
#F1F6EC
border
#CBD0C7
text
#0D1107
muted
#7E807A

Preview Lab

Preview with #5F962E

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

Preview Lab → · Contrast checker → · Palette generator →

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