#5F941D#5F941D

#5F941D is a mid, vivid yellow-green. Relative luminance 0.237; OKLCH L 60.7% C 0.155 H 131.4°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#5F941D
RGBrgb(95, 148, 29)
HSLhsl(87, 67%, 35%)
HSVhsv(87, 80%, 58%)
CMYKcmyk(35.8%, 0%, 80.4%, 42%)
CIE-LABlab(55.79, -36.07, 52.54)
CIE-LCHlch(55.79, 63.73, 124.47°)
OKLaboklab(60.68% -0.1024 0.116)
OKLCHoklch(60.68% 0.155 131.4)
XYZxyz(15.5309, 23.7008, 4.9186)
Luminance0.2370 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F941D #521D94
analogous
#948E1D #5F941D #23941D
triadic
#5F941D #1D5F94 #941D5F
tetradic
#5F941D #1D948E #521D94 #941D23
square
#5F941D #1D948E #521D94 #941D23
split-complementary
#5F941D #1D2394 #8E1D94
monochromatic
#1D2E09 #3E6113 #5F941D #80C727 #9DDC4F

Accessibility & contrast

On white

3.66
#5F941D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#5F941D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F941D
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F941D#FFFFFF#000000##000000
##5F941D1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8800
Deuteranopia (green-blind)
#94842A
Tritanopia (blue-blind)
#618E7E
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5f941d;
/* rgb */ color: rgb(95, 148, 29);
/* oklch */ color: oklch(60.7% 0.155 131.4);
Tailwind
colors: {
  custom: {
    50: '#91b464',
    500: '#5f941d',
    950: '#000000',
  },
}
SCSS
$custom: #5f941d;
$custom-light: #91b464;
$custom-dark: #000000;
JSON
{
  "hex": "#5f941d",
  "rgb": {
    "r": 95,
    "g": 148,
    "b": 29
  },
  "hsl": {
    "h": 86.723,
    "s": 67.232,
    "l": 34.706
  },
  "oklch": {
    "l": 0.60675,
    "c": 0.15471,
    "h": 131.4
  },
  "luminance": 0.23701
}

Semantic roles & 50–950 ramp

primary
#5F941D
secondary
#804EBF
accent
#3EEA8A
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5F941D

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

Preview Lab → · Contrast checker → · Palette generator →

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