#56B318#56B318

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

Color values

HEX#56B318
RGBrgb(86, 179, 24)
HSLhsl(96, 76%, 40%)
HSVhsv(96, 87%, 70%)
CMYKcmyk(52%, 0%, 86.6%, 29.8%)
CIE-LABlab(65.19, -51.94, 62.13)
CIE-LCHlch(65.19, 80.98, 129.90°)
OKLaboklab(68.27% -0.1446 0.1357)
OKLCHoklch(68.27% 0.198 136.8)
XYZxyz(20.1221, 34.2831, 6.4209)
Luminance0.3428 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56B318 #7518B3
analogous
#A4B318 #56B318 #18B327
triadic
#56B318 #1856B3 #B31856
tetradic
#56B318 #18A4B3 #7518B3 #B32718
square
#56B318 #18A4B3 #7518B3 #B32718
split-complementary
#56B318 #2718B3 #B318A4
monochromatic
#22470A #3C7D11 #56B318 #71E226 #95E95C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##56B318#FFFFFF#000000##000000
##56B3181.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)
#AD9B2E
Tritanopia (blue-blind)
#50AC98
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #56b318;
/* rgb */ color: rgb(86, 179, 24);
/* oklch */ color: oklch(68.3% 0.198 136.8);
Tailwind
colors: {
  custom: {
    50: '#8fca67',
    500: '#56b318',
    950: '#000000',
  },
}
SCSS
$custom: #56b318;
$custom-light: #8fca67;
$custom-dark: #000000;
JSON
{
  "hex": "#56b318",
  "rgb": {
    "r": 86,
    "g": 179,
    "b": 24
  },
  "hsl": {
    "h": 96,
    "s": 76.355,
    "l": 39.804
  },
  "oklch": {
    "l": 0.68272,
    "c": 0.19831,
    "h": 136.8
  },
  "luminance": 0.34285
}

Semantic roles & 50–950 ramp

primary
#56B318
secondary
#9F5ACD
accent
#35F3A7
background
#F9FCF6
surface
#F2F8EB
border
#CCD1C6
text
#0E1307
muted
#7E827A

Preview Lab

Preview with #56B318

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

Preview Lab → · Contrast checker → · Palette generator →

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