#56AD1F#56AD1F

#56AD1F is a light, vivid yellow-green. Relative luminance 0.320; OKLCH L 66.7% C 0.189 H 136.7°. Best body text is #000000 at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#56AD1F
RGBrgb(86, 173, 31)
HSLhsl(97, 70%, 40%)
HSVhsv(97, 82%, 68%)
CMYKcmyk(50.3%, 0%, 82.1%, 32.2%)
CIE-LABlab(63.31, -49.37, 58.73)
CIE-LCHlch(63.31, 76.72, 130.05°)
OKLaboklab(66.74% -0.1374 0.1295)
OKLCHoklch(66.74% 0.189 136.7)
XYZxyz(19.0281, 31.9631, 6.4629)
Luminance0.3196 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56AD1F #761FAD
analogous
#9DAD1F #56AD1F #1FAD2F
triadic
#56AD1F #1F56AD #AD1F56
tetradic
#56AD1F #1F9DAD #761FAD #AD2F1F
square
#56AD1F #1F9DAD #761FAD #AD2F1F
split-complementary
#56AD1F #2F1FAD #AD1F9D
monochromatic
#22450C #3C7916 #56AD1F #71DA2F #95E363

Accessibility & contrast

On white

2.84
#56AD1F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.39
#56AD1F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #56AD1F
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56AD1F#FFFFFF#000000##000000
##56AD1F1.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E00
Deuteranopia (green-blind)
#A89730
Tritanopia (blue-blind)
#51A693
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #56ad1f;
/* rgb */ color: rgb(86, 173, 31);
/* oklch */ color: oklch(66.7% 0.189 136.7);
Tailwind
colors: {
  custom: {
    50: '#8ec668',
    500: '#56ad1f',
    950: '#000000',
  },
}
SCSS
$custom: #56ad1f;
$custom-light: #8ec668;
$custom-dark: #000000;
JSON
{
  "hex": "#56ad1f",
  "rgb": {
    "r": 86,
    "g": 173,
    "b": 31
  },
  "hsl": {
    "h": 96.761,
    "s": 69.608,
    "l": 40
  },
  "oklch": {
    "l": 0.66737,
    "c": 0.18879,
    "h": 136.7
  },
  "luminance": 0.31965
}

Semantic roles & 50–950 ramp

primary
#56AD1F
secondary
#A060C8
accent
#3BECA8
background
#F9FCF6
surface
#F2F8EB
border
#CCD1C6
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #56AD1F

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

Preview Lab → · Contrast checker → · Palette generator →

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