#56B20F#56B20F

#56B20F is a light, vivid yellow-green. Relative luminance 0.339; OKLCH L 68.0% C 0.200 H 136.4°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#56B20F
RGBrgb(86, 178, 15)
HSLhsl(94, 84%, 38%)
HSVhsv(94, 92%, 70%)
CMYKcmyk(51.7%, 0%, 91.6%, 30.2%)
CIE-LABlab(64.85, -51.85, 63.53)
CIE-LCHlch(64.85, 82.01, 129.22°)
OKLaboklab(67.98% -0.1447 0.1376)
OKLCHoklch(67.98% 0.2 136.4)
XYZxyz(19.8438, 33.8523, 5.9403)
Luminance0.3385 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56B20F #6B0FB2
analogous
#A7B20F #56B20F #0FB219
triadic
#56B20F #0F56B2 #B20F56
tetradic
#56B20F #0FA7B2 #6B0FB2 #B2190F
square
#56B20F #0FA7B2 #6B0FB2 #B2190F
split-complementary
#56B20F #190FB2 #B20FA7
monochromatic
#1F4105 #3B7A0A #56B20F #71EA14 #93F04C

Accessibility & contrast

On white

2.70
#56B20F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#56B20F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #56B20F
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56B20F#FFFFFF#000000##000000
##56B20F1.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A200
Deuteranopia (green-blind)
#AD9B29
Tritanopia (blue-blind)
#51AB97
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #56b20f;
/* rgb */ color: rgb(86, 178, 15);
/* oklch */ color: oklch(68.0% 0.200 136.4);
Tailwind
colors: {
  custom: {
    50: '#90ca64',
    500: '#56b20f',
    950: '#000000',
  },
}
SCSS
$custom: #56b20f;
$custom-light: #90ca64;
$custom-dark: #000000;
JSON
{
  "hex": "#56b20f",
  "rgb": {
    "r": 86,
    "g": 178,
    "b": 15
  },
  "hsl": {
    "h": 93.865,
    "s": 84.456,
    "l": 37.843
  },
  "oklch": {
    "l": 0.67983,
    "c": 0.19969,
    "h": 136.4
  },
  "luminance": 0.33854
}

Semantic roles & 50–950 ramp

primary
#56B20F
secondary
#974CD1
accent
#2DFBA1
background
#F9FCF6
surface
#F2F8EB
border
#CCD1C6
text
#0E1306
muted
#7E827A

Preview Lab

Preview with #56B20F

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

Preview Lab → · Contrast checker → · Palette generator →

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