#5F9740#5F9740

#5F9740 is a mid, vivid yellow-green. Relative luminance 0.249; OKLCH L 61.8% C 0.133 H 135.8°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#5F9740
RGBrgb(95, 151, 64)
HSLhsl(99, 40%, 42%)
HSVhsv(99, 58%, 59%)
CMYKcmyk(37.1%, 0%, 57.6%, 40.8%)
CIE-LABlab(57.01, -34.60, 39.47)
CIE-LCHlch(57.01, 52.49, 131.24°)
OKLaboklab(61.76% -0.0957 0.093)
OKLCHoklch(61.76% 0.133 135.8)
XYZxyz(16.7109, 24.9355, 8.7820)
Luminance0.2494 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9740 #784097
analogous
#8A9740 #5F9740 #40974D
triadic
#5F9740 #405F97 #97405F
tetradic
#5F9740 #408A97 #784097 #974D40
square
#5F9740 #408A97 #784097 #974D40
split-complementary
#5F9740 #4D4097 #97408A
monochromatic
#29411C #446C2E #5F9740 #7DB95B #9FCC86

Accessibility & contrast

On white

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

On black

5.99
#5F9740 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F9740
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F9740#FFFFFF#000000##000000
##5F97401.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f9740;
/* rgb */ color: rgb(95, 151, 64);
/* oklch */ color: oklch(61.8% 0.133 135.8);
Tailwind
colors: {
  custom: {
    50: '#90b678',
    500: '#5f9740',
    950: '#000000',
  },
}
SCSS
$custom: #5f9740;
$custom-light: #90b678;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9740",
  "rgb": {
    "r": 95,
    "g": 151,
    "b": 64
  },
  "hsl": {
    "h": 98.621,
    "s": 40.465,
    "l": 42.157
  },
  "oklch": {
    "l": 0.61764,
    "c": 0.13345,
    "h": 135.8
  },
  "luminance": 0.24936
}

Semantic roles & 50–950 ramp

primary
#5F9740
secondary
#A27DB6
accent
#57D0A5
background
#F9FBF7
surface
#F1F6ED
border
#CBD0C8
text
#0D1109
muted
#7E807B

Preview Lab

Preview with #5F9740

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

Preview Lab → · Contrast checker → · Palette generator →

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