#56AF27#56AF27

#56AF27 is a light, vivid yellow-green. Relative luminance 0.328; OKLCH L 67.3% C 0.187 H 137.4°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#56AF27
RGBrgb(86, 175, 39)
HSLhsl(99, 64%, 42%)
HSVhsv(99, 78%, 69%)
CMYKcmyk(50.9%, 0%, 77.7%, 31.4%)
CIE-LABlab(63.99, -49.70, 56.96)
CIE-LCHlch(63.99, 75.60, 131.10°)
OKLaboklab(67.3% -0.1378 0.1269)
OKLCHoklch(67.3% 0.187 137.4)
XYZxyz(19.5333, 32.7834, 7.2176)
Luminance0.3278 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56AF27 #8027AF
analogous
#9AAF27 #56AF27 #27AF3C
triadic
#56AF27 #2756AF #AF2756
tetradic
#56AF27 #279AAF #8027AF #AF3C27
square
#56AF27 #279AAF #8027AF #AF3C27
split-complementary
#56AF27 #3C27AF #AF279A
monochromatic
#254B11 #3D7D1C #56AF27 #73D43F #97DF71

Accessibility & contrast

On white

2.78
#56AF27 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.56
#56AF27 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #56AF27
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56AF27#FFFFFF#000000##000000
##56AF271.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A001
Deuteranopia (green-blind)
#A99836
Tritanopia (blue-blind)
#50A996
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #56af27;
/* rgb */ color: rgb(86, 175, 39);
/* oklch */ color: oklch(67.3% 0.187 137.4);
Tailwind
colors: {
  custom: {
    50: '#8ec86c',
    500: '#56af27',
    950: '#000000',
  },
}
SCSS
$custom: #56af27;
$custom-light: #8ec86c;
$custom-dark: #000000;
JSON
{
  "hex": "#56af27",
  "rgb": {
    "r": 86,
    "g": 175,
    "b": 39
  },
  "hsl": {
    "h": 99.265,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.67303,
    "c": 0.18739,
    "h": 137.4
  },
  "luminance": 0.32785
}

Semantic roles & 50–950 ramp

primary
#56AF27
secondary
#A76BC6
accent
#41E7AD
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #56AF27

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

Preview Lab → · Contrast checker → · Palette generator →

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