#56A71C#56A71C

#56A71C is a light, vivid yellow-green. Relative luminance 0.297; OKLCH L 65.2% C 0.183 H 136.0°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#56A71C
RGBrgb(86, 167, 28)
HSLhsl(95, 71%, 38%)
HSVhsv(95, 83%, 65%)
CMYKcmyk(48.5%, 0%, 83.2%, 34.5%)
CIE-LABlab(61.39, -47.18, 57.80)
CIE-LCHlch(61.39, 74.61, 129.22°)
OKLaboklab(65.15% -0.1317 0.1271)
OKLCHoklch(65.15% 0.183 136)
XYZxyz(17.8656, 29.6985, 5.8894)
Luminance0.2970 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56A71C #6D1CA7
analogous
#9BA71C #56A71C #1CA727
triadic
#56A71C #1C56A7 #A71C56
tetradic
#56A71C #1C9BA7 #6D1CA7 #A7271C
square
#56A71C #1C9BA7 #6D1CA7 #A7271C
split-complementary
#56A71C #271CA7 #A71C9B
monochromatic
#203E0A #3B7313 #56A71C #71DB26 #93E35A

Accessibility & contrast

On white

3.03
#56A71C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.94
#56A71C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #56A71C
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56A71C#FFFFFF#000000##000000
##56A71C1.003.036.946.94
#FFFFFF3.031.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9800
Deuteranopia (green-blind)
#A3922D
Tritanopia (blue-blind)
#52A18E
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #56a71c;
/* rgb */ color: rgb(86, 167, 28);
/* oklch */ color: oklch(65.2% 0.183 136.0);
Tailwind
colors: {
  custom: {
    50: '#8ec266',
    500: '#56a71c',
    950: '#000000',
  },
}
SCSS
$custom: #56a71c;
$custom-light: #8ec266;
$custom-dark: #000000;
JSON
{
  "hex": "#56a71c",
  "rgb": {
    "r": 86,
    "g": 167,
    "b": 28
  },
  "hsl": {
    "h": 94.964,
    "s": 71.282,
    "l": 38.235
  },
  "oklch": {
    "l": 0.65153,
    "c": 0.18301,
    "h": 136
  },
  "luminance": 0.297
}

Semantic roles & 50–950 ramp

primary
#56A71C
secondary
#9958C7
accent
#3AEEA3
background
#F9FCF6
surface
#F1F8EB
border
#CBD1C6
text
#0D1206
muted
#7E817A

Preview Lab

Preview with #56A71C

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

Preview Lab → · Contrast checker → · Palette generator →

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