#56A12E#56A12E

#56A12E is a light, vivid yellow-green. Relative luminance 0.277; OKLCH L 63.7% C 0.166 H 136.8°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#56A12E
RGBrgb(86, 161, 46)
HSLhsl(99, 56%, 41%)
HSVhsv(99, 71%, 63%)
CMYKcmyk(46.6%, 0%, 71.4%, 36.9%)
CIE-LABlab(59.58, -43.67, 50.11)
CIE-LCHlch(59.58, 66.46, 131.07°)
OKLaboklab(63.7% -0.1211 0.1136)
OKLCHoklch(63.7% 0.166 136.8)
XYZxyz(17.0753, 27.6643, 7.0242)
Luminance0.2767 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56A12E #792EA1
analogous
#90A12E #56A12E #2EA13F
triadic
#56A12E #2E56A1 #A12E56
tetradic
#56A12E #2E90A1 #792EA1 #A13F2E
square
#56A12E #2E90A1 #792EA1 #A13F2E
split-complementary
#56A12E #3F2EA1 #A12E90
monochromatic
#234213 #3D7120 #56A12E #72C943 #95D773

Accessibility & contrast

On white

3.21
#56A12E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#56A12E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #56A12E
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56A12E#FFFFFF#000000##000000
##56A12E1.003.216.536.53
#FFFFFF3.211.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6931B
Deuteranopia (green-blind)
#9C8D39
Tritanopia (blue-blind)
#529B8A
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #56a12e;
/* rgb */ color: rgb(86, 161, 46);
/* oklch */ color: oklch(63.7% 0.166 136.8);
Tailwind
colors: {
  custom: {
    50: '#8cbd6e',
    500: '#56a12e',
    950: '#000000',
  },
}
SCSS
$custom: #56a12e;
$custom-light: #8cbd6e;
$custom-dark: #000000;
JSON
{
  "hex": "#56a12e",
  "rgb": {
    "r": 86,
    "g": 161,
    "b": 46
  },
  "hsl": {
    "h": 99.13,
    "s": 55.556,
    "l": 40.588
  },
  "oklch": {
    "l": 0.63699,
    "c": 0.16606,
    "h": 136.8
  },
  "luminance": 0.27665
}

Semantic roles & 50–950 ramp

primary
#56A12E
secondary
#A26CBE
accent
#49DFAB
background
#F9FBF6
surface
#F1F7EC
border
#CBD0C7
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #56A12E

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

Preview Lab → · Contrast checker → · Palette generator →

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