#56A523#56A523

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

Color values

HEX#56A523
RGBrgb(86, 165, 35)
HSLhsl(96, 65%, 39%)
HSVhsv(96, 79%, 65%)
CMYKcmyk(47.9%, 0%, 78.8%, 35.3%)
CIE-LABlab(60.79, -46.02, 55.20)
CIE-LCHlch(60.79, 71.87, 129.82°)
OKLaboklab(64.67% -0.1282 0.1227)
OKLCHoklch(64.67% 0.177 136.3)
XYZxyz(17.5958, 29.0089, 6.2619)
Luminance0.2901 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56A523 #7223A5
analogous
#97A523 #56A523 #23A531
triadic
#56A523 #2356A5 #A52356
tetradic
#56A523 #2397A5 #7223A5 #A53123
square
#56A523 #2397A5 #7223A5 #A53123
split-complementary
#56A523 #3123A5 #A52397
monochromatic
#21400E #3C7318 #56A523 #71D332 #94DE64

Accessibility & contrast

On white

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

On black

6.80
#56A523 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #56A523
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56A523#FFFFFF#000000##000000
##56A5231.003.096.806.80
#FFFFFF3.091.0021.0021.00
#0000006.8021.001.001.00
##0000006.8021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #56a523;
/* rgb */ color: rgb(86, 165, 35);
/* oklch */ color: oklch(64.7% 0.177 136.3);
Tailwind
colors: {
  custom: {
    50: '#8dc069',
    500: '#56a523',
    950: '#000000',
  },
}
SCSS
$custom: #56a523;
$custom-light: #8dc069;
$custom-dark: #000000;
JSON
{
  "hex": "#56a523",
  "rgb": {
    "r": 86,
    "g": 165,
    "b": 35
  },
  "hsl": {
    "h": 96.462,
    "s": 65,
    "l": 39.216
  },
  "oklch": {
    "l": 0.64667,
    "c": 0.17742,
    "h": 136.3
  },
  "luminance": 0.2901
}

Semantic roles & 50–950 ramp

primary
#56A523
secondary
#9D60C4
accent
#40E8A6
background
#F9FBF6
surface
#F1F7EB
border
#CBD0C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #56A523

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

Preview Lab → · Contrast checker → · Palette generator →

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