#56A526#56A526

#56A526 is a light, vivid yellow-green. Relative luminance 0.290; OKLCH L 64.7% C 0.176 H 136.5°. Best body text is #000000 at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#56A526
RGBrgb(86, 165, 38)
HSLhsl(97, 63%, 40%)
HSVhsv(97, 77%, 65%)
CMYKcmyk(47.9%, 0%, 77%, 35.3%)
CIE-LABlab(60.81, -45.84, 54.23)
CIE-LCHlch(60.81, 71.01, 130.21°)
OKLaboklab(64.69% -0.1275 0.1211)
OKLCHoklch(64.69% 0.176 136.5)
XYZxyz(17.6422, 29.0275, 6.5066)
Luminance0.2903 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56A526 #7526A5
analogous
#96A526 #56A526 #26A536
triadic
#56A526 #2656A5 #A52656
tetradic
#56A526 #2696A5 #7526A5 #A53626
square
#56A526 #2696A5 #7526A5 #A53626
split-complementary
#56A526 #3626A5 #A52696
monochromatic
#22420F #3C731B #56A526 #71D137 #95DC69

Accessibility & contrast

On white

3.09
#56A526 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.81
#56A526 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #56A526
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56A526#FFFFFF#000000##000000
##56A5261.003.096.816.81
#FFFFFF3.091.0021.0021.00
#0000006.8121.001.001.00
##0000006.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9706
Deuteranopia (green-blind)
#A09034
Tritanopia (blue-blind)
#529F8D
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #56a526;
/* rgb */ color: rgb(86, 165, 38);
/* oklch */ color: oklch(64.7% 0.176 136.5);
Tailwind
colors: {
  custom: {
    50: '#8dc06a',
    500: '#56a526',
    950: '#000000',
  },
}
SCSS
$custom: #56a526;
$custom-light: #8dc06a;
$custom-dark: #000000;
JSON
{
  "hex": "#56a526",
  "rgb": {
    "r": 86,
    "g": 165,
    "b": 38
  },
  "hsl": {
    "h": 97.323,
    "s": 62.562,
    "l": 39.804
  },
  "oklch": {
    "l": 0.64686,
    "c": 0.17585,
    "h": 136.5
  },
  "luminance": 0.29029
}

Semantic roles & 50–950 ramp

primary
#56A526
secondary
#9F64C3
accent
#42E6A8
background
#F9FBF6
surface
#F1F7EC
border
#CBD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #56A526

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

Preview Lab → · Contrast checker → · Palette generator →

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