#56B421#56B421

#56B421 is a light, vivid yellow-green. Relative luminance 0.347; OKLCH L 68.6% C 0.196 H 137.3°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#56B421
RGBrgb(86, 180, 33)
HSLhsl(98, 69%, 42%)
HSVhsv(98, 82%, 71%)
CMYKcmyk(52.2%, 0%, 81.7%, 29.4%)
CIE-LABlab(65.54, -51.93, 60.21)
CIE-LCHlch(65.54, 79.51, 130.77°)
OKLaboklab(68.57% -0.1442 0.1329)
OKLCHoklch(68.57% 0.196 137.3)
XYZxyz(20.4329, 34.7292, 7.0652)
Luminance0.3473 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56B421 #7F21B4
analogous
#A0B421 #56B421 #21B435
triadic
#56B421 #2156B4 #B42156
tetradic
#56B421 #21A0B4 #7F21B4 #B43521
square
#56B421 #21A0B4 #7F21B4 #B43521
split-complementary
#56B421 #3521B4 #B421A0
monochromatic
#254D0E #3D8018 #56B421 #72DA38 #97E46B

Accessibility & contrast

On white

2.64
#56B421 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.95
#56B421 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #56B421
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56B421#FFFFFF#000000##000000
##56B4211.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA400
Deuteranopia (green-blind)
#AE9C33
Tritanopia (blue-blind)
#4FAD99
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #56b421;
/* rgb */ color: rgb(86, 180, 33);
/* oklch */ color: oklch(68.6% 0.196 137.3);
Tailwind
colors: {
  custom: {
    50: '#8fcb6a',
    500: '#56b421',
    950: '#000000',
  },
}
SCSS
$custom: #56b421;
$custom-light: #8fcb6a;
$custom-dark: #000000;
JSON
{
  "hex": "#56b421",
  "rgb": {
    "r": 86,
    "g": 180,
    "b": 33
  },
  "hsl": {
    "h": 98.367,
    "s": 69.014,
    "l": 41.765
  },
  "oklch": {
    "l": 0.68572,
    "c": 0.19607,
    "h": 137.3
  },
  "luminance": 0.34731
}

Semantic roles & 50–950 ramp

primary
#56B421
secondary
#A667CA
accent
#3CECAC
background
#F9FCF6
surface
#F2F9EC
border
#CCD2C7
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #56B421

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

Preview Lab → · Contrast checker → · Palette generator →

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