#56A229#56A229

#56A229 is a light, vivid yellow-green. Relative luminance 0.280; OKLCH L 63.9% C 0.170 H 136.5°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#56A229
RGBrgb(86, 162, 41)
HSLhsl(98, 60%, 40%)
HSVhsv(98, 75%, 64%)
CMYKcmyk(46.9%, 0%, 74.7%, 36.5%)
CIE-LABlab(59.87, -44.44, 52.27)
CIE-LCHlch(59.87, 68.61, 130.37°)
OKLaboklab(63.92% -0.1235 0.1174)
OKLCHoklch(63.92% 0.17 136.5)
XYZxyz(17.1578, 27.9781, 6.5936)
Luminance0.2798 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56A229 #7529A2
analogous
#93A229 #56A229 #29A239
triadic
#56A229 #2956A2 #A22956
tetradic
#56A229 #2993A2 #7529A2 #A23929
square
#56A229 #2993A2 #7529A2 #A23929
split-complementary
#56A229 #3929A2 #A22993
monochromatic
#224010 #3C711D #56A229 #71CD3B #95DA6C

Accessibility & contrast

On white

3.18
#56A229 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#56A229 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #56A229
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56A229#FFFFFF#000000##000000
##56A2291.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89411
Deuteranopia (green-blind)
#9E8E35
Tritanopia (blue-blind)
#529C8B
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #56a229;
/* rgb */ color: rgb(86, 162, 41);
/* oklch */ color: oklch(63.9% 0.170 136.5);
Tailwind
colors: {
  custom: {
    50: '#8dbe6b',
    500: '#56a229',
    950: '#000000',
  },
}
SCSS
$custom: #56a229;
$custom-light: #8dbe6b;
$custom-dark: #000000;
JSON
{
  "hex": "#56a229",
  "rgb": {
    "r": 86,
    "g": 162,
    "b": 41
  },
  "hsl": {
    "h": 97.686,
    "s": 59.606,
    "l": 39.804
  },
  "oklch": {
    "l": 0.63922,
    "c": 0.17045,
    "h": 136.5
  },
  "luminance": 0.27979
}

Semantic roles & 50–950 ramp

primary
#56A229
secondary
#9F67C0
accent
#45E3A8
background
#F9FBF6
surface
#F1F7EC
border
#CBD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #56A229

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

Preview Lab → · Contrast checker → · Palette generator →

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