#56A81F#56A81F

#56A81F is a light, vivid yellow-green. Relative luminance 0.301; OKLCH L 65.4% C 0.183 H 136.3°. Best body text is #000000 at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#56A81F
RGBrgb(86, 168, 31)
HSLhsl(96, 69%, 39%)
HSVhsv(96, 82%, 66%)
CMYKcmyk(48.8%, 0%, 81.5%, 34.1%)
CIE-LABlab(61.72, -47.42, 57.27)
CIE-LCHlch(61.72, 74.36, 129.63°)
OKLaboklab(65.43% -0.1322 0.1264)
OKLCHoklch(65.43% 0.183 136.3)
XYZxyz(18.0872, 30.0814, 6.1493)
Luminance0.3008 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56A81F #711FA8
analogous
#9BA81F #56A81F #1FA82C
triadic
#56A81F #1F56A8 #A81F56
tetradic
#56A81F #1F9BA8 #711FA8 #A82C1F
square
#56A81F #1F9BA8 #711FA8 #A82C1F
split-complementary
#56A81F #2C1FA8 #A81F9B
monochromatic
#21410C #3C7415 #56A81F #71D82C #94E260

Accessibility & contrast

On white

2.99
#56A81F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.02
#56A81F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #56A81F
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56A81F#FFFFFF#000000##000000
##56A81F1.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9900
Deuteranopia (green-blind)
#A39330
Tritanopia (blue-blind)
#52A28F
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #56a81f;
/* rgb */ color: rgb(86, 168, 31);
/* oklch */ color: oklch(65.4% 0.183 136.3);
Tailwind
colors: {
  custom: {
    50: '#8ec268',
    500: '#56a81f',
    950: '#000000',
  },
}
SCSS
$custom: #56a81f;
$custom-light: #8ec268;
$custom-dark: #000000;
JSON
{
  "hex": "#56a81f",
  "rgb": {
    "r": 86,
    "g": 168,
    "b": 31
  },
  "hsl": {
    "h": 95.912,
    "s": 68.844,
    "l": 39.02
  },
  "oklch": {
    "l": 0.6543,
    "c": 0.18291,
    "h": 136.3
  },
  "luminance": 0.30083
}

Semantic roles & 50–950 ramp

primary
#56A81F
secondary
#9C5DC6
accent
#3CECA5
background
#F9FCF6
surface
#F1F8EB
border
#CBD1C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #56A81F

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

Preview Lab → · Contrast checker → · Palette generator →

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