#5F962D#5F962D

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

Color values

HEX#5F962D
RGBrgb(95, 150, 45)
HSLhsl(91, 54%, 38%)
HSVhsv(91, 70%, 59%)
CMYKcmyk(36.7%, 0%, 70%, 41.2%)
CIE-LABlab(56.52, -35.94, 47.47)
CIE-LCHlch(56.52, 59.54, 127.13°)
OKLaboklab(61.31% -0.1008 0.1078)
OKLCHoklch(61.31% 0.148 133.1)
XYZxyz(16.0991, 24.4344, 6.3502)
Luminance0.2444 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F962D #642D96
analogous
#93962D #5F962D #2D9630
triadic
#5F962D #2D5F96 #962D5F
tetradic
#5F962D #2D9396 #642D96 #96302D
square
#5F962D #2D9396 #642D96 #96302D
split-complementary
#5F962D #302D96 #962D93
monochromatic
#233811 #41671F #5F962D #7DC43C #9CD36B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F962D#FFFFFF#000000##000000
##5F962D1.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)
#9C8A1D
Deuteranopia (green-blind)
#958636
Tritanopia (blue-blind)
#5F9081
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5f962d;
/* rgb */ color: rgb(95, 150, 45);
/* oklch */ color: oklch(61.3% 0.148 133.1);
Tailwind
colors: {
  custom: {
    50: '#91b56c',
    500: '#5f962d',
    950: '#000000',
  },
}
SCSS
$custom: #5f962d;
$custom-light: #91b56c;
$custom-dark: #000000;
JSON
{
  "hex": "#5f962d",
  "rgb": {
    "r": 95,
    "g": 150,
    "b": 45
  },
  "hsl": {
    "h": 91.429,
    "s": 53.846,
    "l": 38.235
  },
  "oklch": {
    "l": 0.61306,
    "c": 0.14761,
    "h": 133.1
  },
  "luminance": 0.24435
}

Semantic roles & 50–950 ramp

primary
#5F962D
secondary
#9165B9
accent
#4BDD97
background
#F9FBF6
surface
#F1F6EC
border
#CBD0C7
text
#0D1107
muted
#7E807A

Preview Lab

Preview with #5F962D

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

Preview Lab → · Contrast checker → · Palette generator →

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