#56AF2F#56AF2F

#56AF2F is a light, vivid green. Relative luminance 0.328; OKLCH L 67.4% C 0.183 H 138.0°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#56AF2F
RGBrgb(86, 175, 47)
HSLhsl(102, 58%, 44%)
HSVhsv(102, 73%, 69%)
CMYKcmyk(50.9%, 0%, 73.1%, 31.4%)
CIE-LABlab(64.03, -49.17, 54.25)
CIE-LCHlch(64.03, 73.22, 132.19°)
OKLaboklab(67.36% -0.1359 0.1224)
OKLCHoklch(67.36% 0.183 138)
XYZxyz(19.6801, 32.8422, 7.9909)
Luminance0.3284 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56AF2F #882FAF
analogous
#96AF2F #56AF2F #2FAF48
triadic
#56AF2F #2F56AF #AF2F56
tetradic
#56AF2F #2F96AF #882FAF #AF482F
square
#56AF2F #2F96AF #882FAF #AF482F
split-complementary
#56AF2F #482FAF #AF2F96
monochromatic
#274F15 #3E7F22 #56AF2F #74CF4C #9ADC7C

Accessibility & contrast

On white

2.77
#56AF2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.57
#56AF2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #56AF2F
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56AF2F#FFFFFF#000000##000000
##56AF2F1.002.777.577.57
#FFFFFF2.771.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A018
Deuteranopia (green-blind)
#A9983C
Tritanopia (blue-blind)
#4FA996
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #56af2f;
/* rgb */ color: rgb(86, 175, 47);
/* oklch */ color: oklch(67.4% 0.183 138.0);
Tailwind
colors: {
  custom: {
    50: '#8ec870',
    500: '#56af2f',
    950: '#000000',
  },
}
SCSS
$custom: #56af2f;
$custom-light: #8ec870;
$custom-dark: #000000;
JSON
{
  "hex": "#56af2f",
  "rgb": {
    "r": 86,
    "g": 175,
    "b": 47
  },
  "hsl": {
    "h": 101.719,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.67358,
    "c": 0.18292,
    "h": 138
  },
  "luminance": 0.32844
}

Semantic roles & 50–950 ramp

primary
#56AF2F
secondary
#AC75C4
accent
#47E1B2
background
#F9FCF7
surface
#F1F8ED
border
#CBD1C8
text
#0D1308
muted
#7E827B

Preview Lab

Preview with #56AF2F

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

Preview Lab → · Contrast checker → · Palette generator →

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