#56A01B#56A01B

#56A01B is a light, vivid yellow-green. Relative luminance 0.272; OKLCH L 63.3% C 0.175 H 135.3°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#56A01B
RGBrgb(86, 160, 27)
HSLhsl(93, 71%, 37%)
HSVhsv(93, 83%, 63%)
CMYKcmyk(46.3%, 0%, 83.1%, 37.3%)
CIE-LABlab(59.16, -44.43, 56.05)
CIE-LCHlch(59.16, 71.53, 128.41°)
OKLaboklab(63.31% -0.1244 0.1233)
OKLCHoklch(63.31% 0.175 135.3)
XYZxyz(16.6060, 27.1981, 5.4114)
Luminance0.2720 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56A01B #651BA0
analogous
#99A01B #56A01B #1BA022
triadic
#56A01B #1B56A0 #A01B56
tetradic
#56A01B #1B99A0 #651BA0 #A0221B
square
#56A01B #1B99A0 #651BA0 #A0221B
split-complementary
#56A01B #221BA0 #A01B99
monochromatic
#1E3709 #3A6C12 #56A01B #72D424 #93E253

Accessibility & contrast

On white

3.26
#56A01B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#56A01B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #56A01B
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56A01B#FFFFFF#000000##000000
##56A01B1.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69200
Deuteranopia (green-blind)
#9C8C2B
Tritanopia (blue-blind)
#549A88
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #56a01b;
/* rgb */ color: rgb(86, 160, 27);
/* oklch */ color: oklch(63.3% 0.175 135.3);
Tailwind
colors: {
  custom: {
    50: '#8dbd65',
    500: '#56a01b',
    950: '#000000',
  },
}
SCSS
$custom: #56a01b;
$custom-light: #8dbd65;
$custom-dark: #000000;
JSON
{
  "hex": "#56a01b",
  "rgb": {
    "r": 86,
    "g": 160,
    "b": 27
  },
  "hsl": {
    "h": 93.383,
    "s": 71.123,
    "l": 36.667
  },
  "oklch": {
    "l": 0.63314,
    "c": 0.17512,
    "h": 135.3
  },
  "luminance": 0.27199
}

Semantic roles & 50–950 ramp

primary
#56A01B
secondary
#9252C5
accent
#3AEE9E
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1206
muted
#7E817A

Preview Lab

Preview with #56A01B

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

Preview Lab → · Contrast checker → · Palette generator →

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