#5B971E#5B971E

#5B971E is a mid, vivid yellow-green. Relative luminance 0.245; OKLCH L 61.2% C 0.160 H 133.1°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#5B971E
RGBrgb(91, 151, 30)
HSLhsl(90, 67%, 35%)
HSVhsv(90, 80%, 59%)
CMYKcmyk(39.7%, 0%, 80.1%, 40.8%)
CIE-LABlab(56.54, -38.81, 52.85)
CIE-LCHlch(56.54, 65.57, 126.29°)
OKLaboklab(61.23% -0.1094 0.1169)
OKLCHoklch(61.23% 0.16 133.1)
XYZxyz(15.6151, 24.4504, 5.1247)
Luminance0.2445 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B971E #5A1E97
analogous
#97961E #5B971E #1E971E
triadic
#5B971E #1E5B97 #971E5B
tetradic
#5B971E #1E9796 #5A1E97 #971E1E
square
#5B971E #1E9796 #5A1E97 #971E1E
split-complementary
#5B971E #1E1E97 #961E97
monochromatic
#1D310A #3C6414 #5B971E #7ACA28 #98DD53

Accessibility & contrast

On white

3.57
#5B971E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#5B971E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #5B971E
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B971E#FFFFFF#000000##000000
##5B971E1.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B00
Deuteranopia (green-blind)
#95862B
Tritanopia (blue-blind)
#5B9181
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #5b971e;
/* rgb */ color: rgb(91, 151, 30);
/* oklch */ color: oklch(61.2% 0.160 133.1);
Tailwind
colors: {
  custom: {
    50: '#8fb665',
    500: '#5b971e',
    950: '#000000',
  },
}
SCSS
$custom: #5b971e;
$custom-light: #8fb665;
$custom-dark: #000000;
JSON
{
  "hex": "#5b971e",
  "rgb": {
    "r": 91,
    "g": 151,
    "b": 30
  },
  "hsl": {
    "h": 89.752,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.61233,
    "c": 0.16012,
    "h": 133.1
  },
  "luminance": 0.24451
}

Semantic roles & 50–950 ramp

primary
#5B971E
secondary
#8851C0
accent
#3EEA93
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #5B971E

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

Preview Lab → · Contrast checker → · Palette generator →

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