#56AC23#56AC23

#56AC23 is a light, vivid yellow-green. Relative luminance 0.316; OKLCH L 66.5% C 0.186 H 136.9°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#56AC23
RGBrgb(86, 172, 35)
HSLhsl(98, 66%, 41%)
HSVhsv(98, 80%, 67%)
CMYKcmyk(50%, 0%, 79.7%, 32.5%)
CIE-LABlab(63.01, -48.77, 57.29)
CIE-LCHlch(63.01, 75.24, 130.41°)
OKLaboklab(66.5% -0.1356 0.127)
OKLCHoklch(66.5% 0.186 136.9)
XYZxyz(18.8931, 31.6035, 6.6943)
Luminance0.3160 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56AC23 #7923AC
analogous
#9AAC23 #56AC23 #23AC34
triadic
#56AC23 #2356AC #AC2356
tetradic
#56AC23 #239AAC #7923AC #AC3423
square
#56AC23 #239AAC #7923AC #AC3423
split-complementary
#56AC23 #3423AC #AC239A
monochromatic
#23460E #3D7919 #56AC23 #72D636 #95E069

Accessibility & contrast

On white

2.87
#56AC23 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#56AC23 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #56AC23
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56AC23#FFFFFF#000000##000000
##56AC231.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29D00
Deuteranopia (green-blind)
#A79633
Tritanopia (blue-blind)
#51A693
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #56ac23;
/* rgb */ color: rgb(86, 172, 35);
/* oklch */ color: oklch(66.5% 0.186 136.9);
Tailwind
colors: {
  custom: {
    50: '#8ec56a',
    500: '#56ac23',
    950: '#000000',
  },
}
SCSS
$custom: #56ac23;
$custom-light: #8ec56a;
$custom-dark: #000000;
JSON
{
  "hex": "#56ac23",
  "rgb": {
    "r": 86,
    "g": 172,
    "b": 35
  },
  "hsl": {
    "h": 97.664,
    "s": 66.184,
    "l": 40.588
  },
  "oklch": {
    "l": 0.66497,
    "c": 0.18581,
    "h": 136.9
  },
  "luminance": 0.31605
}

Semantic roles & 50–950 ramp

primary
#56AC23
secondary
#A264C6
accent
#3FE9AA
background
#F9FCF6
surface
#F1F8EC
border
#CBD1C7
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #56AC23

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

Preview Lab → · Contrast checker → · Palette generator →

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