#56901A#56901A

#56901A is a mid, vivid yellow-green. Relative luminance 0.220; OKLCH L 59.1% C 0.156 H 133.1°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#56901A
RGBrgb(86, 144, 26)
HSLhsl(89, 69%, 33%)
HSVhsv(89, 82%, 56%)
CMYKcmyk(40.3%, 0%, 81.9%, 43.5%)
CIE-LABlab(54.03, -37.79, 51.66)
CIE-LCHlch(54.03, 64.01, 126.19°)
OKLaboklab(59.1% -0.1066 0.1139)
OKLCHoklch(59.1% 0.156 133.1)
XYZxyz(13.9973, 21.9989, 4.4858)
Luminance0.2200 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56901A #541A90
analogous
#908F1A #56901A #1B901A
triadic
#56901A #1A5690 #901A56
tetradic
#56901A #1A908F #541A90 #901A1B
square
#56901A #1A908F #541A90 #901A1B
split-complementary
#56901A #1A1B90 #8F1A90
monochromatic
#182807 #375C11 #56901A #75C423 #93DE47

Accessibility & contrast

On white

3.89
#56901A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#56901A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #56901A
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56901A#FFFFFF#000000##000000
##56901A1.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#968400
Deuteranopia (green-blind)
#8E8028
Tritanopia (blue-blind)
#568A7B
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #56901a;
/* rgb */ color: rgb(86, 144, 26);
/* oklch */ color: oklch(59.1% 0.156 133.1);
Tailwind
colors: {
  custom: {
    50: '#8bb162',
    500: '#56901a',
    950: '#000000',
  },
}
SCSS
$custom: #56901a;
$custom-light: #8bb162;
$custom-dark: #000000;
JSON
{
  "hex": "#56901a",
  "rgb": {
    "r": 86,
    "g": 144,
    "b": 26
  },
  "hsl": {
    "h": 89.492,
    "s": 69.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.59104,
    "c": 0.15599,
    "h": 133.1
  },
  "luminance": 0.22
}

Semantic roles & 50–950 ramp

primary
#56901A
secondary
#8247BF
accent
#3CEC92
background
#F8FAF6
surface
#F0F5EB
border
#CBCFC6
text
#0C1006
muted
#7D7F7A

Preview Lab

Preview with #56901A

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

Preview Lab → · Contrast checker → · Palette generator →

#56901A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva