#56821F#56821F

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

Color values

HEX#56821F
RGBrgb(86, 130, 31)
HSLhsl(87, 61%, 32%)
HSVhsv(87, 76%, 51%)
CMYKcmyk(33.8%, 0%, 76.2%, 49%)
CIE-LABlab(49.55, -31.23, 45.75)
CIE-LCHlch(49.55, 55.39, 124.32°)
OKLaboklab(55.45% -0.0885 0.1022)
OKLCHoklch(55.45% 0.135 130.9)
XYZxyz(12.0676, 18.0422, 4.1427)
Luminance0.1804 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56821F #4B1F82
analogous
#827D1F #56821F #24821F
triadic
#56821F #1F5682 #821F56
tetradic
#56821F #1F827D #4B1F82 #821F24
square
#56821F #1F827D #4B1F82 #821F24
split-complementary
#56821F #1F2482 #7D1F82
monochromatic
#151F07 #355113 #56821F #77B32B #95D348

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##56821F#FFFFFF#000000##000000
##56821F1.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)
#88780B
Deuteranopia (green-blind)
#827529
Tritanopia (blue-blind)
#587C6F
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #56821f;
/* rgb */ color: rgb(86, 130, 31);
/* oklch */ color: oklch(55.5% 0.135 130.9);
Tailwind
colors: {
  custom: {
    50: '#8aa662',
    500: '#56821f',
    950: '#000000',
  },
}
SCSS
$custom: #56821f;
$custom-light: #8aa662;
$custom-dark: #000000;
JSON
{
  "hex": "#56821f",
  "rgb": {
    "r": 86,
    "g": 130,
    "b": 31
  },
  "hsl": {
    "h": 86.667,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.55454,
    "c": 0.13526,
    "h": 130.9
  },
  "luminance": 0.18043
}

Semantic roles & 50–950 ramp

primary
#56821F
secondary
#7848B5
accent
#43E58B
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F05
muted
#7D7F7A

Preview Lab

Preview with #56821F

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

Preview Lab → · Contrast checker → · Palette generator →

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