#56802F#56802F

#56802F is a mid, vivid yellow-green. Relative luminance 0.176; OKLCH L 55.1% C 0.120 H 132.3°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#56802F
RGBrgb(86, 128, 47)
HSLhsl(91, 46%, 34%)
HSVhsv(91, 63%, 50%)
CMYKcmyk(32.8%, 0%, 63.3%, 49.8%)
CIE-LABlab(49.03, -29.00, 38.40)
CIE-LCHlch(49.03, 48.12, 127.06°)
OKLaboklab(55.08% -0.0811 0.0891)
OKLCHoklch(55.08% 0.12 132.3)
XYZxyz(12.0698, 17.6216, 5.4541)
Luminance0.1762 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56802F #592F80
analogous
#7F802F #56802F #2F8030
triadic
#56802F #2F5680 #802F56
tetradic
#56802F #2F7F80 #592F80 #80302F
square
#56802F #2F7F80 #592F80 #80302F
split-complementary
#56802F #302F80 #802F7F
monochromatic
#1A260E #38531F #56802F #74AD3F #93C663

Accessibility & contrast

On white

4.64
#56802F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#56802F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #56802F
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56802F#FFFFFF#000000##FFFFFF
##56802F1.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#857726
Deuteranopia (green-blind)
#7F7335
Tritanopia (blue-blind)
#577B6F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #56802f;
/* rgb */ color: rgb(86, 128, 47);
/* oklch */ color: oklch(55.1% 0.120 132.3);
Tailwind
colors: {
  custom: {
    50: '#89a56b',
    500: '#56802f',
    950: '#000000',
  },
}
SCSS
$custom: #56802f;
$custom-light: #89a56b;
$custom-dark: #000000;
JSON
{
  "hex": "#56802f",
  "rgb": {
    "r": 86,
    "g": 128,
    "b": 47
  },
  "hsl": {
    "h": 91.111,
    "s": 46.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.55078,
    "c": 0.12046,
    "h": 132.3
  },
  "luminance": 0.17622
}

Semantic roles & 50–950 ramp

primary
#56802F
secondary
#875EAD
accent
#52D696
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F07
muted
#7D7F7A

Preview Lab

Preview with #56802F

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

Preview Lab → · Contrast checker → · Palette generator →

#56802F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva