#5F9936#5F9936

#5F9936 is a light, vivid yellow-green. Relative luminance 0.255; OKLCH L 62.2% C 0.145 H 134.6°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#5F9936
RGBrgb(95, 153, 54)
HSLhsl(95, 48%, 41%)
HSVhsv(95, 65%, 60%)
CMYKcmyk(37.9%, 0%, 64.7%, 40%)
CIE-LABlab(57.54, -36.52, 44.72)
CIE-LCHlch(57.54, 57.74, 129.23°)
OKLaboklab(62.16% -0.1017 0.1032)
OKLCHoklch(62.16% 0.145 134.6)
XYZxyz(16.7761, 25.4809, 7.5237)
Luminance0.2548 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F9936 #703699
analogous
#909936 #5F9936 #36993F
triadic
#5F9936 #365F99 #99365F
tetradic
#5F9936 #369099 #703699 #993F36
square
#5F9936 #369099 #703699 #993F36
split-complementary
#5F9936 #3F3699 #993690
monochromatic
#273F16 #436C26 #5F9936 #7CC04C #9DD07A

Accessibility & contrast

On white

3.44
#5F9936 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#5F9936 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F9936
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F9936#FFFFFF#000000##000000
##5F99361.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8D2A
Deuteranopia (green-blind)
#97883E
Tritanopia (blue-blind)
#5E9384
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #5f9936;
/* rgb */ color: rgb(95, 153, 54);
/* oklch */ color: oklch(62.2% 0.145 134.6);
Tailwind
colors: {
  custom: {
    50: '#91b772',
    500: '#5f9936',
    950: '#000000',
  },
}
SCSS
$custom: #5f9936;
$custom-light: #91b772;
$custom-dark: #000000;
JSON
{
  "hex": "#5f9936",
  "rgb": {
    "r": 95,
    "g": 153,
    "b": 54
  },
  "hsl": {
    "h": 95.152,
    "s": 47.826,
    "l": 40.588
  },
  "oklch": {
    "l": 0.62163,
    "c": 0.14488,
    "h": 134.6
  },
  "luminance": 0.25482
}

Semantic roles & 50–950 ramp

primary
#5F9936
secondary
#9B72B9
accent
#50D79F
background
#F9FBF7
surface
#F1F6ED
border
#CBD0C8
text
#0D1108
muted
#7E807B

Preview Lab

Preview with #5F9936

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

Preview Lab → · Contrast checker → · Palette generator →

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