#56B31E#56B31E

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

Color values

HEX#56B31E
RGBrgb(86, 179, 30)
HSLhsl(97, 71%, 41%)
HSVhsv(97, 83%, 70%)
CMYKcmyk(52%, 0%, 83.2%, 29.8%)
CIE-LABlab(65.21, -51.70, 60.72)
CIE-LCHlch(65.21, 79.74, 130.41°)
OKLaboklab(68.3% -0.1437 0.1335)
OKLCHoklch(68.3% 0.196 137.1)
XYZxyz(20.1916, 34.3109, 6.7867)
Luminance0.3431 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56B31E #7B1EB3
analogous
#A0B31E #56B31E #1EB331
triadic
#56B31E #1E56B3 #B31E56
tetradic
#56B31E #1EA0B3 #7B1EB3 #B3311E
square
#56B31E #1EA0B3 #7B1EB3 #B3311E
split-complementary
#56B31E #311EB3 #B31EA0
monochromatic
#244A0C #3D7F15 #56B31E #72DD32 #96E566

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #56b31e;
/* rgb */ color: rgb(86, 179, 30);
/* oklch */ color: oklch(68.3% 0.196 137.1);
Tailwind
colors: {
  custom: {
    50: '#8fca69',
    500: '#56b31e',
    950: '#000000',
  },
}
SCSS
$custom: #56b31e;
$custom-light: #8fca69;
$custom-dark: #000000;
JSON
{
  "hex": "#56b31e",
  "rgb": {
    "r": 86,
    "g": 179,
    "b": 30
  },
  "hsl": {
    "h": 97.45,
    "s": 71.292,
    "l": 40.98
  },
  "oklch": {
    "l": 0.68297,
    "c": 0.19614,
    "h": 137.1
  },
  "luminance": 0.34312
}

Semantic roles & 50–950 ramp

primary
#56B31E
secondary
#A362CB
accent
#3AEEAA
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #56B31E

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

Preview Lab → · Contrast checker → · Palette generator →

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