#5F8B1E#5F8B1E

#5F8B1E is a mid, vivid yellow-green. Relative luminance 0.210; OKLCH L 58.4% C 0.143 H 129.7°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#5F8B1E
RGBrgb(95, 139, 30)
HSLhsl(84, 64%, 33%)
HSVhsv(84, 78%, 55%)
CMYKcmyk(31.7%, 0%, 78.4%, 45.5%)
CIE-LABlab(52.94, -31.93, 49.55)
CIE-LCHlch(52.94, 58.95, 122.80°)
OKLaboklab(58.36% -0.0911 0.1099)
OKLCHoklch(58.36% 0.143 129.7)
XYZxyz(14.1862, 20.9914, 4.5324)
Luminance0.2099 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8B1E #4A1E8B
analogous
#8B801E #5F8B1E #298B1E
triadic
#5F8B1E #1E5F8B #8B1E5F
tetradic
#5F8B1E #1E8B80 #4A1E8B #8B1E29
square
#5F8B1E #1E8B80 #4A1E8B #8B1E29
split-complementary
#5F8B1E #1E298B #801E8B
monochromatic
#1A2608 #3D5913 #5F8B1E #81BD29 #9FD84B

Accessibility & contrast

On white

4.04
#5F8B1E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#5F8B1E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5F8B1E
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F8B1E#FFFFFF#000000##000000
##5F8B1E1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#928003
Deuteranopia (green-blind)
#8C7D29
Tritanopia (blue-blind)
#628577
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #5f8b1e;
/* rgb */ color: rgb(95, 139, 30);
/* oklch */ color: oklch(58.4% 0.143 129.7);
Tailwind
colors: {
  custom: {
    50: '#90ad63',
    500: '#5f8b1e',
    950: '#000000',
  },
}
SCSS
$custom: #5f8b1e;
$custom-light: #90ad63;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8b1e",
  "rgb": {
    "r": 95,
    "g": 139,
    "b": 30
  },
  "hsl": {
    "h": 84.22,
    "s": 64.497,
    "l": 33.137
  },
  "oklch": {
    "l": 0.58355,
    "c": 0.14272,
    "h": 129.7
  },
  "luminance": 0.20992
}

Semantic roles & 50–950 ramp

primary
#5F8B1E
secondary
#784ABB
accent
#40E784
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5F8B1E

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

Preview Lab → · Contrast checker → · Palette generator →

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