#56822B#56822B

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

Color values

HEX#56822B
RGBrgb(86, 130, 43)
HSLhsl(90, 50%, 34%)
HSVhsv(90, 67%, 51%)
CMYKcmyk(33.8%, 0%, 66.9%, 49%)
CIE-LABlab(49.64, -30.32, 40.91)
CIE-LCHlch(49.64, 50.92, 126.55°)
OKLaboklab(55.56% -0.0851 0.0939)
OKLCHoklch(55.56% 0.127 132.2)
XYZxyz(12.2563, 18.1177, 5.1363)
Luminance0.1812 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56822B #572B82
analogous
#82822B #56822B #2B822C
triadic
#56822B #2B5682 #822B56
tetradic
#56822B #2B8282 #572B82 #822C2B
square
#56822B #2B8282 #572B82 #822C2B
split-complementary
#56822B #2C2B82 #822B82
monochromatic
#19260D #38541C #56822B #74B03A #93CA5E

Accessibility & contrast

On white

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

On black

4.62
#56822B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #56822B
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56822B#FFFFFF#000000##000000
##56822B1.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #56822b;
/* rgb */ color: rgb(86, 130, 43);
/* oklch */ color: oklch(55.6% 0.127 132.2);
Tailwind
colors: {
  custom: {
    50: '#89a669',
    500: '#56822b',
    950: '#000000',
  },
}
SCSS
$custom: #56822b;
$custom-light: #89a669;
$custom-dark: #000000;
JSON
{
  "hex": "#56822b",
  "rgb": {
    "r": 86,
    "g": 130,
    "b": 43
  },
  "hsl": {
    "h": 90.345,
    "s": 50.289,
    "l": 33.922
  },
  "oklch": {
    "l": 0.55558,
    "c": 0.12668,
    "h": 132.2
  },
  "luminance": 0.18118
}

Semantic roles & 50–950 ramp

primary
#56822B
secondary
#8559B0
accent
#4EDA95
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F06
muted
#7D7F7A

Preview Lab

Preview with #56822B

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

Preview Lab → · Contrast checker → · Palette generator →

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