#56A223#56A223

#56A223 is a light, vivid yellow-green. Relative luminance 0.279; OKLCH L 63.9% C 0.174 H 136.0°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#56A223
RGBrgb(86, 162, 35)
HSLhsl(96, 64%, 39%)
HSVhsv(96, 78%, 64%)
CMYKcmyk(46.9%, 0%, 78.4%, 36.5%)
CIE-LABlab(59.83, -44.82, 54.29)
CIE-LCHlch(59.83, 70.40, 129.54°)
OKLaboklab(63.88% -0.125 0.1208)
OKLCHoklch(63.88% 0.174 136)
XYZxyz(17.0610, 27.9394, 6.0836)
Luminance0.2794 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56A223 #6F23A2
analogous
#95A223 #56A223 #23A230
triadic
#56A223 #2356A2 #A22356
tetradic
#56A223 #2395A2 #6F23A2 #A23023
square
#56A223 #2395A2 #6F23A2 #A23023
split-complementary
#56A223 #3023A2 #A22395
monochromatic
#213D0D #3B7018 #56A223 #71D230 #94DD62

Accessibility & contrast

On white

3.19
#56A223 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#56A223 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #56A223
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56A223#FFFFFF#000000##000000
##56A2231.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89400
Deuteranopia (green-blind)
#9E8E31
Tritanopia (blue-blind)
#539C8A
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #56a223;
/* rgb */ color: rgb(86, 162, 35);
/* oklch */ color: oklch(63.9% 0.174 136.0);
Tailwind
colors: {
  custom: {
    50: '#8dbe68',
    500: '#56a223',
    950: '#000000',
  },
}
SCSS
$custom: #56a223;
$custom-light: #8dbe68;
$custom-dark: #000000;
JSON
{
  "hex": "#56a223",
  "rgb": {
    "r": 86,
    "g": 162,
    "b": 35
  },
  "hsl": {
    "h": 95.906,
    "s": 64.467,
    "l": 38.627
  },
  "oklch": {
    "l": 0.63882,
    "c": 0.17378,
    "h": 136
  },
  "luminance": 0.2794
}

Semantic roles & 50–950 ramp

primary
#56A223
secondary
#9A5EC2
accent
#40E7A4
background
#F9FBF6
surface
#F1F7EB
border
#CBD0C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #56A223

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

Preview Lab → · Contrast checker → · Palette generator →

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