#56821E#56821E

#56821E is a mid, vivid yellow-green. Relative luminance 0.180; OKLCH L 55.4% C 0.136 H 130.8°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#56821E
RGBrgb(86, 130, 30)
HSLhsl(86, 63%, 31%)
HSVhsv(86, 77%, 51%)
CMYKcmyk(33.8%, 0%, 76.9%, 49%)
CIE-LABlab(49.54, -31.29, 46.11)
CIE-LCHlch(49.54, 55.72, 124.16°)
OKLaboklab(55.45% -0.0888 0.1028)
OKLCHoklch(55.45% 0.136 130.8)
XYZxyz(12.0546, 18.0370, 4.0744)
Luminance0.1804 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56821E #4A1E82
analogous
#827C1E #56821E #24821E
triadic
#56821E #1E5682 #821E56
tetradic
#56821E #1E827C #4A1E82 #821E24
square
#56821E #1E827C #4A1E82 #821E24
split-complementary
#56821E #1E2482 #7C1E82
monochromatic
#141F07 #355013 #56821E #77B429 #96D446

Accessibility & contrast

On white

4.56
#56821E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#56821E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #56821E
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56821E#FFFFFF#000000##000000
##56821E1.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#887808
Deuteranopia (green-blind)
#827528
Tritanopia (blue-blind)
#587C6F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #56821e;
/* rgb */ color: rgb(86, 130, 30);
/* oklch */ color: oklch(55.4% 0.136 130.8);
Tailwind
colors: {
  custom: {
    50: '#8aa662',
    500: '#56821e',
    950: '#000000',
  },
}
SCSS
$custom: #56821e;
$custom-light: #8aa662;
$custom-dark: #000000;
JSON
{
  "hex": "#56821e",
  "rgb": {
    "r": 86,
    "g": 130,
    "b": 30
  },
  "hsl": {
    "h": 86.4,
    "s": 62.5,
    "l": 31.373
  },
  "oklch": {
    "l": 0.55447,
    "c": 0.13587,
    "h": 130.8
  },
  "luminance": 0.18037
}

Semantic roles & 50–950 ramp

primary
#56821E
secondary
#7747B5
accent
#42E68A
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F05
muted
#7D7F7A

Preview Lab

Preview with #56821E

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

Preview Lab → · Contrast checker → · Palette generator →

#56821E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva