#56A51F#56A51F

#56A51F is a light, vivid yellow-green. Relative luminance 0.290; OKLCH L 64.6% C 0.179 H 136.0°. Best body text is #000000 at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#56A51F
RGBrgb(86, 165, 31)
HSLhsl(95, 68%, 38%)
HSVhsv(95, 81%, 65%)
CMYKcmyk(47.9%, 0%, 81.2%, 35.3%)
CIE-LABlab(60.77, -46.24, 56.39)
CIE-LCHlch(60.77, 72.93, 129.35°)
OKLaboklab(64.65% -0.129 0.1246)
OKLCHoklch(64.65% 0.179 136)
XYZxyz(17.5397, 28.9865, 5.9668)
Luminance0.2899 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56A51F #6E1FA5
analogous
#99A51F #56A51F #1FA52B
triadic
#56A51F #1F56A5 #A51F56
tetradic
#56A51F #1F99A5 #6E1FA5 #A52B1F
square
#56A51F #1F99A5 #6E1FA5 #A52B1F
split-complementary
#56A51F #2B1FA5 #A51F99
monochromatic
#203E0C #3B7115 #56A51F #71D72A #93E15E

Accessibility & contrast

On white

3.09
#56A51F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.80
#56A51F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #56A51F
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56A51F#FFFFFF#000000##000000
##56A51F1.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9700
Deuteranopia (green-blind)
#A1902F
Tritanopia (blue-blind)
#539F8D
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #56a51f;
/* rgb */ color: rgb(86, 165, 31);
/* oklch */ color: oklch(64.6% 0.179 136.0);
Tailwind
colors: {
  custom: {
    50: '#8dc067',
    500: '#56a51f',
    950: '#000000',
  },
}
SCSS
$custom: #56a51f;
$custom-light: #8dc067;
$custom-dark: #000000;
JSON
{
  "hex": "#56a51f",
  "rgb": {
    "r": 86,
    "g": 165,
    "b": 31
  },
  "hsl": {
    "h": 95.373,
    "s": 68.367,
    "l": 38.431
  },
  "oklch": {
    "l": 0.64645,
    "c": 0.17934,
    "h": 136
  },
  "luminance": 0.28988
}

Semantic roles & 50–950 ramp

primary
#56A51F
secondary
#995BC5
accent
#3DEBA4
background
#F9FBF6
surface
#F1F7EB
border
#CBD0C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #56A51F

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

Preview Lab → · Contrast checker → · Palette generator →

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