#56B41C#56B41C

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

Color values

HEX#56B41C
RGBrgb(86, 180, 28)
HSLhsl(97, 73%, 41%)
HSVhsv(97, 84%, 71%)
CMYKcmyk(52.2%, 0%, 84.4%, 29.4%)
CIE-LABlab(65.52, -52.16, 61.50)
CIE-LCHlch(65.52, 80.64, 130.30°)
OKLaboklab(68.55% -0.145 0.1349)
OKLCHoklch(68.55% 0.198 137.1)
XYZxyz(20.3680, 34.7033, 6.7235)
Luminance0.3471 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56B41C #7A1CB4
analogous
#A2B41C #56B41C #1CB42E
triadic
#56B41C #1C56B4 #B41C56
tetradic
#56B41C #1CA2B4 #7A1CB4 #B42E1C
square
#56B41C #1CA2B4 #7A1CB4 #B42E1C
split-complementary
#56B41C #2E1CB4 #B41CA2
monochromatic
#234A0C #3D7F14 #56B41C #72DF2F #96E764

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##56B41C#FFFFFF#000000##000000
##56B41C1.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: #56b41c;
/* rgb */ color: rgb(86, 180, 28);
/* oklch */ color: oklch(68.5% 0.198 137.1);
Tailwind
colors: {
  custom: {
    50: '#90cb68',
    500: '#56b41c',
    950: '#000000',
  },
}
SCSS
$custom: #56b41c;
$custom-light: #90cb68;
$custom-dark: #000000;
JSON
{
  "hex": "#56b41c",
  "rgb": {
    "r": 86,
    "g": 180,
    "b": 28
  },
  "hsl": {
    "h": 97.105,
    "s": 73.077,
    "l": 40.784
  },
  "oklch": {
    "l": 0.68549,
    "c": 0.19805,
    "h": 137.1
  },
  "luminance": 0.34705
}

Semantic roles & 50–950 ramp

primary
#56B41C
secondary
#A360CC
accent
#38F0AA
background
#F9FCF6
surface
#F2F9EB
border
#CCD2C6
text
#0E1307
muted
#7E827A

Preview Lab

Preview with #56B41C

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

Preview Lab → · Contrast checker → · Palette generator →

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