#56B322#56B322

#56B322 is a light, vivid yellow-green. Relative luminance 0.343; OKLCH L 68.3% C 0.194 H 137.3°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#56B322
RGBrgb(86, 179, 34)
HSLhsl(98, 68%, 42%)
HSVhsv(98, 81%, 70%)
CMYKcmyk(52%, 0%, 81%, 29.8%)
CIE-LABlab(65.23, -51.50, 59.65)
CIE-LCHlch(65.23, 78.80, 130.81°)
OKLaboklab(68.32% -0.143 0.1318)
OKLCHoklch(68.32% 0.194 137.3)
XYZxyz(20.2459, 34.3326, 7.0731)
Luminance0.3433 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56B322 #7F22B3
analogous
#9FB322 #56B322 #22B337
triadic
#56B322 #2256B3 #B32256
tetradic
#56B322 #229FB3 #7F22B3 #B33722
square
#56B322 #229FB3 #7F22B3 #B33722
split-complementary
#56B322 #3722B3 #B3229F
monochromatic
#254C0E #3D8018 #56B322 #72D939 #97E36C

Accessibility & contrast

On white

2.67
#56B322 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#56B322 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #56B322
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56B322#FFFFFF#000000##000000
##56B3221.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A300
Deuteranopia (green-blind)
#AD9B34
Tritanopia (blue-blind)
#50AC99
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #56b322;
/* rgb */ color: rgb(86, 179, 34);
/* oklch */ color: oklch(68.3% 0.194 137.3);
Tailwind
colors: {
  custom: {
    50: '#8fca6a',
    500: '#56b322',
    950: '#000000',
  },
}
SCSS
$custom: #56b322;
$custom-light: #8fca6a;
$custom-dark: #000000;
JSON
{
  "hex": "#56b322",
  "rgb": {
    "r": 86,
    "g": 179,
    "b": 34
  },
  "hsl": {
    "h": 98.483,
    "s": 68.075,
    "l": 41.765
  },
  "oklch": {
    "l": 0.68317,
    "c": 0.19447,
    "h": 137.3
  },
  "luminance": 0.34334
}

Semantic roles & 50–950 ramp

primary
#56B322
secondary
#A668C9
accent
#3DEBAD
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #56B322

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

Preview Lab → · Contrast checker → · Palette generator →

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