#56971C#56971C

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

Color values

HEX#56971C
RGBrgb(86, 151, 28)
HSLhsl(92, 69%, 35%)
HSVhsv(92, 81%, 59%)
CMYKcmyk(43%, 0%, 81.5%, 40.8%)
CIE-LABlab(56.28, -40.68, 53.14)
CIE-LCHlch(56.28, 66.92, 127.44°)
OKLaboklab(60.96% -0.1143 0.1173)
OKLCHoklch(60.96% 0.164 134.3)
XYZxyz(15.1137, 24.1947, 4.9721)
Luminance0.2419 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56971C #5D1C97
analogous
#94971C #56971C #1C971F
triadic
#56971C #1C5697 #971C56
tetradic
#56971C #1C9497 #5D1C97 #971F1C
square
#56971C #1C9497 #5D1C97 #971F1C
split-complementary
#56971C #1F1C97 #971C94
monochromatic
#1B3009 #396312 #56971C #73CB26 #93DE4F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##56971C#FFFFFF#000000##000000
##56971C1.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: #56971c;
/* rgb */ color: rgb(86, 151, 28);
/* oklch */ color: oklch(61.0% 0.164 134.3);
Tailwind
colors: {
  custom: {
    50: '#8cb664',
    500: '#56971c',
    950: '#000000',
  },
}
SCSS
$custom: #56971c;
$custom-light: #8cb664;
$custom-dark: #000000;
JSON
{
  "hex": "#56971c",
  "rgb": {
    "r": 86,
    "g": 151,
    "b": 28
  },
  "hsl": {
    "h": 91.707,
    "s": 68.715,
    "l": 35.098
  },
  "oklch": {
    "l": 0.60956,
    "c": 0.16374,
    "h": 134.3
  },
  "luminance": 0.24195
}

Semantic roles & 50–950 ramp

primary
#56971C
secondary
#8B4EC1
accent
#3CEC99
background
#F8FBF6
surface
#F0F6EB
border
#CBD0C6
text
#0D1106
muted
#7D807A

Preview Lab

Preview with #56971C

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

Preview Lab → · Contrast checker → · Palette generator →

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