#56B41B#56B41B

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

Color values

HEX#56B41B
RGBrgb(86, 180, 27)
HSLhsl(97, 74%, 41%)
HSVhsv(97, 85%, 71%)
CMYKcmyk(52.2%, 0%, 85%, 29.4%)
CIE-LABlab(65.51, -52.20, 61.73)
CIE-LCHlch(65.51, 80.84, 130.22°)
OKLaboklab(68.55% -0.1452 0.1352)
OKLCHoklch(68.55% 0.198 137)
XYZxyz(20.3562, 34.6986, 6.6615)
Luminance0.3470 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56B41B #791BB4
analogous
#A2B41B #56B41B #1BB42D
triadic
#56B41B #1B56B4 #B41B56
tetradic
#56B41B #1BA2B4 #791BB4 #B42D1B
square
#56B41B #1BA2B4 #791BB4 #B42D1B
split-complementary
#56B41B #2D1BB4 #B41BA2
monochromatic
#234A0B #3D7F13 #56B41B #72DF2D #95E762

Accessibility & contrast

On white

2.64
#56B41B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##56B41B#FFFFFF#000000##000000
##56B41B1.002.647.947.94
#FFFFFF2.641.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA400
Deuteranopia (green-blind)
#AE9C30
Tritanopia (blue-blind)
#50AD99
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #56b41b;
/* rgb */ color: rgb(86, 180, 27);
/* oklch */ color: oklch(68.5% 0.198 137.0);
Tailwind
colors: {
  custom: {
    50: '#90cb68',
    500: '#56b41b',
    950: '#000000',
  },
}
SCSS
$custom: #56b41b;
$custom-light: #90cb68;
$custom-dark: #000000;
JSON
{
  "hex": "#56b41b",
  "rgb": {
    "r": 86,
    "g": 180,
    "b": 27
  },
  "hsl": {
    "h": 96.863,
    "s": 73.913,
    "l": 40.588
  },
  "oklch": {
    "l": 0.68545,
    "c": 0.19841,
    "h": 137
  },
  "luminance": 0.347
}

Semantic roles & 50–950 ramp

primary
#56B41B
secondary
#A25FCC
accent
#37F1A9
background
#F9FCF6
surface
#F2F9EB
border
#CCD2C6
text
#0E1307
muted
#7E827A

Preview Lab

Preview with #56B41B

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

Preview Lab → · Contrast checker → · Palette generator →

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