#56822A#56822A

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

Color values

HEX#56822A
RGBrgb(86, 130, 42)
HSLhsl(90, 51%, 34%)
HSVhsv(90, 68%, 51%)
CMYKcmyk(33.8%, 0%, 67.7%, 49%)
CIE-LABlab(49.63, -30.41, 41.34)
CIE-LCHlch(49.63, 51.32, 126.33°)
OKLaboklab(55.55% -0.0854 0.0947)
OKLCHoklch(55.55% 0.127 132.1)
XYZxyz(12.2381, 18.1104, 5.0409)
Luminance0.1811 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56822A #562A82
analogous
#82822A #56822A #2A822A
triadic
#56822A #2A5682 #822A56
tetradic
#56822A #2A8282 #562A82 #822A2A
square
#56822A #2A8282 #562A82 #822A2A
split-complementary
#56822A #2A2A82 #822A82
monochromatic
#19250C #37541B #56822A #75B039 #93CA5C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##56822A#FFFFFF#000000##000000
##56822A1.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)
#88781E
Deuteranopia (green-blind)
#817531
Tritanopia (blue-blind)
#577D70
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #56822a;
/* rgb */ color: rgb(86, 130, 42);
/* oklch */ color: oklch(55.5% 0.127 132.1);
Tailwind
colors: {
  custom: {
    50: '#89a668',
    500: '#56822a',
    950: '#000000',
  },
}
SCSS
$custom: #56822a;
$custom-light: #89a668;
$custom-dark: #000000;
JSON
{
  "hex": "#56822a",
  "rgb": {
    "r": 86,
    "g": 130,
    "b": 42
  },
  "hsl": {
    "h": 90,
    "s": 51.163,
    "l": 33.725
  },
  "oklch": {
    "l": 0.55548,
    "c": 0.12747,
    "h": 132.1
  },
  "luminance": 0.18111
}

Semantic roles & 50–950 ramp

primary
#56822A
secondary
#8458B0
accent
#4DDB94
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F06
muted
#7D7F7A

Preview Lab

Preview with #56822A

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

Preview Lab → · Contrast checker → · Palette generator →

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