#56AF28#56AF28

#56AF28 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#56AF28
RGBrgb(86, 175, 40)
HSLhsl(100, 63%, 42%)
HSVhsv(100, 77%, 69%)
CMYKcmyk(50.9%, 0%, 77.1%, 31.4%)
CIE-LABlab(63.99, -49.64, 56.64)
CIE-LCHlch(63.99, 75.32, 131.23°)
OKLaboklab(67.31% -0.1376 0.1264)
OKLCHoklch(67.31% 0.187 137.4)
XYZxyz(19.5501, 32.7902, 7.3060)
Luminance0.3279 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56AF28 #8128AF
analogous
#99AF28 #56AF28 #28AF3E
triadic
#56AF28 #2856AF #AF2856
tetradic
#56AF28 #2899AF #8128AF #AF3E28
square
#56AF28 #2899AF #8128AF #AF3E28
split-complementary
#56AF28 #3E28AF #AF2899
monochromatic
#254B11 #3E7D1D #56AF28 #73D441 #97DF73

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##56AF28#FFFFFF#000000##000000
##56AF281.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)
#B5A004
Deuteranopia (green-blind)
#A99837
Tritanopia (blue-blind)
#50A996
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #56af28;
/* rgb */ color: rgb(86, 175, 40);
/* oklch */ color: oklch(67.3% 0.187 137.4);
Tailwind
colors: {
  custom: {
    50: '#8ec86c',
    500: '#56af28',
    950: '#000000',
  },
}
SCSS
$custom: #56af28;
$custom-light: #8ec86c;
$custom-dark: #000000;
JSON
{
  "hex": "#56af28",
  "rgb": {
    "r": 86,
    "g": 175,
    "b": 40
  },
  "hsl": {
    "h": 99.556,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.67309,
    "c": 0.18687,
    "h": 137.4
  },
  "luminance": 0.32792
}

Semantic roles & 50–950 ramp

primary
#56AF28
secondary
#A86DC6
accent
#42E6AE
background
#F9FCF6
surface
#F1F8EC
border
#CBD1C7
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #56AF28

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

Preview Lab → · Contrast checker → · Palette generator →

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