#5F952F#5F952F

#5F952F is a mid, vivid yellow-green. Relative luminance 0.241; OKLCH L 61.1% C 0.145 H 133.1°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#5F952F
RGBrgb(95, 149, 47)
HSLhsl(92, 52%, 38%)
HSVhsv(92, 68%, 58%)
CMYKcmyk(36.2%, 0%, 68.5%, 41.6%)
CIE-LABlab(56.22, -35.33, 46.33)
CIE-LCHlch(56.22, 58.27, 127.33°)
OKLaboklab(61.07% -0.099 0.1057)
OKLCHoklch(61.07% 0.145 133.1)
XYZxyz(15.9796, 24.1324, 6.5048)
Luminance0.2413 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F952F #652F95
analogous
#92952F #5F952F #2F9532
triadic
#5F952F #2F5F95 #952F5F
tetradic
#5F952F #2F9295 #652F95 #95322F
square
#5F952F #2F9295 #652F95 #95322F
split-complementary
#5F952F #322F95 #952F92
monochromatic
#243812 #416620 #5F952F #7DC23F #9CD16D

Accessibility & contrast

On white

3.60
#5F952F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.83
#5F952F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F952F
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F952F#FFFFFF#000000##000000
##5F952F1.003.605.835.83
#FFFFFF3.601.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8A21
Deuteranopia (green-blind)
#948538
Tritanopia (blue-blind)
#5F8F80
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #5f952f;
/* rgb */ color: rgb(95, 149, 47);
/* oklch */ color: oklch(61.1% 0.145 133.1);
Tailwind
colors: {
  custom: {
    50: '#90b46d',
    500: '#5f952f',
    950: '#000000',
  },
}
SCSS
$custom: #5f952f;
$custom-light: #90b46d;
$custom-dark: #000000;
JSON
{
  "hex": "#5f952f",
  "rgb": {
    "r": 95,
    "g": 149,
    "b": 47
  },
  "hsl": {
    "h": 91.765,
    "s": 52.041,
    "l": 38.431
  },
  "oklch": {
    "l": 0.61066,
    "c": 0.14483,
    "h": 133.1
  },
  "luminance": 0.24133
}

Semantic roles & 50–950 ramp

primary
#5F952F
secondary
#9267B8
accent
#4CDB98
background
#F9FBF6
surface
#F1F6EC
border
#CBD0C7
text
#0D1107
muted
#7E807A

Preview Lab

Preview with #5F952F

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

Preview Lab → · Contrast checker → · Palette generator →

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