#56802C#56802C

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

Color values

HEX#56802C
RGBrgb(86, 128, 44)
HSLhsl(90, 49%, 34%)
HSVhsv(90, 66%, 50%)
CMYKcmyk(32.8%, 0%, 65.6%, 49.8%)
CIE-LABlab(49.01, -29.28, 39.77)
CIE-LCHlch(49.01, 49.38, 126.37°)
OKLaboklab(55.05% -0.0821 0.0916)
OKLCHoklch(55.05% 0.123 131.9)
XYZxyz(12.0114, 17.5982, 5.1463)
Luminance0.1760 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56802C #562C80
analogous
#80802C #56802C #2C802C
triadic
#56802C #2C5680 #802C56
tetradic
#56802C #2C8080 #562C80 #802C2C
square
#56802C #2C8080 #562C80 #802C2C
split-complementary
#56802C #2C2C80 #802C80
monochromatic
#19250D #37521C #56802C #75AE3C #93C85F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##56802C#FFFFFF#000000##FFFFFF
##56802C1.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)
#857722
Deuteranopia (green-blind)
#807333
Tritanopia (blue-blind)
#577B6E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #56802c;
/* rgb */ color: rgb(86, 128, 44);
/* oklch */ color: oklch(55.0% 0.123 131.9);
Tailwind
colors: {
  custom: {
    50: '#89a569',
    500: '#56802c',
    950: '#000000',
  },
}
SCSS
$custom: #56802c;
$custom-light: #89a569;
$custom-dark: #000000;
JSON
{
  "hex": "#56802c",
  "rgb": {
    "r": 86,
    "g": 128,
    "b": 44
  },
  "hsl": {
    "h": 90,
    "s": 48.837,
    "l": 33.725
  },
  "oklch": {
    "l": 0.55045,
    "c": 0.12303,
    "h": 131.9
  },
  "luminance": 0.17599
}

Semantic roles & 50–950 ramp

primary
#56802C
secondary
#845AAE
accent
#4FD894
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F06
muted
#7D7F7A

Preview Lab

Preview with #56802C

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

Preview Lab → · Contrast checker → · Palette generator →

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