#5F8E1E#5F8E1E

#5F8E1E is a mid, vivid yellow-green. Relative luminance 0.219; OKLCH L 59.1% C 0.147 H 130.3°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#5F8E1E
RGBrgb(95, 142, 30)
HSLhsl(85, 65%, 34%)
HSVhsv(85, 79%, 56%)
CMYKcmyk(33.1%, 0%, 78.9%, 44.3%)
CIE-LABlab(53.89, -33.31, 50.45)
CIE-LCHlch(53.89, 60.46, 123.44°)
OKLaboklab(59.13% -0.0949 0.1118)
OKLCHoklch(59.13% 0.147 130.3)
XYZxyz(14.6266, 21.8721, 4.6791)
Luminance0.2187 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8E1E #4D1E8E
analogous
#8E851E #5F8E1E #278E1E
triadic
#5F8E1E #1E5F8E #8E1E5F
tetradic
#5F8E1E #1E8E85 #4D1E8E #8E1E27
square
#5F8E1E #1E8E85 #4D1E8E #8E1E27
split-complementary
#5F8E1E #1E278E #851E8E
monochromatic
#1B2909 #3D5B13 #5F8E1E #81C129 #9ED94D

Accessibility & contrast

On white

3.91
#5F8E1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#5F8E1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F8E1E
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F8E1E#FFFFFF#000000##000000
##5F8E1E1.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#958301
Deuteranopia (green-blind)
#8E802A
Tritanopia (blue-blind)
#618879
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5f8e1e;
/* rgb */ color: rgb(95, 142, 30);
/* oklch */ color: oklch(59.1% 0.147 130.3);
Tailwind
colors: {
  custom: {
    50: '#91af63',
    500: '#5f8e1e',
    950: '#000000',
  },
}
SCSS
$custom: #5f8e1e;
$custom-light: #91af63;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8e1e",
  "rgb": {
    "r": 95,
    "g": 142,
    "b": 30
  },
  "hsl": {
    "h": 85.179,
    "s": 65.116,
    "l": 33.725
  },
  "oklch": {
    "l": 0.5913,
    "c": 0.14658,
    "h": 130.3
  },
  "luminance": 0.21873
}

Semantic roles & 50–950 ramp

primary
#5F8E1E
secondary
#7B4CBC
accent
#40E886
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5F8E1E

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

Preview Lab → · Contrast checker → · Palette generator →

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