#56A122#56A122

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

Color values

HEX#56A122
RGBrgb(86, 161, 34)
HSLhsl(95, 65%, 38%)
HSVhsv(95, 79%, 63%)
CMYKcmyk(46.6%, 0%, 78.9%, 36.9%)
CIE-LABlab(59.51, -44.48, 54.30)
CIE-LCHlch(59.51, 70.19, 129.32°)
OKLaboklab(63.61% -0.1241 0.1206)
OKLCHoklch(63.61% 0.173 135.8)
XYZxyz(16.8709, 27.5826, 5.9481)
Luminance0.2758 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56A122 #6D22A1
analogous
#95A122 #56A122 #22A12D
triadic
#56A122 #2256A1 #A12256
tetradic
#56A122 #2295A1 #6D22A1 #A12D22
square
#56A122 #2295A1 #6D22A1 #A12D22
split-complementary
#56A122 #2D22A1 #A12295
monochromatic
#203C0D #3B6E17 #56A122 #71D32D #93DD60

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##56A122#FFFFFF#000000##000000
##56A1221.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)
#9D8D30
Tritanopia (blue-blind)
#539B89
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #56a122;
/* rgb */ color: rgb(86, 161, 34);
/* oklch */ color: oklch(63.6% 0.173 135.8);
Tailwind
colors: {
  custom: {
    50: '#8dbd68',
    500: '#56a122',
    950: '#000000',
  },
}
SCSS
$custom: #56a122;
$custom-light: #8dbd68;
$custom-dark: #000000;
JSON
{
  "hex": "#56a122",
  "rgb": {
    "r": 86,
    "g": 161,
    "b": 34
  },
  "hsl": {
    "h": 95.433,
    "s": 65.128,
    "l": 38.235
  },
  "oklch": {
    "l": 0.63614,
    "c": 0.17307,
    "h": 135.8
  },
  "luminance": 0.27584
}

Semantic roles & 50–950 ramp

primary
#56A122
secondary
#995DC2
accent
#40E8A3
background
#F9FBF6
surface
#F1F7EB
border
#CBD0C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #56A122

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

Preview Lab → · Contrast checker → · Palette generator →

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