#56822F#56822F

#56822F is a mid, vivid yellow-green. Relative luminance 0.181; OKLCH L 55.6% C 0.123 H 132.7°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#56822F
RGBrgb(86, 130, 47)
HSLhsl(92, 47%, 35%)
HSVhsv(92, 64%, 51%)
CMYKcmyk(33.8%, 0%, 63.8%, 49%)
CIE-LABlab(49.68, -29.95, 39.11)
CIE-LCHlch(49.68, 49.26, 127.44°)
OKLaboklab(55.6% -0.0837 0.0906)
OKLCHoklch(55.6% 0.123 132.7)
XYZxyz(12.3333, 18.1485, 5.5420)
Luminance0.1815 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56822F #5B2F82
analogous
#80822F #56822F #2F8231
triadic
#56822F #2F5682 #822F56
tetradic
#56822F #2F8082 #5B2F82 #82312F
square
#56822F #2F8082 #5B2F82 #82312F
split-complementary
#56822F #312F82 #822F80
monochromatic
#1B280E #38551F #56822F #74AF3F #93C764

Accessibility & contrast

On white

4.54
#56822F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#56822F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #56822F
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56822F#FFFFFF#000000##000000
##56822F1.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#877825
Deuteranopia (green-blind)
#817535
Tritanopia (blue-blind)
#577D70
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #56822f;
/* rgb */ color: rgb(86, 130, 47);
/* oklch */ color: oklch(55.6% 0.123 132.7);
Tailwind
colors: {
  custom: {
    50: '#89a66b',
    500: '#56822f',
    950: '#000000',
  },
}
SCSS
$custom: #56822f;
$custom-light: #89a66b;
$custom-dark: #000000;
JSON
{
  "hex": "#56822f",
  "rgb": {
    "r": 86,
    "g": 130,
    "b": 47
  },
  "hsl": {
    "h": 91.807,
    "s": 46.893,
    "l": 34.706
  },
  "oklch": {
    "l": 0.556,
    "c": 0.12334,
    "h": 132.7
  },
  "luminance": 0.18149
}

Semantic roles & 50–950 ramp

primary
#56822F
secondary
#895FAE
accent
#51D798
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F07
muted
#7D7F7A

Preview Lab

Preview with #56822F

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

Preview Lab → · Contrast checker → · Palette generator →

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