#56B41F#56B41F

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

Color values

HEX#56B41F
RGBrgb(86, 180, 31)
HSLhsl(98, 71%, 41%)
HSVhsv(98, 83%, 71%)
CMYKcmyk(52.2%, 0%, 82.8%, 29.4%)
CIE-LABlab(65.53, -52.02, 60.74)
CIE-LCHlch(65.53, 79.98, 130.58°)
OKLaboklab(68.56% -0.1445 0.1337)
OKLCHoklch(68.56% 0.197 137.2)
XYZxyz(20.4057, 34.7183, 6.9221)
Luminance0.3472 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56B41F #7D1FB4
analogous
#A1B41F #56B41F #1FB432
triadic
#56B41F #1F56B4 #B41F56
tetradic
#56B41F #1FA1B4 #7D1FB4 #B4321F
square
#56B41F #1FA1B4 #7D1FB4 #B4321F
split-complementary
#56B41F #321FB4 #B41FA1
monochromatic
#244C0D #3D8016 #56B41F #72DC34 #96E568

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##56B41F#FFFFFF#000000##000000
##56B41F1.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)
#AE9C32
Tritanopia (blue-blind)
#50AD99
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #56b41f;
/* rgb */ color: rgb(86, 180, 31);
/* oklch */ color: oklch(68.6% 0.197 137.2);
Tailwind
colors: {
  custom: {
    50: '#8fcb69',
    500: '#56b41f',
    950: '#000000',
  },
}
SCSS
$custom: #56b41f;
$custom-light: #8fcb69;
$custom-dark: #000000;
JSON
{
  "hex": "#56b41f",
  "rgb": {
    "r": 86,
    "g": 180,
    "b": 31
  },
  "hsl": {
    "h": 97.852,
    "s": 70.616,
    "l": 41.373
  },
  "oklch": {
    "l": 0.68563,
    "c": 0.19689,
    "h": 137.2
  },
  "luminance": 0.3472
}

Semantic roles & 50–950 ramp

primary
#56B41F
secondary
#A564CB
accent
#3AEDAB
background
#F9FCF6
surface
#F2F9EC
border
#CCD2C7
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #56B41F

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

Preview Lab → · Contrast checker → · Palette generator →

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