#56B227#56B227

#56B227 is a light, vivid yellow-green. Relative luminance 0.340; OKLCH L 68.1% C 0.191 H 137.6°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#56B227
RGBrgb(86, 178, 39)
HSLhsl(100, 64%, 43%)
HSVhsv(100, 78%, 70%)
CMYKcmyk(51.7%, 0%, 78.1%, 30.2%)
CIE-LABlab(64.93, -50.85, 57.87)
CIE-LCHlch(64.93, 77.04, 131.30°)
OKLaboklab(68.08% -0.1409 0.1288)
OKLCHoklch(68.08% 0.191 137.6)
XYZxyz(20.1237, 33.9642, 7.4144)
Luminance0.3397 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56B227 #8327B2
analogous
#9CB227 #56B227 #27B23D
triadic
#56B227 #2756B2 #B22756
tetradic
#56B227 #279CB2 #8327B2 #B23D27
square
#56B227 #279CB2 #8327B2 #B23D27
split-complementary
#56B227 #3D27B2 #B2279C
monochromatic
#254E11 #3E801C #56B227 #73D541 #98E073

Accessibility & contrast

On white

2.69
#56B227 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#56B227 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #56B227
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56B227#FFFFFF#000000##000000
##56B2271.002.697.797.79
#FFFFFF2.691.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A200
Deuteranopia (green-blind)
#AC9B37
Tritanopia (blue-blind)
#4FAC98
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #56b227;
/* rgb */ color: rgb(86, 178, 39);
/* oklch */ color: oklch(68.1% 0.191 137.6);
Tailwind
colors: {
  custom: {
    50: '#8fca6c',
    500: '#56b227',
    950: '#000000',
  },
}
SCSS
$custom: #56b227;
$custom-light: #8fca6c;
$custom-dark: #000000;
JSON
{
  "hex": "#56b227",
  "rgb": {
    "r": 86,
    "g": 178,
    "b": 39
  },
  "hsl": {
    "h": 99.712,
    "s": 64.055,
    "l": 42.549
  },
  "oklch": {
    "l": 0.68085,
    "c": 0.19095,
    "h": 137.6
  },
  "luminance": 0.33966
}

Semantic roles & 50–950 ramp

primary
#56B227
secondary
#A96DC8
accent
#41E7AF
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #56B227

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

Preview Lab → · Contrast checker → · Palette generator →

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