#5E971D#5E971D

#5E971D is a mid, vivid yellow-green. Relative luminance 0.246; OKLCH L 61.4% C 0.159 H 132.2°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#5E971D
RGBrgb(94, 151, 29)
HSLhsl(88, 68%, 35%)
HSVhsv(88, 81%, 59%)
CMYKcmyk(37.7%, 0%, 80.8%, 40.8%)
CIE-LABlab(56.68, -37.77, 53.35)
CIE-LCHlch(56.68, 65.37, 125.30°)
OKLaboklab(61.39% -0.1069 0.1177)
OKLCHoklch(61.39% 0.159 132.2)
XYZxyz(15.9043, 24.6009, 5.0726)
Luminance0.2460 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E971D #561D97
analogous
#97931D #5E971D #21971D
triadic
#5E971D #1D5E97 #971D5E
tetradic
#5E971D #1D9793 #561D97 #971D21
square
#5E971D #1D9793 #561D97 #971D21
split-complementary
#5E971D #1D2197 #931D97
monochromatic
#1E3009 #3E6413 #5E971D #7ECA27 #9CDE51

Accessibility & contrast

On white

3.55
#5E971D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#5E971D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5E971D
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E971D#FFFFFF#000000##000000
##5E971D1.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B00
Deuteranopia (green-blind)
#96862B
Tritanopia (blue-blind)
#5F9181
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5e971d;
/* rgb */ color: rgb(94, 151, 29);
/* oklch */ color: oklch(61.4% 0.159 132.2);
Tailwind
colors: {
  custom: {
    50: '#91b664',
    500: '#5e971d',
    950: '#000000',
  },
}
SCSS
$custom: #5e971d;
$custom-light: #91b664;
$custom-dark: #000000;
JSON
{
  "hex": "#5e971d",
  "rgb": {
    "r": 94,
    "g": 151,
    "b": 29
  },
  "hsl": {
    "h": 88.033,
    "s": 67.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.61394,
    "c": 0.159,
    "h": 132.2
  },
  "luminance": 0.24602
}

Semantic roles & 50–950 ramp

primary
#5E971D
secondary
#844FC0
accent
#3DEB8E
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5E971D

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

Preview Lab → · Contrast checker → · Palette generator →

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