#56A91F#56A91F

#56A91F is a light, vivid yellow-green. Relative luminance 0.305; OKLCH L 65.7% C 0.184 H 136.4°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#56A91F
RGBrgb(86, 169, 31)
HSLhsl(96, 69%, 39%)
HSVhsv(96, 82%, 66%)
CMYKcmyk(49.1%, 0%, 81.7%, 33.7%)
CIE-LABlab(62.04, -47.82, 57.57)
CIE-LCHlch(62.04, 74.83, 129.71°)
OKLaboklab(65.69% -0.1332 0.127)
OKLCHoklch(65.69% 0.184 136.4)
XYZxyz(18.2725, 30.4520, 6.2110)
Luminance0.3045 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56A91F #721FA9
analogous
#9BA91F #56A91F #1FA92D
triadic
#56A91F #1F56A9 #A91F56
tetradic
#56A91F #1F9BA9 #721FA9 #A92D1F
square
#56A91F #1F9BA9 #721FA9 #A92D1F
split-complementary
#56A91F #2D1FA9 #A91F9B
monochromatic
#21420C #3C7516 #56A91F #71D82D #94E260

Accessibility & contrast

On white

2.96
#56A91F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#56A91F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #56A91F
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56A91F#FFFFFF#000000##000000
##56A91F1.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9A00
Deuteranopia (green-blind)
#A49330
Tritanopia (blue-blind)
#52A390
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #56a91f;
/* rgb */ color: rgb(86, 169, 31);
/* oklch */ color: oklch(65.7% 0.184 136.4);
Tailwind
colors: {
  custom: {
    50: '#8ec368',
    500: '#56a91f',
    950: '#000000',
  },
}
SCSS
$custom: #56a91f;
$custom-light: #8ec368;
$custom-dark: #000000;
JSON
{
  "hex": "#56a91f",
  "rgb": {
    "r": 86,
    "g": 169,
    "b": 31
  },
  "hsl": {
    "h": 96.087,
    "s": 69,
    "l": 39.216
  },
  "oklch": {
    "l": 0.65692,
    "c": 0.1841,
    "h": 136.4
  },
  "luminance": 0.30453
}

Semantic roles & 50–950 ramp

primary
#56A91F
secondary
#9D5DC7
accent
#3CECA6
background
#F9FCF6
surface
#F1F8EB
border
#CBD1C6
text
#0D1207
muted
#7E817A

Preview Lab

Preview with #56A91F

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

Preview Lab → · Contrast checker → · Palette generator →

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