#56802A#56802A

#56802A is a mid, vivid yellow-green. Relative luminance 0.176; OKLCH L 55.0% C 0.125 H 131.6°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#56802A
RGBrgb(86, 128, 42)
HSLhsl(89, 51%, 33%)
HSVhsv(89, 67%, 50%)
CMYKcmyk(32.8%, 0%, 67.2%, 49.8%)
CIE-LABlab(48.99, -29.46, 40.65)
CIE-LCHlch(48.99, 50.20, 125.93°)
OKLaboklab(55.02% -0.0828 0.0932)
OKLCHoklch(55.02% 0.125 131.6)
XYZxyz(11.9747, 17.5835, 4.9531)
Luminance0.1758 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56802A #542A80
analogous
#807F2A #56802A #2B802A
triadic
#56802A #2A5680 #802A56
tetradic
#56802A #2A807F #542A80 #802A2B
square
#56802A #2A807F #542A80 #802A2B
split-complementary
#56802A #2A2B80 #7F2A80
monochromatic
#18240C #37521B #56802A #75AE39 #93C95B

Accessibility & contrast

On white

4.65
#56802A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #56802A
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56802A#FFFFFF#000000##FFFFFF
##56802A1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#86761F
Deuteranopia (green-blind)
#807331
Tritanopia (blue-blind)
#577B6E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #56802a;
/* rgb */ color: rgb(86, 128, 42);
/* oklch */ color: oklch(55.0% 0.125 131.6);
Tailwind
colors: {
  custom: {
    50: '#89a568',
    500: '#56802a',
    950: '#000000',
  },
}
SCSS
$custom: #56802a;
$custom-light: #89a568;
$custom-dark: #000000;
JSON
{
  "hex": "#56802a",
  "rgb": {
    "r": 86,
    "g": 128,
    "b": 42
  },
  "hsl": {
    "h": 89.302,
    "s": 50.588,
    "l": 33.333
  },
  "oklch": {
    "l": 0.55024,
    "c": 0.12466,
    "h": 131.6
  },
  "luminance": 0.17584
}

Semantic roles & 50–950 ramp

primary
#56802A
secondary
#8257AF
accent
#4EDA92
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F06
muted
#7D7F7A

Preview Lab

Preview with #56802A

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

Preview Lab → · Contrast checker → · Palette generator →

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