#56A01F#56A01F

#56A01F is a light, vivid yellow-green. Relative luminance 0.272; OKLCH L 63.3% C 0.173 H 135.5°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#56A01F
RGBrgb(86, 160, 31)
HSLhsl(94, 68%, 37%)
HSVhsv(94, 81%, 63%)
CMYKcmyk(46.3%, 0%, 80.6%, 37.3%)
CIE-LABlab(59.18, -44.24, 54.92)
CIE-LCHlch(59.18, 70.52, 128.85°)
OKLaboklab(63.33% -0.1236 0.1215)
OKLCHoklch(63.33% 0.173 135.5)
XYZxyz(16.6555, 27.2179, 5.6720)
Luminance0.2722 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56A01F #691FA0
analogous
#96A01F #56A01F #1FA029
triadic
#56A01F #1F56A0 #A01F56
tetradic
#56A01F #1F96A0 #691FA0 #A0291F
square
#56A01F #1F96A0 #691FA0 #A0291F
split-complementary
#56A01F #291FA0 #A01F96
monochromatic
#1F390B #3A6D15 #56A01F #72D329 #93DF5A

Accessibility & contrast

On white

3.26
#56A01F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#56A01F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #56A01F
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56A01F#FFFFFF#000000##000000
##56A01F1.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69200
Deuteranopia (green-blind)
#9C8C2E
Tritanopia (blue-blind)
#539A88
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #56a01f;
/* rgb */ color: rgb(86, 160, 31);
/* oklch */ color: oklch(63.3% 0.173 135.5);
Tailwind
colors: {
  custom: {
    50: '#8dbd66',
    500: '#56a01f',
    950: '#000000',
  },
}
SCSS
$custom: #56a01f;
$custom-light: #8dbd66;
$custom-dark: #000000;
JSON
{
  "hex": "#56a01f",
  "rgb": {
    "r": 86,
    "g": 160,
    "b": 31
  },
  "hsl": {
    "h": 94.419,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.63335,
    "c": 0.17333,
    "h": 135.5
  },
  "luminance": 0.27219
}

Semantic roles & 50–950 ramp

primary
#56A01F
secondary
#9558C3
accent
#3DEAA1
background
#F9FBF6
surface
#F1F6EB
border
#CBD0C6
text
#0D1206
muted
#7E817A

Preview Lab

Preview with #56A01F

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

Preview Lab → · Contrast checker → · Palette generator →

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