#56AF22#56AF22

#56AF22 is a light, vivid yellow-green. Relative luminance 0.328; OKLCH L 67.3% C 0.190 H 137.0°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#56AF22
RGBrgb(86, 175, 34)
HSLhsl(98, 67%, 41%)
HSVhsv(98, 81%, 69%)
CMYKcmyk(50.9%, 0%, 80.6%, 31.4%)
CIE-LABlab(63.96, -49.98, 58.47)
CIE-LCHlch(63.96, 76.92, 130.52°)
OKLaboklab(67.27% -0.1389 0.1294)
OKLCHoklch(67.27% 0.19 137)
XYZxyz(19.4559, 32.7525, 6.8097)
Luminance0.3275 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56AF22 #7B22AF
analogous
#9CAF22 #56AF22 #22AF34
triadic
#56AF22 #2256AF #AF2256
tetradic
#56AF22 #229CAF #7B22AF #AF3422
square
#56AF22 #229CAF #7B22AF #AF3422
split-complementary
#56AF22 #3422AF #AF229C
monochromatic
#24490E #3D7C18 #56AF22 #72D836 #96E269

Accessibility & contrast

On white

2.78
#56AF22 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#56AF22 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #56AF22
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56AF22#FFFFFF#000000##000000
##56AF221.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A000
Deuteranopia (green-blind)
#AA9833
Tritanopia (blue-blind)
#50A895
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #56af22;
/* rgb */ color: rgb(86, 175, 34);
/* oklch */ color: oklch(67.3% 0.190 137.0);
Tailwind
colors: {
  custom: {
    50: '#8fc86a',
    500: '#56af22',
    950: '#000000',
  },
}
SCSS
$custom: #56af22;
$custom-light: #8fc86a;
$custom-dark: #000000;
JSON
{
  "hex": "#56af22",
  "rgb": {
    "r": 86,
    "g": 175,
    "b": 34
  },
  "hsl": {
    "h": 97.872,
    "s": 67.464,
    "l": 40.98
  },
  "oklch": {
    "l": 0.67274,
    "c": 0.18981,
    "h": 137
  },
  "luminance": 0.32754
}

Semantic roles & 50–950 ramp

primary
#56AF22
secondary
#A365C8
accent
#3DEAAB
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #56AF22

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

Preview Lab → · Contrast checker → · Palette generator →

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