#5F951E#5F951E

#5F951E is a mid, vivid yellow-green. Relative luminance 0.240; OKLCH L 60.9% C 0.155 H 131.7°. Best body text is #000000 at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#5F951E
RGBrgb(95, 149, 30)
HSLhsl(87, 66%, 35%)
HSVhsv(87, 80%, 58%)
CMYKcmyk(36.2%, 0%, 79.9%, 41.6%)
CIE-LABlab(56.11, -36.47, 52.53)
CIE-LCHlch(56.11, 63.95, 124.77°)
OKLaboklab(60.94% -0.1034 0.1161)
OKLCHoklch(60.94% 0.155 131.7)
XYZxyz(15.7010, 24.0209, 5.0373)
Luminance0.2402 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F951E #541E95
analogous
#958F1E #5F951E #24951E
triadic
#5F951E #1E5F95 #951E5F
tetradic
#5F951E #1E958F #541E95 #951E24
square
#5F951E #1E958F #541E95 #951E24
split-complementary
#5F951E #1E2495 #8F1E95
monochromatic
#1E2F09 #3F6214 #5F951E #7FC828 #9DDC51

Accessibility & contrast

On white

3.62
#5F951E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.80
#5F951E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F951E
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F951E#FFFFFF#000000##000000
##5F951E1.003.625.805.80
#FFFFFF3.621.0021.0021.00
#0000005.8021.001.001.00
##0000005.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8900
Deuteranopia (green-blind)
#94852B
Tritanopia (blue-blind)
#618F7F
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5f951e;
/* rgb */ color: rgb(95, 149, 30);
/* oklch */ color: oklch(60.9% 0.155 131.7);
Tailwind
colors: {
  custom: {
    50: '#91b464',
    500: '#5f951e',
    950: '#000000',
  },
}
SCSS
$custom: #5f951e;
$custom-light: #91b464;
$custom-dark: #000000;
JSON
{
  "hex": "#5f951e",
  "rgb": {
    "r": 95,
    "g": 149,
    "b": 30
  },
  "hsl": {
    "h": 87.227,
    "s": 66.48,
    "l": 35.098
  },
  "oklch": {
    "l": 0.60939,
    "c": 0.15546,
    "h": 131.7
  },
  "luminance": 0.24022
}

Semantic roles & 50–950 ramp

primary
#5F951E
secondary
#8250BF
accent
#3EE98C
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5F951E

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

Preview Lab → · Contrast checker → · Palette generator →

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