#56821C#56821C

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

Color values

HEX#56821C
RGBrgb(86, 130, 28)
HSLhsl(86, 65%, 31%)
HSVhsv(86, 78%, 51%)
CMYKcmyk(33.8%, 0%, 78.5%, 49%)
CIE-LABlab(49.53, -31.41, 46.81)
CIE-LCHlch(49.53, 56.37, 123.87°)
OKLaboklab(55.43% -0.0893 0.104)
OKLCHoklch(55.43% 0.137 130.6)
XYZxyz(12.0299, 18.0271, 3.9441)
Luminance0.1803 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56821C #481C82
analogous
#827B1C #56821C #23821C
triadic
#56821C #1C5682 #821C56
tetradic
#56821C #1C827B #481C82 #821C23
square
#56821C #1C827B #481C82 #821C23
split-complementary
#56821C #1C2382 #7B1C82
monochromatic
#131D06 #355011 #56821C #77B427 #96D642

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##56821C#FFFFFF#000000##000000
##56821C1.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)
#887804
Deuteranopia (green-blind)
#827526
Tritanopia (blue-blind)
#587C6F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #56821c;
/* rgb */ color: rgb(86, 130, 28);
/* oklch */ color: oklch(55.4% 0.137 130.6);
Tailwind
colors: {
  custom: {
    50: '#8aa661',
    500: '#56821c',
    950: '#000000',
  },
}
SCSS
$custom: #56821c;
$custom-light: #8aa661;
$custom-dark: #000000;
JSON
{
  "hex": "#56821c",
  "rgb": {
    "r": 86,
    "g": 130,
    "b": 28
  },
  "hsl": {
    "h": 85.882,
    "s": 64.557,
    "l": 30.98
  },
  "oklch": {
    "l": 0.55433,
    "c": 0.13704,
    "h": 130.6
  },
  "luminance": 0.18028
}

Semantic roles & 50–950 ramp

primary
#56821C
secondary
#7544B5
accent
#40E888
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F05
muted
#7D7F7A

Preview Lab

Preview with #56821C

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

Preview Lab → · Contrast checker → · Palette generator →

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