#5F952D#5F952D

#5F952D is a mid, vivid yellow-green. Relative luminance 0.241; OKLCH L 61.0% C 0.146 H 132.9°. Best body text is #000000 at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#5F952D
RGBrgb(95, 149, 45)
HSLhsl(91, 54%, 38%)
HSVhsv(91, 70%, 58%)
CMYKcmyk(36.2%, 0%, 69.8%, 41.6%)
CIE-LABlab(56.20, -35.49, 47.15)
CIE-LCHlch(56.20, 59.01, 126.97°)
OKLaboklab(61.05% -0.0996 0.1071)
OKLCHoklch(61.05% 0.146 132.9)
XYZxyz(15.9402, 24.1166, 6.2972)
Luminance0.2412 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F952D #632D95
analogous
#93952D #5F952D #2D952F
triadic
#5F952D #2D5F95 #952D5F
tetradic
#5F952D #2D9395 #632D95 #952F2D
square
#5F952D #2D9395 #632D95 #952F2D
split-complementary
#5F952D #2F2D95 #952D93
monochromatic
#233711 #41661F #5F952D #7DC43B #9CD26A

Accessibility & contrast

On white

3.61
#5F952D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.82
#5F952D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F952D
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F952D#FFFFFF#000000##000000
##5F952D1.003.615.825.82
#FFFFFF3.611.0021.0021.00
#0000005.8221.001.001.00
##0000005.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B891E
Deuteranopia (green-blind)
#948536
Tritanopia (blue-blind)
#608F80
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5f952d;
/* rgb */ color: rgb(95, 149, 45);
/* oklch */ color: oklch(61.0% 0.146 132.9);
Tailwind
colors: {
  custom: {
    50: '#91b46c',
    500: '#5f952d',
    950: '#000000',
  },
}
SCSS
$custom: #5f952d;
$custom-light: #91b46c;
$custom-dark: #000000;
JSON
{
  "hex": "#5f952d",
  "rgb": {
    "r": 95,
    "g": 149,
    "b": 45
  },
  "hsl": {
    "h": 91.154,
    "s": 53.608,
    "l": 38.039
  },
  "oklch": {
    "l": 0.61048,
    "c": 0.14628,
    "h": 132.9
  },
  "luminance": 0.24117
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #5F952D

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

Preview Lab → · Contrast checker → · Palette generator →

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