#56971D#56971D

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

Color values

HEX#56971D
RGBrgb(86, 151, 29)
HSLhsl(92, 68%, 35%)
HSVhsv(92, 81%, 59%)
CMYKcmyk(43%, 0%, 80.8%, 40.8%)
CIE-LABlab(56.29, -40.63, 52.84)
CIE-LCHlch(56.29, 66.65, 127.56°)
OKLaboklab(60.96% -0.1141 0.1168)
OKLCHoklch(60.96% 0.163 134.3)
XYZxyz(15.1258, 24.1995, 5.0361)
Luminance0.2420 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56971D #5E1D97
analogous
#93971D #56971D #1D9721
triadic
#56971D #1D5697 #971D56
tetradic
#56971D #1D9397 #5E1D97 #97211D
square
#56971D #1D9397 #5E1D97 #97211D
split-complementary
#56971D #211D97 #971D93
monochromatic
#1C3009 #396413 #56971D #73CA27 #93DE51

Accessibility & contrast

On white

3.60
#56971D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##56971D#FFFFFF#000000##000000
##56971D1.003.605.845.84
#FFFFFF3.601.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #56971d;
/* rgb */ color: rgb(86, 151, 29);
/* oklch */ color: oklch(61.0% 0.163 134.3);
Tailwind
colors: {
  custom: {
    50: '#8cb664',
    500: '#56971d',
    950: '#000000',
  },
}
SCSS
$custom: #56971d;
$custom-light: #8cb664;
$custom-dark: #000000;
JSON
{
  "hex": "#56971d",
  "rgb": {
    "r": 86,
    "g": 151,
    "b": 29
  },
  "hsl": {
    "h": 91.967,
    "s": 67.778,
    "l": 35.294
  },
  "oklch": {
    "l": 0.60961,
    "c": 0.16325,
    "h": 134.3
  },
  "luminance": 0.242
}

Semantic roles & 50–950 ramp

primary
#56971D
secondary
#8C4FC0
accent
#3DEB9A
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0D1106
muted
#7D807A

Preview Lab

Preview with #56971D

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

Preview Lab → · Contrast checker → · Palette generator →

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