#56A71F#56A71F

#56A71F is a light, vivid yellow-green. Relative luminance 0.297; OKLCH L 65.2% C 0.182 H 136.2°. Best body text is #000000 at 6.94:1 contrast (WCAG AA passes).

Color values

HEX#56A71F
RGBrgb(86, 167, 31)
HSLhsl(96, 69%, 39%)
HSVhsv(96, 81%, 65%)
CMYKcmyk(48.5%, 0%, 81.4%, 34.5%)
CIE-LABlab(61.41, -47.03, 56.98)
CIE-LCHlch(61.41, 73.88, 129.54°)
OKLaboklab(65.17% -0.1311 0.1258)
OKLCHoklch(65.17% 0.182 136.2)
XYZxyz(17.9033, 29.7136, 6.0880)
Luminance0.2972 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56A71F #701FA7
analogous
#9AA71F #56A71F #1FA72C
triadic
#56A71F #1F56A7 #A71F56
tetradic
#56A71F #1F9AA7 #701FA7 #A72C1F
square
#56A71F #1F9AA7 #701FA7 #A72C1F
split-complementary
#56A71F #2C1FA7 #A71F9A
monochromatic
#21400C #3B7315 #56A71F #71D82B #94E15F

Accessibility & contrast

On white

3.02
#56A71F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.94
#56A71F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #56A71F
6.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56A71F#FFFFFF#000000##000000
##56A71F1.003.026.946.94
#FFFFFF3.021.0021.0021.00
#0000006.9421.001.001.00
##0000006.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9800
Deuteranopia (green-blind)
#A2922F
Tritanopia (blue-blind)
#52A18E
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #56a71f;
/* rgb */ color: rgb(86, 167, 31);
/* oklch */ color: oklch(65.2% 0.182 136.2);
Tailwind
colors: {
  custom: {
    50: '#8ec267',
    500: '#56a71f',
    950: '#000000',
  },
}
SCSS
$custom: #56a71f;
$custom-light: #8ec267;
$custom-dark: #000000;
JSON
{
  "hex": "#56a71f",
  "rgb": {
    "r": 86,
    "g": 167,
    "b": 31
  },
  "hsl": {
    "h": 95.735,
    "s": 68.687,
    "l": 38.824
  },
  "oklch": {
    "l": 0.65168,
    "c": 0.18172,
    "h": 136.2
  },
  "luminance": 0.29715
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #56A71F

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

Preview Lab → · Contrast checker → · Palette generator →

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