#56802D#56802D

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

Color values

HEX#56802D
RGBrgb(86, 128, 45)
HSLhsl(90, 48%, 34%)
HSVhsv(90, 65%, 50%)
CMYKcmyk(32.8%, 0%, 64.8%, 49.8%)
CIE-LABlab(49.01, -29.19, 39.32)
CIE-LCHlch(49.01, 48.97, 126.59°)
OKLaboklab(55.06% -0.0818 0.0908)
OKLCHoklch(55.06% 0.122 132)
XYZxyz(12.0304, 17.6058, 5.2465)
Luminance0.1761 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56802D #572D80
analogous
#80802D #56802D #2D802D
triadic
#56802D #2D5680 #802D56
tetradic
#56802D #2D8080 #572D80 #802D2D
square
#56802D #2D8080 #572D80 #802D2D
split-complementary
#56802D #2D2D80 #802D80
monochromatic
#19250D #38531D #56802D #74AD3D #93C760

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##56802D#FFFFFF#000000##FFFFFF
##56802D1.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)
#857723
Deuteranopia (green-blind)
#7F7333
Tritanopia (blue-blind)
#577B6F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #56802d;
/* rgb */ color: rgb(86, 128, 45);
/* oklch */ color: oklch(55.1% 0.122 132.0);
Tailwind
colors: {
  custom: {
    50: '#89a56a',
    500: '#56802d',
    950: '#000000',
  },
}
SCSS
$custom: #56802d;
$custom-light: #89a56a;
$custom-dark: #000000;
JSON
{
  "hex": "#56802d",
  "rgb": {
    "r": 86,
    "g": 128,
    "b": 45
  },
  "hsl": {
    "h": 90.361,
    "s": 47.977,
    "l": 33.922
  },
  "oklch": {
    "l": 0.55056,
    "c": 0.12218,
    "h": 132
  },
  "luminance": 0.17606
}

Semantic roles & 50–950 ramp

primary
#56802D
secondary
#855BAE
accent
#50D895
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F07
muted
#7D7F7A

Preview Lab

Preview with #56802D

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

Preview Lab → · Contrast checker → · Palette generator →

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