#56A117#56A117

#56A117 is a light, vivid yellow-green. Relative luminance 0.275; OKLCH L 63.6% C 0.178 H 135.2°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#56A117
RGBrgb(86, 161, 23)
HSLhsl(93, 75%, 36%)
HSVhsv(93, 86%, 63%)
CMYKcmyk(46.6%, 0%, 85.7%, 36.9%)
CIE-LABlab(59.46, -45.01, 57.35)
CIE-LCHlch(59.46, 72.90, 128.13°)
OKLaboklab(63.56% -0.1262 0.1254)
OKLCHoklch(63.56% 0.178 135.2)
XYZxyz(16.7369, 27.5290, 5.2422)
Luminance0.2753 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56A117 #6217A1
analogous
#9BA117 #56A117 #17A11D
triadic
#56A117 #1756A1 #A11756
tetradic
#56A117 #179BA1 #6217A1 #A11D17
square
#56A117 #179BA1 #6217A1 #A11D17
split-complementary
#56A117 #1D17A1 #A1179B
monochromatic
#1D3608 #396B0F #56A117 #73D71F #93E64D

Accessibility & contrast

On white

3.23
#56A117 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#56A117 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #56A117
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56A117#FFFFFF#000000##000000
##56A1171.003.236.516.51
#FFFFFF3.231.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79300
Deuteranopia (green-blind)
#9D8D29
Tritanopia (blue-blind)
#549B89
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #56a117;
/* rgb */ color: rgb(86, 161, 23);
/* oklch */ color: oklch(63.6% 0.178 135.2);
Tailwind
colors: {
  custom: {
    50: '#8dbd63',
    500: '#56a117',
    950: '#000000',
  },
}
SCSS
$custom: #56a117;
$custom-light: #8dbd63;
$custom-dark: #000000;
JSON
{
  "hex": "#56a117",
  "rgb": {
    "r": 86,
    "g": 161,
    "b": 23
  },
  "hsl": {
    "h": 92.609,
    "s": 75,
    "l": 36.078
  },
  "oklch": {
    "l": 0.63558,
    "c": 0.17788,
    "h": 135.2
  },
  "luminance": 0.2753
}

Semantic roles & 50–950 ramp

primary
#56A117
secondary
#8F4CC7
accent
#36F29C
background
#F9FBF6
surface
#F1F7EB
border
#CBD0C6
text
#0D1206
muted
#7E817A

Preview Lab

Preview with #56A117

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

Preview Lab → · Contrast checker → · Palette generator →

#56A117 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva