#56B418#56B418

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

Color values

HEX#56B418
RGBrgb(86, 180, 24)
HSLhsl(96, 76%, 40%)
HSVhsv(96, 87%, 71%)
CMYKcmyk(52.2%, 0%, 86.7%, 29.4%)
CIE-LABlab(65.50, -52.32, 62.41)
CIE-LCHlch(65.50, 81.43, 129.97°)
OKLaboklab(68.53% -0.1456 0.1363)
OKLCHoklch(68.53% 0.199 136.9)
XYZxyz(20.3233, 34.6854, 6.4880)
Luminance0.3469 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56B418 #7618B4
analogous
#A4B418 #56B418 #18B428
triadic
#56B418 #1856B4 #B41856
tetradic
#56B418 #18A4B4 #7618B4 #B42818
square
#56B418 #18A4B4 #7618B4 #B42818
split-complementary
#56B418 #2818B4 #B418A4
monochromatic
#22480A #3C7E11 #56B418 #71E227 #95E95D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##56B418#FFFFFF#000000##000000
##56B4181.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: #56b418;
/* rgb */ color: rgb(86, 180, 24);
/* oklch */ color: oklch(68.5% 0.199 136.9);
Tailwind
colors: {
  custom: {
    50: '#90cb67',
    500: '#56b418',
    950: '#000000',
  },
}
SCSS
$custom: #56b418;
$custom-light: #90cb67;
$custom-dark: #000000;
JSON
{
  "hex": "#56b418",
  "rgb": {
    "r": 86,
    "g": 180,
    "b": 24
  },
  "hsl": {
    "h": 96.154,
    "s": 76.471,
    "l": 40
  },
  "oklch": {
    "l": 0.68533,
    "c": 0.19944,
    "h": 136.9
  },
  "luminance": 0.34687
}

Semantic roles & 50–950 ramp

primary
#56B418
secondary
#A05BCD
accent
#35F3A7
background
#F9FCF6
surface
#F2F9EB
border
#CCD2C6
text
#0E1307
muted
#7E827A

Preview Lab

Preview with #56B418

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

Preview Lab → · Contrast checker → · Palette generator →

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