#56821D#56821D

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

Color values

HEX#56821D
RGBrgb(86, 130, 29)
HSLhsl(86, 64%, 31%)
HSVhsv(86, 78%, 51%)
CMYKcmyk(33.8%, 0%, 77.7%, 49%)
CIE-LABlab(49.53, -31.35, 46.46)
CIE-LCHlch(49.53, 56.05, 124.01°)
OKLaboklab(55.44% -0.089 0.1034)
OKLCHoklch(55.44% 0.136 130.7)
XYZxyz(12.0421, 18.0320, 4.0082)
Luminance0.1803 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56821D #491D82
analogous
#827B1D #56821D #23821D
triadic
#56821D #1D5682 #821D56
tetradic
#56821D #1D827B #491D82 #821D23
square
#56821D #1D827B #491D82 #821D23
split-complementary
#56821D #1D2382 #7B1D82
monochromatic
#141E07 #355012 #56821D #77B428 #96D544

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##56821D#FFFFFF#000000##000000
##56821D1.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)
#887806
Deuteranopia (green-blind)
#827527
Tritanopia (blue-blind)
#587C6F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #56821d;
/* rgb */ color: rgb(86, 130, 29);
/* oklch */ color: oklch(55.4% 0.136 130.7);
Tailwind
colors: {
  custom: {
    50: '#8aa661',
    500: '#56821d',
    950: '#000000',
  },
}
SCSS
$custom: #56821d;
$custom-light: #8aa661;
$custom-dark: #000000;
JSON
{
  "hex": "#56821d",
  "rgb": {
    "r": 86,
    "g": 130,
    "b": 29
  },
  "hsl": {
    "h": 86.139,
    "s": 63.522,
    "l": 31.176
  },
  "oklch": {
    "l": 0.5544,
    "c": 0.13647,
    "h": 130.7
  },
  "luminance": 0.18032
}

Semantic roles & 50–950 ramp

primary
#56821D
secondary
#7646B5
accent
#41E789
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F05
muted
#7D7F7A

Preview Lab

Preview with #56821D

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

Preview Lab → · Contrast checker → · Palette generator →

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