#56781D#56781D

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

Color values

HEX#56781D
RGBrgb(86, 120, 29)
HSLhsl(82, 61%, 29%)
HSVhsv(82, 76%, 47%)
CMYKcmyk(28.3%, 0%, 75.8%, 52.9%)
CIE-LABlab(46.31, -26.59, 43.32)
CIE-LCHlch(46.31, 50.83, 121.54°)
OKLaboklab(52.82% -0.0761 0.0969)
OKLCHoklch(52.82% 0.123 128.2)
XYZxyz(10.7760, 15.4998, 3.5862)
Luminance0.1550 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56781D #3F1D78
analogous
#786D1D #56781D #28781D
triadic
#56781D #1D5678 #781D56
tetradic
#56781D #1D786D #3F1D78 #781D28
square
#56781D #1D786D #3F1D78 #781D28
split-complementary
#56781D #1D2878 #6D1D78
monochromatic
#121906 #334711 #56781D #79A929 #9AD13F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##56781D#FFFFFF#000000##FFFFFF
##56781D1.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)
#7E6F0C
Deuteranopia (green-blind)
#7A6D25
Tritanopia (blue-blind)
#597266
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #56781d;
/* rgb */ color: rgb(86, 120, 29);
/* oklch */ color: oklch(52.8% 0.123 128.2);
Tailwind
colors: {
  custom: {
    50: '#899f60',
    500: '#56781d',
    950: '#000000',
  },
}
SCSS
$custom: #56781d;
$custom-light: #899f60;
$custom-dark: #000000;
JSON
{
  "hex": "#56781d",
  "rgb": {
    "r": 86,
    "g": 120,
    "b": 29
  },
  "hsl": {
    "h": 82.418,
    "s": 61.074,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52817,
    "c": 0.12316,
    "h": 128.2
  },
  "luminance": 0.155
}

Semantic roles & 50–950 ramp

primary
#56781D
secondary
#6B45AC
accent
#44E480
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #56781D

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

Preview Lab → · Contrast checker → · Palette generator →

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