#56A321#56A321

#56A321 is a light, vivid yellow-green. Relative luminance 0.283; OKLCH L 64.1% C 0.176 H 135.9°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#56A321
RGBrgb(86, 163, 33)
HSLhsl(96, 66%, 38%)
HSVhsv(96, 80%, 64%)
CMYKcmyk(47.2%, 0%, 79.8%, 36.1%)
CIE-LABlab(60.14, -45.34, 55.21)
CIE-LCHlch(60.14, 71.44, 129.39°)
OKLaboklab(64.13% -0.1265 0.1224)
OKLCHoklch(64.13% 0.176 135.9)
XYZxyz(17.2090, 28.2815, 5.9906)
Luminance0.2828 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56A321 #6E21A3
analogous
#97A321 #56A321 #21A32D
triadic
#56A321 #2156A3 #A32156
tetradic
#56A321 #2197A3 #6E21A3 #A32D21
square
#56A321 #2197A3 #6E21A3 #A32D21
split-complementary
#56A321 #2D21A3 #A32197
monochromatic
#203D0C #3B7017 #56A321 #71D42D #93DF60

Accessibility & contrast

On white

3.15
#56A321 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#56A321 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #56A321
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56A321#FFFFFF#000000##000000
##56A3211.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99500
Deuteranopia (green-blind)
#9F8F30
Tritanopia (blue-blind)
#539D8B
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #56a321;
/* rgb */ color: rgb(86, 163, 33);
/* oklch */ color: oklch(64.1% 0.176 135.9);
Tailwind
colors: {
  custom: {
    50: '#8dbf68',
    500: '#56a321',
    950: '#000000',
  },
}
SCSS
$custom: #56a321;
$custom-light: #8dbf68;
$custom-dark: #000000;
JSON
{
  "hex": "#56a321",
  "rgb": {
    "r": 86,
    "g": 163,
    "b": 33
  },
  "hsl": {
    "h": 95.538,
    "s": 66.327,
    "l": 38.431
  },
  "oklch": {
    "l": 0.64132,
    "c": 0.176,
    "h": 135.9
  },
  "luminance": 0.28283
}

Semantic roles & 50–950 ramp

primary
#56A321
secondary
#995CC3
accent
#3FE9A4
background
#F9FBF6
surface
#F1F7EB
border
#CBD0C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #56A321

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

Preview Lab → · Contrast checker → · Palette generator →

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