#56A121#56A121

#56A121 is a light, vivid yellow-green. Relative luminance 0.276; OKLCH L 63.6% C 0.174 H 135.7°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#56A121
RGBrgb(86, 161, 33)
HSLhsl(95, 66%, 38%)
HSVhsv(95, 80%, 63%)
CMYKcmyk(46.6%, 0%, 79.5%, 36.9%)
CIE-LABlab(59.50, -44.53, 54.61)
CIE-LCHlch(59.50, 70.47, 129.19°)
OKLaboklab(63.61% -0.1243 0.1211)
OKLCHoklch(63.61% 0.174 135.7)
XYZxyz(16.8567, 27.5769, 5.8732)
Luminance0.2758 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56A121 #6C21A1
analogous
#96A121 #56A121 #21A12C
triadic
#56A121 #2156A1 #A12156
tetradic
#56A121 #2196A1 #6C21A1 #A12C21
square
#56A121 #2196A1 #6C21A1 #A12C21
split-complementary
#56A121 #2C21A1 #A12196
monochromatic
#203B0C #3B6E17 #56A121 #71D42C #93DE5E

Accessibility & contrast

On white

3.22
#56A121 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#56A121 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #56A121
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56A121#FFFFFF#000000##000000
##56A1211.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #56a121;
/* rgb */ color: rgb(86, 161, 33);
/* oklch */ color: oklch(63.6% 0.174 135.7);
Tailwind
colors: {
  custom: {
    50: '#8dbd67',
    500: '#56a121',
    950: '#000000',
  },
}
SCSS
$custom: #56a121;
$custom-light: #8dbd67;
$custom-dark: #000000;
JSON
{
  "hex": "#56a121",
  "rgb": {
    "r": 86,
    "g": 161,
    "b": 33
  },
  "hsl": {
    "h": 95.156,
    "s": 65.979,
    "l": 38.039
  },
  "oklch": {
    "l": 0.63608,
    "c": 0.17357,
    "h": 135.7
  },
  "luminance": 0.27578
}

Semantic roles & 50–950 ramp

primary
#56A121
secondary
#985BC3
accent
#3FE9A3
background
#F9FBF6
surface
#F1F7EB
border
#CBD0C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #56A121

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

Preview Lab → · Contrast checker → · Palette generator →

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