#56971B#56971B

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

Color values

HEX#56971B
RGBrgb(86, 151, 27)
HSLhsl(91, 70%, 35%)
HSVhsv(91, 82%, 59%)
CMYKcmyk(43%, 0%, 82.1%, 40.8%)
CIE-LABlab(56.28, -40.73, 53.43)
CIE-LCHlch(56.28, 67.18, 127.32°)
OKLaboklab(60.95% -0.1145 0.1177)
OKLCHoklch(60.95% 0.164 134.2)
XYZxyz(15.1019, 24.1900, 4.9101)
Luminance0.2419 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56971B #5C1B97
analogous
#94971B #56971B #1B971E
triadic
#56971B #1B5697 #971B56
tetradic
#56971B #1B9497 #5C1B97 #971E1B
square
#56971B #1B9497 #5C1B97 #971E1B
split-complementary
#56971B #1E1B97 #971B94
monochromatic
#1B2F08 #386312 #56971B #74CB24 #93DF4D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##56971B#FFFFFF#000000##000000
##56971B1.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)
#94852A
Tritanopia (blue-blind)
#559181
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #56971b;
/* rgb */ color: rgb(86, 151, 27);
/* oklch */ color: oklch(61.0% 0.164 134.2);
Tailwind
colors: {
  custom: {
    50: '#8cb663',
    500: '#56971b',
    950: '#000000',
  },
}
SCSS
$custom: #56971b;
$custom-light: #8cb663;
$custom-dark: #000000;
JSON
{
  "hex": "#56971b",
  "rgb": {
    "r": 86,
    "g": 151,
    "b": 27
  },
  "hsl": {
    "h": 91.452,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.6095,
    "c": 0.1642,
    "h": 134.2
  },
  "luminance": 0.24191
}

Semantic roles & 50–950 ramp

primary
#56971B
secondary
#8A4CC1
accent
#3BEC98
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1106
muted
#7E807A

Preview Lab

Preview with #56971B

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

Preview Lab → · Contrast checker → · Palette generator →

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