#5F941E#5F941E

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

Color values

HEX#5F941E
RGBrgb(95, 148, 30)
HSLhsl(87, 66%, 35%)
HSVhsv(87, 80%, 58%)
CMYKcmyk(35.8%, 0%, 79.7%, 42%)
CIE-LABlab(55.79, -36.02, 52.23)
CIE-LCHlch(55.79, 63.45, 124.59°)
OKLaboklab(60.68% -0.1022 0.1155)
OKLCHoklch(60.68% 0.154 131.5)
XYZxyz(15.5434, 23.7058, 4.9848)
Luminance0.2371 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F941E #531E94
analogous
#948E1E #5F941E #24941E
triadic
#5F941E #1E5F94 #941E5F
tetradic
#5F941E #1E948E #531E94 #941E24
square
#5F941E #1E948E #531E94 #941E24
split-complementary
#5F941E #1E2494 #8E1E94
monochromatic
#1E2E09 #3E6114 #5F941E #80C728 #9DDC51

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F941E#FFFFFF#000000##000000
##5F941E1.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)
#93842B
Tritanopia (blue-blind)
#618E7E
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #5f941e;
/* rgb */ color: rgb(95, 148, 30);
/* oklch */ color: oklch(60.7% 0.154 131.5);
Tailwind
colors: {
  custom: {
    50: '#91b464',
    500: '#5f941e',
    950: '#000000',
  },
}
SCSS
$custom: #5f941e;
$custom-light: #91b464;
$custom-dark: #000000;
JSON
{
  "hex": "#5f941e",
  "rgb": {
    "r": 95,
    "g": 148,
    "b": 30
  },
  "hsl": {
    "h": 86.949,
    "s": 66.292,
    "l": 34.902
  },
  "oklch": {
    "l": 0.60681,
    "c": 0.1542,
    "h": 131.5
  },
  "luminance": 0.23706
}

Semantic roles & 50–950 ramp

primary
#5F941E
secondary
#814FBF
accent
#3FE98B
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5F941E

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

Preview Lab → · Contrast checker → · Palette generator →

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