#56971F#56971F

#56971F is a mid, vivid yellow-green. Relative luminance 0.242; OKLCH L 61.0% C 0.162 H 134.5°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#56971F
RGBrgb(86, 151, 31)
HSLhsl(93, 66%, 36%)
HSVhsv(93, 79%, 59%)
CMYKcmyk(43%, 0%, 79.5%, 40.8%)
CIE-LABlab(56.30, -40.52, 52.22)
CIE-LCHlch(56.30, 66.10, 127.81°)
OKLaboklab(60.97% -0.1136 0.1158)
OKLCHoklch(60.97% 0.162 134.5)
XYZxyz(15.1514, 24.2097, 5.1707)
Luminance0.2421 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56971F #601F97
analogous
#92971F #56971F #1F9724
triadic
#56971F #1F5697 #971F56
tetradic
#56971F #1F9297 #601F97 #97241F
square
#56971F #1F9297 #601F97 #97241F
split-complementary
#56971F #241F97 #971F92
monochromatic
#1C310A #396415 #56971F #73CA29 #93DC54

Accessibility & contrast

On white

3.59
#56971F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#56971F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #56971F
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56971F#FFFFFF#000000##000000
##56971F1.003.595.845.84
#FFFFFF3.591.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8A00
Deuteranopia (green-blind)
#94852C
Tritanopia (blue-blind)
#559181
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #56971f;
/* rgb */ color: rgb(86, 151, 31);
/* oklch */ color: oklch(61.0% 0.162 134.5);
Tailwind
colors: {
  custom: {
    50: '#8cb665',
    500: '#56971f',
    950: '#000000',
  },
}
SCSS
$custom: #56971f;
$custom-light: #8cb665;
$custom-dark: #000000;
JSON
{
  "hex": "#56971f",
  "rgb": {
    "r": 86,
    "g": 151,
    "b": 31
  },
  "hsl": {
    "h": 92.5,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.60973,
    "c": 0.16227,
    "h": 134.5
  },
  "luminance": 0.24211
}

Semantic roles & 50–950 ramp

primary
#56971F
secondary
#8D52BF
accent
#3FE99B
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0D1106
muted
#7D807A

Preview Lab

Preview with #56971F

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

Preview Lab → · Contrast checker → · Palette generator →

#56971F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva