#56AA27#56AA27

#56AA27 is a light, vivid yellow-green. Relative luminance 0.309; OKLCH L 66.0% C 0.181 H 137.0°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#56AA27
RGBrgb(86, 170, 39)
HSLhsl(98, 63%, 41%)
HSVhsv(98, 77%, 67%)
CMYKcmyk(49.4%, 0%, 77.1%, 33.3%)
CIE-LABlab(62.40, -47.76, 55.44)
CIE-LCHlch(62.40, 73.17, 130.74°)
OKLaboklab(66% -0.1326 0.1238)
OKLCHoklch(66% 0.181 137)
XYZxyz(18.5781, 30.8731, 6.8992)
Luminance0.3087 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56AA27 #7B27AA
analogous
#97AA27 #56AA27 #27AA39
triadic
#56AA27 #2756AA #AA2756
tetradic
#56AA27 #2797AA #7B27AA #AA3927
square
#56AA27 #2797AA #7B27AA #AA3927
split-complementary
#56AA27 #3927AA #AA2797
monochromatic
#244610 #3D781C #56AA27 #72D23C #96DE6E

Accessibility & contrast

On white

2.93
#56AA27 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#56AA27 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #56AA27
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56AA27#FFFFFF#000000##000000
##56AA271.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B05
Deuteranopia (green-blind)
#A59435
Tritanopia (blue-blind)
#51A491
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #56aa27;
/* rgb */ color: rgb(86, 170, 39);
/* oklch */ color: oklch(66.0% 0.181 137.0);
Tailwind
colors: {
  custom: {
    50: '#8ec46b',
    500: '#56aa27',
    950: '#000000',
  },
}
SCSS
$custom: #56aa27;
$custom-light: #8ec46b;
$custom-dark: #000000;
JSON
{
  "hex": "#56aa27",
  "rgb": {
    "r": 86,
    "g": 170,
    "b": 39
  },
  "hsl": {
    "h": 98.473,
    "s": 62.679,
    "l": 40.98
  },
  "oklch": {
    "l": 0.65999,
    "c": 0.1814,
    "h": 137
  },
  "luminance": 0.30874
}

Semantic roles & 50–950 ramp

primary
#56AA27
secondary
#A369C4
accent
#42E6AB
background
#F9FCF6
surface
#F1F8EC
border
#CBD1C7
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #56AA27

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

Preview Lab → · Contrast checker → · Palette generator →

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