#56A227#56A227

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

Color values

HEX#56A227
RGBrgb(86, 162, 39)
HSLhsl(97, 61%, 39%)
HSVhsv(97, 76%, 64%)
CMYKcmyk(46.9%, 0%, 75.9%, 36.5%)
CIE-LABlab(59.86, -44.57, 52.97)
CIE-LCHlch(59.86, 69.23, 130.08°)
OKLaboklab(63.91% -0.124 0.1186)
OKLCHoklch(63.91% 0.172 136.3)
XYZxyz(17.1238, 27.9645, 6.4144)
Luminance0.2797 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56A227 #7327A2
analogous
#94A227 #56A227 #27A235
triadic
#56A227 #2756A2 #A22756
tetradic
#56A227 #2794A2 #7327A2 #A23527
square
#56A227 #2794A2 #7327A2 #A23527
split-complementary
#56A227 #3527A2 #A22794
monochromatic
#223F0F #3C711B #56A227 #71CF37 #94DB69

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##56A227#FFFFFF#000000##000000
##56A2271.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)
#A8940C
Deuteranopia (green-blind)
#9E8E34
Tritanopia (blue-blind)
#539C8B
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #56a227;
/* rgb */ color: rgb(86, 162, 39);
/* oklch */ color: oklch(63.9% 0.172 136.3);
Tailwind
colors: {
  custom: {
    50: '#8dbe6a',
    500: '#56a227',
    950: '#000000',
  },
}
SCSS
$custom: #56a227;
$custom-light: #8dbe6a;
$custom-dark: #000000;
JSON
{
  "hex": "#56a227",
  "rgb": {
    "r": 86,
    "g": 162,
    "b": 39
  },
  "hsl": {
    "h": 97.073,
    "s": 61.194,
    "l": 39.412
  },
  "oklch": {
    "l": 0.63908,
    "c": 0.1716,
    "h": 136.3
  },
  "luminance": 0.27966
}

Semantic roles & 50–950 ramp

primary
#56A227
secondary
#9D64C1
accent
#43E4A7
background
#F9FBF6
surface
#F1F7EC
border
#CBD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #56A227

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

Preview Lab → · Contrast checker → · Palette generator →

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