#56AF24#56AF24

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

Color values

HEX#56AF24
RGBrgb(86, 175, 36)
HSLhsl(98, 66%, 41%)
HSVhsv(98, 79%, 69%)
CMYKcmyk(50.9%, 0%, 79.4%, 31.4%)
CIE-LABlab(63.97, -49.87, 57.89)
CIE-LCHlch(63.97, 76.41, 130.75°)
OKLaboklab(67.29% -0.1385 0.1284)
OKLCHoklch(67.29% 0.189 137.2)
XYZxyz(19.4856, 32.7643, 6.9661)
Luminance0.3277 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56AF24 #7D24AF
analogous
#9CAF24 #56AF24 #24AF37
triadic
#56AF24 #2456AF #AF2456
tetradic
#56AF24 #249CAF #7D24AF #AF3724
square
#56AF24 #249CAF #7D24AF #AF3724
split-complementary
#56AF24 #3724AF #AF249C
monochromatic
#24490F #3D7C1A #56AF24 #72D63A #96E16D

Accessibility & contrast

On white

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

On black

7.55
#56AF24 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #56AF24
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56AF24#FFFFFF#000000##000000
##56AF241.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A000
Deuteranopia (green-blind)
#A99834
Tritanopia (blue-blind)
#50A995
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #56af24;
/* rgb */ color: rgb(86, 175, 36);
/* oklch */ color: oklch(67.3% 0.189 137.2);
Tailwind
colors: {
  custom: {
    50: '#8fc86b',
    500: '#56af24',
    950: '#000000',
  },
}
SCSS
$custom: #56af24;
$custom-light: #8fc86b;
$custom-dark: #000000;
JSON
{
  "hex": "#56af24",
  "rgb": {
    "r": 86,
    "g": 175,
    "b": 36
  },
  "hsl": {
    "h": 98.417,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.67285,
    "c": 0.18888,
    "h": 137.2
  },
  "luminance": 0.32766
}

Semantic roles & 50–950 ramp

primary
#56AF24
secondary
#A568C7
accent
#3FE9AC
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #56AF24

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

Preview Lab → · Contrast checker → · Palette generator →

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