#5F973E#5F973E

#5F973E is a mid, vivid yellow-green. Relative luminance 0.249; OKLCH L 61.7% C 0.135 H 135.5°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#5F973E
RGBrgb(95, 151, 62)
HSLhsl(98, 42%, 42%)
HSVhsv(98, 59%, 59%)
CMYKcmyk(37.1%, 0%, 58.9%, 40.8%)
CIE-LABlab(56.99, -34.82, 40.41)
CIE-LCHlch(56.99, 53.34, 130.75°)
OKLaboklab(61.74% -0.0964 0.0949)
OKLCHoklch(61.74% 0.135 135.5)
XYZxyz(16.6550, 24.9131, 8.4877)
Luminance0.2491 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F973E #763E97
analogous
#8C973E #5F973E #3E974A
triadic
#5F973E #3E5F97 #973E5F
tetradic
#5F973E #3E8C97 #763E97 #974A3E
square
#5F973E #3E8C97 #763E97 #974A3E
split-complementary
#5F973E #4A3E97 #973E8C
monochromatic
#28401A #446C2C #5F973E #7CBA58 #9ECC83

Accessibility & contrast

On white

3.51
#5F973E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#5F973E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F973E
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F973E#FFFFFF#000000##000000
##5F973E1.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8C35
Deuteranopia (green-blind)
#948744
Tritanopia (blue-blind)
#5E9284
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #5f973e;
/* rgb */ color: rgb(95, 151, 62);
/* oklch */ color: oklch(61.7% 0.135 135.5);
Tailwind
colors: {
  custom: {
    50: '#90b676',
    500: '#5f973e',
    950: '#000000',
  },
}
SCSS
$custom: #5f973e;
$custom-light: #90b676;
$custom-dark: #000000;
JSON
{
  "hex": "#5f973e",
  "rgb": {
    "r": 95,
    "g": 151,
    "b": 62
  },
  "hsl": {
    "h": 97.753,
    "s": 41.784,
    "l": 41.765
  },
  "oklch": {
    "l": 0.61739,
    "c": 0.13527,
    "h": 135.5
  },
  "luminance": 0.24914
}

Semantic roles & 50–950 ramp

primary
#5F973E
secondary
#A07AB6
accent
#56D2A4
background
#F9FBF7
surface
#F1F6ED
border
#CBD0C8
text
#0D1109
muted
#7E807B

Preview Lab

Preview with #5F973E

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

Preview Lab → · Contrast checker → · Palette generator →

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