#56812E#56812E

#56812E is a mid, vivid yellow-green. Relative luminance 0.179; OKLCH L 55.3% C 0.123 H 132.4°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#56812E
RGBrgb(86, 129, 46)
HSLhsl(91, 47%, 34%)
HSVhsv(91, 64%, 51%)
CMYKcmyk(33.3%, 0%, 64.3%, 49.4%)
CIE-LABlab(49.35, -29.57, 39.22)
CIE-LCHlch(49.35, 49.12, 127.02°)
OKLaboklab(55.33% -0.0827 0.0907)
OKLCHoklch(55.33% 0.123 132.4)
XYZxyz(12.1810, 17.8758, 5.3928)
Luminance0.1788 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56812E #592E81
analogous
#80812E #56812E #2E812F
triadic
#56812E #2E5681 #812E56
tetradic
#56812E #2E8081 #592E81 #812F2E
square
#56812E #2E8081 #592E81 #812F2E
split-complementary
#56812E #2F2E81 #812E80
monochromatic
#1A270E #38541E #56812E #74AE3E #93C762

Accessibility & contrast

On white

4.59
#56812E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#56812E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #56812E
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56812E#FFFFFF#000000##FFFFFF
##56812E1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#867724
Deuteranopia (green-blind)
#807434
Tritanopia (blue-blind)
#577C70
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #56812e;
/* rgb */ color: rgb(86, 129, 46);
/* oklch */ color: oklch(55.3% 0.123 132.4);
Tailwind
colors: {
  custom: {
    50: '#89a66a',
    500: '#56812e',
    950: '#000000',
  },
}
SCSS
$custom: #56812e;
$custom-light: #89a66a;
$custom-dark: #000000;
JSON
{
  "hex": "#56812e",
  "rgb": {
    "r": 86,
    "g": 129,
    "b": 46
  },
  "hsl": {
    "h": 91.084,
    "s": 47.429,
    "l": 34.314
  },
  "oklch": {
    "l": 0.55328,
    "c": 0.12276,
    "h": 132.4
  },
  "luminance": 0.17876
}

Semantic roles & 50–950 ramp

primary
#56812E
secondary
#875DAE
accent
#51D796
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F07
muted
#7D7F7A

Preview Lab

Preview with #56812E

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

Preview Lab → · Contrast checker → · Palette generator →

#56812E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva