#56A123#56A123

#56A123 is a light, vivid yellow-green. Relative luminance 0.276; OKLCH L 63.6% C 0.173 H 135.9°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#56A123
RGBrgb(86, 161, 35)
HSLhsl(96, 64%, 38%)
HSVhsv(96, 78%, 63%)
CMYKcmyk(46.6%, 0%, 78.3%, 36.9%)
CIE-LABlab(59.52, -44.42, 53.99)
CIE-LCHlch(59.52, 69.91, 129.45°)
OKLaboklab(63.62% -0.1239 0.1201)
OKLCHoklch(63.62% 0.173 135.9)
XYZxyz(16.8856, 27.5885, 6.0251)
Luminance0.2759 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56A123 #6E23A1
analogous
#95A123 #56A123 #23A12F
triadic
#56A123 #2356A1 #A12356
tetradic
#56A123 #2395A1 #6E23A1 #A12F23
square
#56A123 #2395A1 #6E23A1 #A12F23
split-complementary
#56A123 #2F23A1 #A12395
monochromatic
#203C0D #3B6F18 #56A123 #71D22F #93DD62

Accessibility & contrast

On white

3.22
#56A123 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#56A123 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #56A123
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56A123#FFFFFF#000000##000000
##56A1231.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79301
Deuteranopia (green-blind)
#9D8D31
Tritanopia (blue-blind)
#539B89
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #56a123;
/* rgb */ color: rgb(86, 161, 35);
/* oklch */ color: oklch(63.6% 0.173 135.9);
Tailwind
colors: {
  custom: {
    50: '#8dbd68',
    500: '#56a123',
    950: '#000000',
  },
}
SCSS
$custom: #56a123;
$custom-light: #8dbd68;
$custom-dark: #000000;
JSON
{
  "hex": "#56a123",
  "rgb": {
    "r": 86,
    "g": 161,
    "b": 35
  },
  "hsl": {
    "h": 95.714,
    "s": 64.286,
    "l": 38.431
  },
  "oklch": {
    "l": 0.6362,
    "c": 0.17255,
    "h": 135.9
  },
  "luminance": 0.2759
}

Semantic roles & 50–950 ramp

primary
#56A123
secondary
#995EC2
accent
#41E7A4
background
#F9FBF6
surface
#F1F7EB
border
#CBD0C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #56A123

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

Preview Lab → · Contrast checker → · Palette generator →

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