#56A61B#56A61B

#56A61B is a light, vivid yellow-green. Relative luminance 0.293; OKLCH L 64.9% C 0.182 H 135.9°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#56A61B
RGBrgb(86, 166, 27)
HSLhsl(95, 72%, 38%)
HSVhsv(95, 84%, 65%)
CMYKcmyk(48.2%, 0%, 83.7%, 34.9%)
CIE-LABlab(61.07, -46.83, 57.77)
CIE-LCHlch(61.07, 74.37, 129.03°)
OKLaboklab(64.89% -0.1308 0.1269)
OKLCHoklch(64.89% 0.182 135.9)
XYZxyz(17.6713, 29.3288, 5.7666)
Luminance0.2933 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56A61B #6B1BA6
analogous
#9CA61B #56A61B #1BA625
triadic
#56A61B #1B56A6 #A61B56
tetradic
#56A61B #1B9CA6 #6B1BA6 #A6251B
square
#56A61B #1B9CA6 #6B1BA6 #A6251B
split-complementary
#56A61B #251BA6 #A61B9C
monochromatic
#1F3D0A #3B7112 #56A61B #71DB24 #93E458

Accessibility & contrast

On white

3.06
#56A61B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.87
#56A61B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #56A61B
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56A61B#FFFFFF#000000##000000
##56A61B1.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9700
Deuteranopia (green-blind)
#A2912D
Tritanopia (blue-blind)
#53A08D
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #56a61b;
/* rgb */ color: rgb(86, 166, 27);
/* oklch */ color: oklch(64.9% 0.182 135.9);
Tailwind
colors: {
  custom: {
    50: '#8ec166',
    500: '#56a61b',
    950: '#000000',
  },
}
SCSS
$custom: #56a61b;
$custom-light: #8ec166;
$custom-dark: #000000;
JSON
{
  "hex": "#56a61b",
  "rgb": {
    "r": 86,
    "g": 166,
    "b": 27
  },
  "hsl": {
    "h": 94.532,
    "s": 72.021,
    "l": 37.843
  },
  "oklch": {
    "l": 0.64887,
    "c": 0.18224,
    "h": 135.9
  },
  "luminance": 0.2933
}

Semantic roles & 50–950 ramp

primary
#56A61B
secondary
#9756C7
accent
#39EFA2
background
#F9FBF6
surface
#F1F7EB
border
#CBD0C6
text
#0D1206
muted
#7E817A

Preview Lab

Preview with #56A61B

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

Preview Lab → · Contrast checker → · Palette generator →

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