#56A021#56A021

#56A021 is a light, vivid yellow-green. Relative luminance 0.272; OKLCH L 63.3% C 0.172 H 135.6°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#56A021
RGBrgb(86, 160, 33)
HSLhsl(95, 66%, 38%)
HSVhsv(95, 79%, 63%)
CMYKcmyk(46.3%, 0%, 79.4%, 37.3%)
CIE-LABlab(59.19, -44.13, 54.31)
CIE-LCHlch(59.19, 69.98, 129.09°)
OKLaboklab(63.35% -0.1232 0.1205)
OKLCHoklch(63.35% 0.172 135.6)
XYZxyz(16.6827, 27.2288, 5.8152)
Luminance0.2723 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56A021 #6B21A0
analogous
#95A021 #56A021 #21A02C
triadic
#56A021 #2156A0 #A02156
tetradic
#56A021 #2195A0 #6B21A0 #A02C21
square
#56A021 #2195A0 #6B21A0 #A02C21
split-complementary
#56A021 #2C21A0 #A02195
monochromatic
#1F3B0C #3B6D17 #56A021 #71D32B #93DE5E

Accessibility & contrast

On white

3.26
#56A021 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.45
#56A021 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #56A021
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56A021#FFFFFF#000000##000000
##56A0211.003.266.456.45
#FFFFFF3.261.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69200
Deuteranopia (green-blind)
#9C8C2F
Tritanopia (blue-blind)
#539A88
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #56a021;
/* rgb */ color: rgb(86, 160, 33);
/* oklch */ color: oklch(63.3% 0.172 135.6);
Tailwind
colors: {
  custom: {
    50: '#8dbd67',
    500: '#56a021',
    950: '#000000',
  },
}
SCSS
$custom: #56a021;
$custom-light: #8dbd67;
$custom-dark: #000000;
JSON
{
  "hex": "#56a021",
  "rgb": {
    "r": 86,
    "g": 160,
    "b": 33
  },
  "hsl": {
    "h": 94.961,
    "s": 65.803,
    "l": 37.843
  },
  "oklch": {
    "l": 0.63346,
    "c": 0.17235,
    "h": 135.6
  },
  "luminance": 0.2723
}

Semantic roles & 50–950 ramp

primary
#56A021
secondary
#975BC2
accent
#3FE9A2
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #56A021

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

Preview Lab → · Contrast checker → · Palette generator →

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