#56B221#56B221

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

Color values

HEX#56B221
RGBrgb(86, 178, 33)
HSLhsl(98, 69%, 41%)
HSVhsv(98, 81%, 70%)
CMYKcmyk(51.7%, 0%, 81.5%, 30.2%)
CIE-LABlab(64.91, -51.17, 59.63)
CIE-LCHlch(64.91, 78.58, 130.63°)
OKLaboklab(68.05% -0.1421 0.1317)
OKLCHoklch(68.05% 0.194 137.2)
XYZxyz(20.0320, 33.9275, 6.9316)
Luminance0.3393 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56B221 #7D21B2
analogous
#9FB221 #56B221 #21B235
triadic
#56B221 #2156B2 #B22156
tetradic
#56B221 #219FB2 #7D21B2 #B23521
square
#56B221 #219FB2 #7D21B2 #B23521
split-complementary
#56B221 #3521B2 #B2219F
monochromatic
#244B0E #3D7E17 #56B221 #72DA36 #96E36A

Accessibility & contrast

On white

2.70
#56B221 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##56B221#FFFFFF#000000##000000
##56B2211.002.707.797.79
#FFFFFF2.701.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A200
Deuteranopia (green-blind)
#AC9B33
Tritanopia (blue-blind)
#50AB98
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #56b221;
/* rgb */ color: rgb(86, 178, 33);
/* oklch */ color: oklch(68.1% 0.194 137.2);
Tailwind
colors: {
  custom: {
    50: '#8fca6a',
    500: '#56b221',
    950: '#000000',
  },
}
SCSS
$custom: #56b221;
$custom-light: #8fca6a;
$custom-dark: #000000;
JSON
{
  "hex": "#56b221",
  "rgb": {
    "r": 86,
    "g": 178,
    "b": 33
  },
  "hsl": {
    "h": 98.069,
    "s": 68.72,
    "l": 41.373
  },
  "oklch": {
    "l": 0.68051,
    "c": 0.19375,
    "h": 137.2
  },
  "luminance": 0.33929
}

Semantic roles & 50–950 ramp

primary
#56B221
secondary
#A566C9
accent
#3CECAB
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #56B221

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

Preview Lab → · Contrast checker → · Palette generator →

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