#56A017#56A017

#56A017 is a light, vivid yellow-green. Relative luminance 0.272; OKLCH L 63.3% C 0.177 H 135.1°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#56A017
RGBrgb(86, 160, 23)
HSLhsl(92, 75%, 36%)
HSVhsv(92, 86%, 63%)
CMYKcmyk(46.3%, 0%, 85.6%, 37.3%)
CIE-LABlab(59.14, -44.61, 57.07)
CIE-LCHlch(59.14, 72.43, 128.01°)
OKLaboklab(63.3% -0.1251 0.1248)
OKLCHoklch(63.3% 0.177 135.1)
XYZxyz(16.5628, 27.1809, 5.1841)
Luminance0.2718 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56A017 #6117A0
analogous
#9AA017 #56A017 #17A01D
triadic
#56A017 #1756A0 #A01756
tetradic
#56A017 #179AA0 #6117A0 #A01D17
square
#56A017 #179AA0 #6117A0 #A01D17
split-complementary
#56A017 #1D17A0 #A0179A
monochromatic
#1C3508 #396A0F #56A017 #73D61F #93E54C

Accessibility & contrast

On white

3.26
#56A017 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#56A017 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #56A017
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56A017#FFFFFF#000000##000000
##56A0171.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69200
Deuteranopia (green-blind)
#9C8C29
Tritanopia (blue-blind)
#549A88
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #56a017;
/* rgb */ color: rgb(86, 160, 23);
/* oklch */ color: oklch(63.3% 0.177 135.1);
Tailwind
colors: {
  custom: {
    50: '#8dbd63',
    500: '#56a017',
    950: '#000000',
  },
}
SCSS
$custom: #56a017;
$custom-light: #8dbd63;
$custom-dark: #000000;
JSON
{
  "hex": "#56a017",
  "rgb": {
    "r": 86,
    "g": 160,
    "b": 23
  },
  "hsl": {
    "h": 92.409,
    "s": 74.863,
    "l": 35.882
  },
  "oklch": {
    "l": 0.63296,
    "c": 0.17669,
    "h": 135.1
  },
  "luminance": 0.27182
}

Semantic roles & 50–950 ramp

primary
#56A017
secondary
#8E4CC7
accent
#36F19B
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1206
muted
#7E817A

Preview Lab

Preview with #56A017

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

Preview Lab → · Contrast checker → · Palette generator →

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