#56A028#56A028

#56A028 is a light, vivid yellow-green. Relative luminance 0.273; OKLCH L 63.4% C 0.169 H 136.2°. Best body text is #000000 at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#56A028
RGBrgb(86, 160, 40)
HSLhsl(97, 60%, 39%)
HSVhsv(97, 75%, 63%)
CMYKcmyk(46.3%, 0%, 75%, 37.3%)
CIE-LABlab(59.23, -43.69, 51.99)
CIE-LCHlch(59.23, 67.91, 130.04°)
OKLaboklab(63.39% -0.1216 0.1167)
OKLCHoklch(63.39% 0.169 136.2)
XYZxyz(16.7911, 27.2722, 6.3864)
Luminance0.2727 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56A028 #7228A0
analogous
#92A028 #56A028 #28A036
triadic
#56A028 #2856A0 #A02856
tetradic
#56A028 #2892A0 #7228A0 #A03628
square
#56A028 #2892A0 #7228A0 #A03628
split-complementary
#56A028 #3628A0 #A02892
monochromatic
#213E10 #3C6F1C #56A028 #71CD38 #94D969

Accessibility & contrast

On white

3.25
#56A028 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##56A028#FFFFFF#000000##000000
##56A0281.003.256.456.45
#FFFFFF3.251.0021.0021.00
#0000006.4521.001.001.00
##0000006.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69210
Deuteranopia (green-blind)
#9C8C34
Tritanopia (blue-blind)
#539A89
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #56a028;
/* rgb */ color: rgb(86, 160, 40);
/* oklch */ color: oklch(63.4% 0.169 136.2);
Tailwind
colors: {
  custom: {
    50: '#8cbd6a',
    500: '#56a028',
    950: '#000000',
  },
}
SCSS
$custom: #56a028;
$custom-light: #8cbd6a;
$custom-dark: #000000;
JSON
{
  "hex": "#56a028",
  "rgb": {
    "r": 86,
    "g": 160,
    "b": 40
  },
  "hsl": {
    "h": 97,
    "s": 60,
    "l": 39.216
  },
  "oklch": {
    "l": 0.63392,
    "c": 0.16853,
    "h": 136.2
  },
  "luminance": 0.27273
}

Semantic roles & 50–950 ramp

primary
#56A028
secondary
#9D64C0
accent
#45E3A6
background
#F9FBF6
surface
#F1F6EC
border
#CBD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #56A028

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

Preview Lab → · Contrast checker → · Palette generator →

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