#56781E#56781E

#56781E is a mid, vivid yellow-green. Relative luminance 0.155; OKLCH L 52.8% C 0.122 H 128.2°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#56781E
RGBrgb(86, 120, 30)
HSLhsl(83, 60%, 29%)
HSVhsv(83, 75%, 47%)
CMYKcmyk(28.3%, 0%, 75%, 52.9%)
CIE-LABlab(46.32, -26.52, 42.94)
CIE-LCHlch(46.32, 50.47, 121.70°)
OKLaboklab(52.82% -0.0758 0.0962)
OKLCHoklch(52.82% 0.123 128.2)
XYZxyz(10.7886, 15.5049, 3.6524)
Luminance0.1550 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56781E #401E78
analogous
#786D1E #56781E #29781E
triadic
#56781E #1E5678 #781E56
tetradic
#56781E #1E786D #401E78 #781E29
square
#56781E #1E786D #401E78 #781E29
split-complementary
#56781E #1E2978 #6D1E78
monochromatic
#121806 #334712 #56781E #79A92A #9ACF41

Accessibility & contrast

On white

5.12
#56781E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#56781E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #56781E
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56781E#FFFFFF#000000##FFFFFF
##56781E1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F0E
Deuteranopia (green-blind)
#796D26
Tritanopia (blue-blind)
#597266
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #56781e;
/* rgb */ color: rgb(86, 120, 30);
/* oklch */ color: oklch(52.8% 0.122 128.2);
Tailwind
colors: {
  custom: {
    50: '#899f60',
    500: '#56781e',
    950: '#000000',
  },
}
SCSS
$custom: #56781e;
$custom-light: #899f60;
$custom-dark: #000000;
JSON
{
  "hex": "#56781e",
  "rgb": {
    "r": 86,
    "g": 120,
    "b": 30
  },
  "hsl": {
    "h": 82.667,
    "s": 60,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52824,
    "c": 0.1225,
    "h": 128.2
  },
  "luminance": 0.15505
}

Semantic roles & 50–950 ramp

primary
#56781E
secondary
#6C46AC
accent
#45E381
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #56781E

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

Preview Lab → · Contrast checker → · Palette generator →

#56781E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva