#5F8F1E#5F8F1E

#5F8F1E is a mid, vivid yellow-green. Relative luminance 0.222; OKLCH L 59.4% C 0.148 H 130.5°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#5F8F1E
RGBrgb(95, 143, 30)
HSLhsl(85, 65%, 34%)
HSVhsv(85, 79%, 56%)
CMYKcmyk(33.6%, 0%, 79%, 43.9%)
CIE-LABlab(54.21, -33.77, 50.75)
CIE-LCHlch(54.21, 60.96, 123.64°)
OKLaboklab(59.39% -0.0961 0.1124)
OKLCHoklch(59.39% 0.148 130.5)
XYZxyz(14.7760, 22.1710, 4.7290)
Luminance0.2217 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8F1E #4E1E8F
analogous
#8F871E #5F8F1E #268F1E
triadic
#5F8F1E #1E5F8F #8F1E5F
tetradic
#5F8F1E #1E8F87 #4E1E8F #8F1E26
square
#5F8F1E #1E8F87 #4E1E8F #8F1E26
split-complementary
#5F8F1E #1E268F #871E8F
monochromatic
#1C2A09 #3D5C13 #5F8F1E #81C229 #9EDA4E

Accessibility & contrast

On white

3.86
#5F8F1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#5F8F1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F8F1E
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F8F1E#FFFFFF#000000##000000
##5F8F1E1.003.865.435.43
#FFFFFF3.861.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#8F802A
Tritanopia (blue-blind)
#61897A
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #5f8f1e;
/* rgb */ color: rgb(95, 143, 30);
/* oklch */ color: oklch(59.4% 0.148 130.5);
Tailwind
colors: {
  custom: {
    50: '#91b064',
    500: '#5f8f1e',
    950: '#000000',
  },
}
SCSS
$custom: #5f8f1e;
$custom-light: #91b064;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8f1e",
  "rgb": {
    "r": 95,
    "g": 143,
    "b": 30
  },
  "hsl": {
    "h": 85.487,
    "s": 65.318,
    "l": 33.922
  },
  "oklch": {
    "l": 0.59388,
    "c": 0.14785,
    "h": 130.5
  },
  "luminance": 0.22172
}

Semantic roles & 50–950 ramp

primary
#5F8F1E
secondary
#7C4CBC
accent
#40E887
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5F8F1E

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

Preview Lab → · Contrast checker → · Palette generator →

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