#56A421#56A421

#56A421 is a light, vivid yellow-green. Relative luminance 0.286; OKLCH L 64.4% C 0.177 H 136.0°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#56A421
RGBrgb(86, 164, 33)
HSLhsl(96, 66%, 39%)
HSVhsv(96, 80%, 64%)
CMYKcmyk(47.6%, 0%, 79.9%, 35.7%)
CIE-LABlab(60.46, -45.74, 55.51)
CIE-LCHlch(60.46, 71.93, 129.49°)
OKLaboklab(64.39% -0.1275 0.123)
OKLCHoklch(64.39% 0.177 136)
XYZxyz(17.3873, 28.6380, 6.0500)
Luminance0.2864 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56A421 #6F21A4
analogous
#97A421 #56A421 #21A42D
triadic
#56A421 #2156A4 #A42156
tetradic
#56A421 #2197A4 #6F21A4 #A42D21
square
#56A421 #2197A4 #6F21A4 #A42D21
split-complementary
#56A421 #2D21A4 #A42197
monochromatic
#213E0C #3B7117 #56A421 #71D52D #94DF60

Accessibility & contrast

On white

3.12
#56A421 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#56A421 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #56A421
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56A421#FFFFFF#000000##000000
##56A4211.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9600
Deuteranopia (green-blind)
#A08F30
Tritanopia (blue-blind)
#539E8C
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #56a421;
/* rgb */ color: rgb(86, 164, 33);
/* oklch */ color: oklch(64.4% 0.177 136.0);
Tailwind
colors: {
  custom: {
    50: '#8dbf68',
    500: '#56a421',
    950: '#000000',
  },
}
SCSS
$custom: #56a421;
$custom-light: #8dbf68;
$custom-dark: #000000;
JSON
{
  "hex": "#56a421",
  "rgb": {
    "r": 86,
    "g": 164,
    "b": 33
  },
  "hsl": {
    "h": 95.725,
    "s": 66.497,
    "l": 38.627
  },
  "oklch": {
    "l": 0.64394,
    "c": 0.1772,
    "h": 136
  },
  "luminance": 0.28639
}

Semantic roles & 50–950 ramp

primary
#56A421
secondary
#9A5DC4
accent
#3EE9A4
background
#F9FBF6
surface
#F1F7EB
border
#CBD0C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #56A421

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

Preview Lab → · Contrast checker → · Palette generator →

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