#56B317#56B317

#56B317 is a light, vivid yellow-green. Relative luminance 0.343; OKLCH L 68.3% C 0.199 H 136.8°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#56B317
RGBrgb(86, 179, 23)
HSLhsl(96, 77%, 40%)
HSVhsv(96, 87%, 70%)
CMYKcmyk(52%, 0%, 87.2%, 29.8%)
CIE-LABlab(65.18, -51.98, 62.34)
CIE-LCHlch(65.18, 81.17, 129.82°)
OKLaboklab(68.27% -0.1448 0.136)
OKLCHoklch(68.27% 0.199 136.8)
XYZxyz(20.1119, 34.2790, 6.3672)
Luminance0.3428 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56B317 #7417B3
analogous
#A4B317 #56B317 #17B326
triadic
#56B317 #1756B3 #B31756
tetradic
#56B317 #17A4B3 #7417B3 #B32617
square
#56B317 #17A4B3 #7417B3 #B32617
split-complementary
#56B317 #2617B3 #B317A4
monochromatic
#224709 #3C7D10 #56B317 #71E324 #94EA5B

Accessibility & contrast

On white

2.67
#56B317 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.86
#56B317 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #56B317
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56B317#FFFFFF#000000##000000
##56B3171.002.677.867.86
#FFFFFF2.671.0021.0021.00
#0000007.8621.001.001.00
##0000007.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A300
Deuteranopia (green-blind)
#AD9B2D
Tritanopia (blue-blind)
#50AC98
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #56b317;
/* rgb */ color: rgb(86, 179, 23);
/* oklch */ color: oklch(68.3% 0.199 136.8);
Tailwind
colors: {
  custom: {
    50: '#90ca66',
    500: '#56b317',
    950: '#000000',
  },
}
SCSS
$custom: #56b317;
$custom-light: #90ca66;
$custom-dark: #000000;
JSON
{
  "hex": "#56b317",
  "rgb": {
    "r": 86,
    "g": 179,
    "b": 23
  },
  "hsl": {
    "h": 95.769,
    "s": 77.228,
    "l": 39.608
  },
  "oklch": {
    "l": 0.68269,
    "c": 0.19863,
    "h": 136.8
  },
  "luminance": 0.3428
}

Semantic roles & 50–950 ramp

primary
#56B317
secondary
#9E58CD
accent
#34F4A6
background
#F9FCF6
surface
#F2F8EB
border
#CCD1C6
text
#0E1307
muted
#7E827A

Preview Lab

Preview with #56B317

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

Preview Lab → · Contrast checker → · Palette generator →

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