#56A71B#56A71B

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

Color values

HEX#56A71B
RGBrgb(86, 167, 27)
HSLhsl(95, 72%, 38%)
HSVhsv(95, 84%, 65%)
CMYKcmyk(48.5%, 0%, 83.8%, 34.5%)
CIE-LABlab(61.39, -47.22, 58.06)
CIE-LCHlch(61.39, 74.84, 129.12°)
OKLaboklab(65.15% -0.1319 0.1275)
OKLCHoklch(65.15% 0.183 136)
XYZxyz(17.8538, 29.6938, 5.8274)
Luminance0.2969 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56A71B #6C1BA7
analogous
#9CA71B #56A71B #1BA726
triadic
#56A71B #1B56A7 #A71B56
tetradic
#56A71B #1B9CA7 #6C1BA7 #A7261B
square
#56A71B #1B9CA7 #6C1BA7 #A7261B
split-complementary
#56A71B #261BA7 #A71B9C
monochromatic
#203E0A #3B7212 #56A71B #71DC24 #93E458

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##56A71B#FFFFFF#000000##000000
##56A71B1.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: #56a71b;
/* rgb */ color: rgb(86, 167, 27);
/* oklch */ color: oklch(65.1% 0.183 136.0);
Tailwind
colors: {
  custom: {
    50: '#8ec266',
    500: '#56a71b',
    950: '#000000',
  },
}
SCSS
$custom: #56a71b;
$custom-light: #8ec266;
$custom-dark: #000000;
JSON
{
  "hex": "#56a71b",
  "rgb": {
    "r": 86,
    "g": 167,
    "b": 27
  },
  "hsl": {
    "h": 94.714,
    "s": 72.165,
    "l": 38.039
  },
  "oklch": {
    "l": 0.65149,
    "c": 0.18341,
    "h": 136
  },
  "luminance": 0.29695
}

Semantic roles & 50–950 ramp

primary
#56A71B
secondary
#9856C8
accent
#39EFA2
background
#F9FCF6
surface
#F1F8EB
border
#CBD1C6
text
#0D1206
muted
#7E817A

Preview Lab

Preview with #56A71B

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

Preview Lab → · Contrast checker → · Palette generator →

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