#56A225#56A225

#56A225 is a light, vivid yellow-green. Relative luminance 0.280; OKLCH L 63.9% C 0.173 H 136.1°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#56A225
RGBrgb(86, 162, 37)
HSLhsl(96, 63%, 39%)
HSVhsv(96, 77%, 64%)
CMYKcmyk(46.9%, 0%, 77.2%, 36.5%)
CIE-LABlab(59.84, -44.70, 53.64)
CIE-LCHlch(59.84, 69.82, 129.81°)
OKLaboklab(63.9% -0.1245 0.1197)
OKLCHoklch(63.9% 0.173 136.1)
XYZxyz(17.0916, 27.9516, 6.2445)
Luminance0.2795 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56A225 #7125A2
analogous
#95A225 #56A225 #25A233
triadic
#56A225 #2556A2 #A22556
tetradic
#56A225 #2595A2 #7125A2 #A23325
square
#56A225 #2595A2 #7125A2 #A23325
split-complementary
#56A225 #3325A2 #A22595
monochromatic
#213E0E #3C701A #56A225 #71D134 #94DC65

Accessibility & contrast

On white

3.19
#56A225 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#56A225 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #56A225
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56A225#FFFFFF#000000##000000
##56A2251.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89406
Deuteranopia (green-blind)
#9E8E32
Tritanopia (blue-blind)
#539C8A
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #56a225;
/* rgb */ color: rgb(86, 162, 37);
/* oklch */ color: oklch(63.9% 0.173 136.1);
Tailwind
colors: {
  custom: {
    50: '#8dbe69',
    500: '#56a225',
    950: '#000000',
  },
}
SCSS
$custom: #56a225;
$custom-light: #8dbe69;
$custom-dark: #000000;
JSON
{
  "hex": "#56a225",
  "rgb": {
    "r": 86,
    "g": 162,
    "b": 37
  },
  "hsl": {
    "h": 96.48,
    "s": 62.814,
    "l": 39.02
  },
  "oklch": {
    "l": 0.63895,
    "c": 0.17272,
    "h": 136.1
  },
  "luminance": 0.27953
}

Semantic roles & 50–950 ramp

primary
#56A225
secondary
#9C61C2
accent
#42E6A6
background
#F9FBF6
surface
#F1F7EB
border
#CBD0C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #56A225

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

Preview Lab → · Contrast checker → · Palette generator →

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