#56A015#56A015

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

Color values

HEX#56A015
RGBrgb(86, 160, 21)
HSLhsl(92, 77%, 35%)
HSVhsv(92, 87%, 63%)
CMYKcmyk(46.3%, 0%, 86.9%, 37.3%)
CIE-LABlab(59.13, -44.69, 57.53)
CIE-LCHlch(59.13, 72.85, 127.84°)
OKLaboklab(63.29% -0.1254 0.1255)
OKLCHoklch(63.29% 0.177 135)
XYZxyz(16.5436, 27.1732, 5.0825)
Luminance0.2717 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56A015 #5F15A0
analogous
#9CA015 #56A015 #15A019
triadic
#56A015 #1556A0 #A01556
tetradic
#56A015 #159CA0 #5F15A0 #A01915
square
#56A015 #159CA0 #5F15A0 #A01915
split-complementary
#56A015 #1915A0 #A0159C
monochromatic
#1C3407 #396A0E #56A015 #73D61C #93E748

Accessibility & contrast

On white

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

On black

6.43
#56A015 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #56A015
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56A015#FFFFFF#000000##000000
##56A0151.003.266.436.43
#FFFFFF3.261.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #56a015;
/* rgb */ color: rgb(86, 160, 21);
/* oklch */ color: oklch(63.3% 0.177 135.0);
Tailwind
colors: {
  custom: {
    50: '#8dbd63',
    500: '#56a015',
    950: '#000000',
  },
}
SCSS
$custom: #56a015;
$custom-light: #8dbd63;
$custom-dark: #000000;
JSON
{
  "hex": "#56a015",
  "rgb": {
    "r": 86,
    "g": 160,
    "b": 21
  },
  "hsl": {
    "h": 91.942,
    "s": 76.796,
    "l": 35.49
  },
  "oklch": {
    "l": 0.63288,
    "c": 0.17741,
    "h": 135
  },
  "luminance": 0.27174
}

Semantic roles & 50–950 ramp

primary
#56A015
secondary
#8D49C8
accent
#34F39A
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1206
muted
#7E817A

Preview Lab

Preview with #56A015

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

Preview Lab → · Contrast checker → · Palette generator →

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