#56802B#56802B

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

Color values

HEX#56802B
RGBrgb(86, 128, 43)
HSLhsl(90, 50%, 34%)
HSVhsv(90, 66%, 50%)
CMYKcmyk(32.8%, 0%, 66.4%, 49.8%)
CIE-LABlab(49.00, -29.37, 40.21)
CIE-LCHlch(49.00, 49.80, 126.15°)
OKLaboklab(55.04% -0.0825 0.0924)
OKLCHoklch(55.04% 0.124 131.7)
XYZxyz(11.9928, 17.5908, 5.0485)
Luminance0.1759 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56802B #552B80
analogous
#807F2B #56802B #2B802B
triadic
#56802B #2B5680 #802B56
tetradic
#56802B #2B807F #552B80 #802B2B
square
#56802B #2B807F #552B80 #802B2B
split-complementary
#56802B #2B2B80 #7F2B80
monochromatic
#18240C #37521C #56802B #75AE3A #93C95D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##56802B#FFFFFF#000000##FFFFFF
##56802B1.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)
#857620
Deuteranopia (green-blind)
#807332
Tritanopia (blue-blind)
#577B6E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #56802b;
/* rgb */ color: rgb(86, 128, 43);
/* oklch */ color: oklch(55.0% 0.124 131.7);
Tailwind
colors: {
  custom: {
    50: '#89a569',
    500: '#56802b',
    950: '#000000',
  },
}
SCSS
$custom: #56802b;
$custom-light: #89a569;
$custom-dark: #000000;
JSON
{
  "hex": "#56802b",
  "rgb": {
    "r": 86,
    "g": 128,
    "b": 43
  },
  "hsl": {
    "h": 89.647,
    "s": 49.708,
    "l": 33.529
  },
  "oklch": {
    "l": 0.55035,
    "c": 0.12385,
    "h": 131.7
  },
  "luminance": 0.17591
}

Semantic roles & 50–950 ramp

primary
#56802B
secondary
#8358AE
accent
#4FD993
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F06
muted
#7D7F7A

Preview Lab

Preview with #56802B

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

Preview Lab → · Contrast checker → · Palette generator →

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