#56B417#56B417

#56B417 is a light, vivid yellow-green. Relative luminance 0.347; OKLCH L 68.5% C 0.200 H 136.9°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#56B417
RGBrgb(86, 180, 23)
HSLhsl(96, 77%, 40%)
HSVhsv(96, 87%, 71%)
CMYKcmyk(52.2%, 0%, 87.2%, 29.4%)
CIE-LABlab(65.50, -52.35, 62.62)
CIE-LCHlch(65.50, 81.62, 129.90°)
OKLaboklab(68.53% -0.1458 0.1366)
OKLCHoklch(68.53% 0.2 136.9)
XYZxyz(20.3130, 34.6813, 6.4342)
Luminance0.3468 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56B417 #7517B4
analogous
#A4B417 #56B417 #17B427
triadic
#56B417 #1756B4 #B41756
tetradic
#56B417 #17A4B4 #7517B4 #B42717
square
#56B417 #17A4B4 #7517B4 #B42717
split-complementary
#56B417 #2717B4 #B417A4
monochromatic
#224709 #3C7E10 #56B417 #71E325 #95EA5B

Accessibility & contrast

On white

2.65
#56B417 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.94
#56B417 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #56B417
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56B417#FFFFFF#000000##000000
##56B4171.002.657.947.94
#FFFFFF2.651.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA400
Deuteranopia (green-blind)
#AE9C2E
Tritanopia (blue-blind)
#50AD99
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #56b417;
/* rgb */ color: rgb(86, 180, 23);
/* oklch */ color: oklch(68.5% 0.200 136.9);
Tailwind
colors: {
  custom: {
    50: '#90cb67',
    500: '#56b417',
    950: '#000000',
  },
}
SCSS
$custom: #56b417;
$custom-light: #90cb67;
$custom-dark: #000000;
JSON
{
  "hex": "#56b417",
  "rgb": {
    "r": 86,
    "g": 180,
    "b": 23
  },
  "hsl": {
    "h": 95.924,
    "s": 77.34,
    "l": 39.804
  },
  "oklch": {
    "l": 0.6853,
    "c": 0.19976,
    "h": 136.9
  },
  "luminance": 0.34683
}

Semantic roles & 50–950 ramp

primary
#56B417
secondary
#9F59CE
accent
#34F4A7
background
#F9FCF6
surface
#F2F9EB
border
#CCD2C6
text
#0E1307
muted
#7E827A

Preview Lab

Preview with #56B417

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

Preview Lab → · Contrast checker → · Palette generator →

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