#56AB18#56AB18

#56AB18 is a light, vivid yellow-green. Relative luminance 0.312; OKLCH L 66.2% C 0.189 H 136.2°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#56AB18
RGBrgb(86, 171, 24)
HSLhsl(95, 75%, 38%)
HSVhsv(95, 86%, 67%)
CMYKcmyk(49.7%, 0%, 86%, 32.9%)
CIE-LABlab(62.65, -48.90, 59.91)
CIE-LCHlch(62.65, 77.34, 129.22°)
OKLaboklab(66.18% -0.1365 0.131)
OKLCHoklch(66.18% 0.189 136.2)
XYZxyz(18.5650, 31.1689, 5.9019)
Luminance0.3117 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56AB18 #6D18AB
analogous
#9FAB18 #56AB18 #18AB23
triadic
#56AB18 #1856AB #AB1856
tetradic
#56AB18 #189FAB #6D18AB #AB2318
square
#56AB18 #189FAB #6D18AB #AB2318
split-complementary
#56AB18 #2318AB #AB189F
monochromatic
#204009 #3B7510 #56AB18 #71E020 #93E756

Accessibility & contrast

On white

2.90
#56AB18 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#56AB18 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #56AB18
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56AB18#FFFFFF#000000##000000
##56AB181.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19C00
Deuteranopia (green-blind)
#A6952C
Tritanopia (blue-blind)
#52A491
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #56ab18;
/* rgb */ color: rgb(86, 171, 24);
/* oklch */ color: oklch(66.2% 0.189 136.2);
Tailwind
colors: {
  custom: {
    50: '#8ec565',
    500: '#56ab18',
    950: '#000000',
  },
}
SCSS
$custom: #56ab18;
$custom-light: #8ec565;
$custom-dark: #000000;
JSON
{
  "hex": "#56ab18",
  "rgb": {
    "r": 86,
    "g": 171,
    "b": 24
  },
  "hsl": {
    "h": 94.694,
    "s": 75.385,
    "l": 38.235
  },
  "oklch": {
    "l": 0.66183,
    "c": 0.18918,
    "h": 136.2
  },
  "luminance": 0.3117
}

Semantic roles & 50–950 ramp

primary
#56AB18
secondary
#9955CA
accent
#36F2A3
background
#F9FCF6
surface
#F2F8EB
border
#CCD1C6
text
#0D1306
muted
#7E827A

Preview Lab

Preview with #56AB18

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

Preview Lab → · Contrast checker → · Palette generator →

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