#56A11B#56A11B

#56A11B is a light, vivid yellow-green. Relative luminance 0.275; OKLCH L 63.6% C 0.176 H 135.4°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#56A11B
RGBrgb(86, 161, 27)
HSLhsl(94, 71%, 37%)
HSVhsv(94, 83%, 63%)
CMYKcmyk(46.6%, 0%, 83.2%, 36.9%)
CIE-LABlab(59.48, -44.84, 56.34)
CIE-LCHlch(59.48, 72.00, 128.52°)
OKLaboklab(63.58% -0.1255 0.1239)
OKLCHoklch(63.58% 0.176 135.4)
XYZxyz(16.7801, 27.5463, 5.4695)
Luminance0.2755 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56A11B #661BA1
analogous
#99A11B #56A11B #1BA123
triadic
#56A11B #1B56A1 #A11B56
tetradic
#56A11B #1B99A1 #661BA1 #A1231B
square
#56A11B #1B99A1 #661BA1 #A1231B
split-complementary
#56A11B #231BA1 #A11B99
monochromatic
#1E3809 #3A6D12 #56A11B #72D524 #93E254

Accessibility & contrast

On white

3.23
#56A11B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#56A11B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #56A11B
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56A11B#FFFFFF#000000##000000
##56A11B1.003.236.516.51
#FFFFFF3.231.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79300
Deuteranopia (green-blind)
#9D8D2C
Tritanopia (blue-blind)
#539B89
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #56a11b;
/* rgb */ color: rgb(86, 161, 27);
/* oklch */ color: oklch(63.6% 0.176 135.4);
Tailwind
colors: {
  custom: {
    50: '#8dbd65',
    500: '#56a11b',
    950: '#000000',
  },
}
SCSS
$custom: #56a11b;
$custom-light: #8dbd65;
$custom-dark: #000000;
JSON
{
  "hex": "#56a11b",
  "rgb": {
    "r": 86,
    "g": 161,
    "b": 27
  },
  "hsl": {
    "h": 93.582,
    "s": 71.277,
    "l": 36.863
  },
  "oklch": {
    "l": 0.63576,
    "c": 0.17631,
    "h": 135.4
  },
  "luminance": 0.27547
}

Semantic roles & 50–950 ramp

primary
#56A11B
secondary
#9352C5
accent
#3AEE9F
background
#F9FBF6
surface
#F1F7EB
border
#CBD0C6
text
#0D1206
muted
#7E817A

Preview Lab

Preview with #56A11B

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

Preview Lab → · Contrast checker → · Palette generator →

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