#5F8E1D#5F8E1D

#5F8E1D 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#5F8E1D
RGBrgb(95, 142, 29)
HSLhsl(85, 66%, 34%)
HSVhsv(85, 80%, 56%)
CMYKcmyk(33.1%, 0%, 79.6%, 44.3%)
CIE-LABlab(53.89, -33.37, 50.77)
CIE-LCHlch(53.89, 60.75, 123.31°)
OKLaboklab(59.12% -0.0951 0.1123)
OKLCHoklch(59.12% 0.147 130.3)
XYZxyz(14.6140, 21.8671, 4.6130)
Luminance0.2187 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F8E1D #4C1D8E
analogous
#8E841D #5F8E1D #268E1D
triadic
#5F8E1D #1D5F8E #8E1D5F
tetradic
#5F8E1D #1D8E84 #4C1D8E #8E1D26
square
#5F8E1D #1D8E84 #4C1D8E #8E1D26
split-complementary
#5F8E1D #1D268E #841D8E
monochromatic
#1B2808 #3D5B13 #5F8E1D #81C127 #9FDA4B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F8E1D#FFFFFF#000000##000000
##5F8E1D1.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)
#958300
Deuteranopia (green-blind)
#8E8029
Tritanopia (blue-blind)
#618879
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #5f8e1d;
/* rgb */ color: rgb(95, 142, 29);
/* oklch */ color: oklch(59.1% 0.147 130.3);
Tailwind
colors: {
  custom: {
    50: '#91af63',
    500: '#5f8e1d',
    950: '#000000',
  },
}
SCSS
$custom: #5f8e1d;
$custom-light: #91af63;
$custom-dark: #000000;
JSON
{
  "hex": "#5f8e1d",
  "rgb": {
    "r": 95,
    "g": 142,
    "b": 29
  },
  "hsl": {
    "h": 84.956,
    "s": 66.082,
    "l": 33.529
  },
  "oklch": {
    "l": 0.59124,
    "c": 0.14711,
    "h": 130.3
  },
  "luminance": 0.21868
}

Semantic roles & 50–950 ramp

primary
#5F8E1D
secondary
#7A4ABD
accent
#3FE986
background
#F9FAF6
surface
#F1F4EB
border
#CBCEC6
text
#0D1006
muted
#7E7F7A

Preview Lab

Preview with #5F8E1D

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

Preview Lab → · Contrast checker → · Palette generator →

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