#56B01B#56B01B

#56B01B is a light, vivid yellow-green. Relative luminance 0.331; OKLCH L 67.5% C 0.194 H 136.7°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#56B01B
RGBrgb(86, 176, 27)
HSLhsl(96, 73%, 40%)
HSVhsv(96, 85%, 69%)
CMYKcmyk(51.1%, 0%, 84.7%, 31%)
CIE-LABlab(64.25, -50.69, 60.61)
CIE-LCHlch(64.25, 79.02, 129.91°)
OKLaboklab(67.5% -0.1412 0.1329)
OKLCHoklch(67.5% 0.194 136.7)
XYZxyz(19.5603, 33.1068, 6.3962)
Luminance0.3311 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56B01B #751BB0
analogous
#A0B01B #56B01B #1BB02B
triadic
#56B01B #1B56B0 #B01B56
tetradic
#56B01B #1BA0B0 #751BB0 #B02B1B
square
#56B01B #1BA0B0 #751BB0 #B02B1B
split-complementary
#56B01B #2B1BB0 #B01BA0
monochromatic
#22460B #3C7B13 #56B01B #71DE2A #95E65F

Accessibility & contrast

On white

2.76
#56B01B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.62
#56B01B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #56B01B
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56B01B#FFFFFF#000000##000000
##56B01B1.002.767.627.62
#FFFFFF2.761.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A000
Deuteranopia (green-blind)
#AB992F
Tritanopia (blue-blind)
#51A996
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #56b01b;
/* rgb */ color: rgb(86, 176, 27);
/* oklch */ color: oklch(67.5% 0.194 136.7);
Tailwind
colors: {
  custom: {
    50: '#8fc867',
    500: '#56b01b',
    950: '#000000',
  },
}
SCSS
$custom: #56b01b;
$custom-light: #8fc867;
$custom-dark: #000000;
JSON
{
  "hex": "#56b01b",
  "rgb": {
    "r": 86,
    "g": 176,
    "b": 27
  },
  "hsl": {
    "h": 96.242,
    "s": 73.399,
    "l": 39.804
  },
  "oklch": {
    "l": 0.67502,
    "c": 0.19386,
    "h": 136.7
  },
  "luminance": 0.33108
}

Semantic roles & 50–950 ramp

primary
#56B01B
secondary
#9F5CCB
accent
#38F0A7
background
#F9FCF6
surface
#F2F8EB
border
#CCD1C6
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #56B01B

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

Preview Lab → · Contrast checker → · Palette generator →

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