#56AF29#56AF29

#56AF29 is a light, vivid yellow-green. Relative luminance 0.328; OKLCH L 67.3% C 0.186 H 137.5°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#56AF29
RGBrgb(86, 175, 41)
HSLhsl(100, 62%, 42%)
HSVhsv(100, 77%, 69%)
CMYKcmyk(50.9%, 0%, 76.6%, 31.4%)
CIE-LABlab(64.00, -49.58, 56.32)
CIE-LCHlch(64.00, 75.03, 131.36°)
OKLaboklab(67.32% -0.1374 0.1259)
OKLCHoklch(67.32% 0.186 137.5)
XYZxyz(19.5673, 32.7970, 7.3968)
Luminance0.3280 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56AF29 #8229AF
analogous
#99AF29 #56AF29 #29AF3F
triadic
#56AF29 #2956AF #AF2956
tetradic
#56AF29 #2999AF #8229AF #AF3F29
square
#56AF29 #2999AF #8229AF #AF3F29
split-complementary
#56AF29 #3F29AF #AF2999
monochromatic
#254C12 #3E7D1D #56AF29 #73D342 #98DE74

Accessibility & contrast

On white

2.78
#56AF29 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.56
#56AF29 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #56AF29
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56AF29#FFFFFF#000000##000000
##56AF291.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A008
Deuteranopia (green-blind)
#A99837
Tritanopia (blue-blind)
#50A996
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #56af29;
/* rgb */ color: rgb(86, 175, 41);
/* oklch */ color: oklch(67.3% 0.186 137.5);
Tailwind
colors: {
  custom: {
    50: '#8ec86d',
    500: '#56af29',
    950: '#000000',
  },
}
SCSS
$custom: #56af29;
$custom-light: #8ec86d;
$custom-dark: #000000;
JSON
{
  "hex": "#56af29",
  "rgb": {
    "r": 86,
    "g": 175,
    "b": 41
  },
  "hsl": {
    "h": 99.851,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.67316,
    "c": 0.18634,
    "h": 137.5
  },
  "luminance": 0.32798
}

Semantic roles & 50–950 ramp

primary
#56AF29
secondary
#A86EC6
accent
#43E5AF
background
#F9FCF6
surface
#F1F8EC
border
#CBD1C7
text
#0D1308
muted
#7E827B

Preview Lab

Preview with #56AF29

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

Preview Lab → · Contrast checker → · Palette generator →

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