#5E971F#5E971F

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

Color values

HEX#5E971F
RGBrgb(94, 151, 31)
HSLhsl(89, 66%, 36%)
HSVhsv(89, 79%, 59%)
CMYKcmyk(37.7%, 0%, 79.5%, 40.8%)
CIE-LABlab(56.69, -37.67, 52.74)
CIE-LCHlch(56.69, 64.81, 125.53°)
OKLaboklab(61.41% -0.1065 0.1167)
OKLCHoklch(61.41% 0.158 132.4)
XYZxyz(15.9298, 24.6111, 5.2071)
Luminance0.2461 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E971F #581F97
analogous
#97941F #5E971F #22971F
triadic
#5E971F #1F5E97 #971F5E
tetradic
#5E971F #1F9794 #581F97 #971F22
square
#5E971F #1F9794 #581F97 #971F22
split-complementary
#5E971F #1F2297 #941F97
monochromatic
#1F310A #3E6415 #5E971F #7ECA29 #9CDC54

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5E971F#FFFFFF#000000##000000
##5E971F1.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)
#96862C
Tritanopia (blue-blind)
#5F9181
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5e971f;
/* rgb */ color: rgb(94, 151, 31);
/* oklch */ color: oklch(61.4% 0.158 132.4);
Tailwind
colors: {
  custom: {
    50: '#91b665',
    500: '#5e971f',
    950: '#000000',
  },
}
SCSS
$custom: #5e971f;
$custom-light: #91b665;
$custom-dark: #000000;
JSON
{
  "hex": "#5e971f",
  "rgb": {
    "r": 94,
    "g": 151,
    "b": 31
  },
  "hsl": {
    "h": 88.5,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.61405,
    "c": 0.15801,
    "h": 132.4
  },
  "luminance": 0.24612
}

Semantic roles & 50–950 ramp

primary
#5E971F
secondary
#8652BF
accent
#3FE990
background
#F9FBF6
surface
#F2F6EB
border
#CCD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5E971F

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

Preview Lab → · Contrast checker → · Palette generator →

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