#56AF26#56AF26

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

Color values

HEX#56AF26
RGBrgb(86, 175, 38)
HSLhsl(99, 64%, 42%)
HSVhsv(99, 78%, 69%)
CMYKcmyk(50.9%, 0%, 78.3%, 31.4%)
CIE-LABlab(63.98, -49.76, 57.28)
CIE-LCHlch(63.98, 75.87, 130.98°)
OKLaboklab(67.3% -0.1381 0.1275)
OKLCHoklch(67.3% 0.188 137.3)
XYZxyz(19.5170, 32.7769, 7.1315)
Luminance0.3278 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56AF26 #7F26AF
analogous
#9BAF26 #56AF26 #26AF3B
triadic
#56AF26 #2656AF #AF2656
tetradic
#56AF26 #269BAF #7F26AF #AF3B26
square
#56AF26 #269BAF #7F26AF #AF3B26
split-complementary
#56AF26 #3B26AF #AF269B
monochromatic
#254A10 #3D7D1B #56AF26 #72D53D #97E070

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##56AF26#FFFFFF#000000##000000
##56AF261.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)
#B5A000
Deuteranopia (green-blind)
#A99835
Tritanopia (blue-blind)
#50A995
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #56af26;
/* rgb */ color: rgb(86, 175, 38);
/* oklch */ color: oklch(67.3% 0.188 137.3);
Tailwind
colors: {
  custom: {
    50: '#8ec86b',
    500: '#56af26',
    950: '#000000',
  },
}
SCSS
$custom: #56af26;
$custom-light: #8ec86b;
$custom-dark: #000000;
JSON
{
  "hex": "#56af26",
  "rgb": {
    "r": 86,
    "g": 175,
    "b": 38
  },
  "hsl": {
    "h": 98.978,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.67297,
    "c": 0.1879,
    "h": 137.3
  },
  "luminance": 0.32778
}

Semantic roles & 50–950 ramp

primary
#56AF26
secondary
#A66AC7
accent
#40E7AD
background
#F9FCF6
surface
#F2F8EC
border
#CCD1C7
text
#0D1307
muted
#7E827A

Preview Lab

Preview with #56AF26

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

Preview Lab → · Contrast checker → · Palette generator →

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