#5F951D#5F951D

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

Color values

HEX#5F951D
RGBrgb(95, 149, 29)
HSLhsl(87, 67%, 35%)
HSVhsv(87, 81%, 58%)
CMYKcmyk(36.2%, 0%, 80.5%, 41.6%)
CIE-LABlab(56.10, -36.52, 52.84)
CIE-LCHlch(56.10, 64.23, 124.65°)
OKLaboklab(60.93% -0.1036 0.1166)
OKLCHoklch(60.93% 0.156 131.6)
XYZxyz(15.6884, 24.0159, 4.9711)
Luminance0.2402 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F951D #531D95
analogous
#958F1D #5F951D #23951D
triadic
#5F951D #1D5F95 #951D5F
tetradic
#5F951D #1D958F #531D95 #951D23
square
#5F951D #1D958F #531D95 #951D23
split-complementary
#5F951D #1D2395 #8F1D95
monochromatic
#1E2F09 #3E6213 #5F951D #80C827 #9DDD50

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F951D#FFFFFF#000000##000000
##5F951D1.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)
#94852A
Tritanopia (blue-blind)
#618F7F
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5f951d;
/* rgb */ color: rgb(95, 149, 29);
/* oklch */ color: oklch(60.9% 0.156 131.6);
Tailwind
colors: {
  custom: {
    50: '#91b464',
    500: '#5f951d',
    950: '#000000',
  },
}
SCSS
$custom: #5f951d;
$custom-light: #91b464;
$custom-dark: #000000;
JSON
{
  "hex": "#5f951d",
  "rgb": {
    "r": 95,
    "g": 149,
    "b": 29
  },
  "hsl": {
    "h": 87,
    "s": 67.416,
    "l": 34.902
  },
  "oklch": {
    "l": 0.60934,
    "c": 0.15597,
    "h": 131.6
  },
  "luminance": 0.24016
}

Semantic roles & 50–950 ramp

primary
#5F951D
secondary
#814EC0
accent
#3DEA8B
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5F951D

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

Preview Lab → · Contrast checker → · Palette generator →

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