#56842E#56842E

#56842E is a mid, vivid yellow-green. Relative luminance 0.187; OKLCH L 56.1% C 0.127 H 133.0°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#56842E
RGBrgb(86, 132, 46)
HSLhsl(92, 48%, 35%)
HSVhsv(92, 65%, 52%)
CMYKcmyk(34.8%, 0%, 65.2%, 48.2%)
CIE-LABlab(50.31, -30.99, 40.27)
CIE-LCHlch(50.31, 50.81, 127.57°)
OKLaboklab(56.11% -0.0866 0.0929)
OKLCHoklch(56.11% 0.127 133)
XYZxyz(12.5820, 18.6777, 5.5265)
Luminance0.1868 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56842E #5C2E84
analogous
#81842E #56842E #2E8431
triadic
#56842E #2E5684 #842E56
tetradic
#56842E #2E8184 #5C2E84 #84312E
square
#56842E #2E8184 #5C2E84 #84312E
split-complementary
#56842E #312E84 #842E81
monochromatic
#1B290E #38571E #56842E #74B13E #93C964

Accessibility & contrast

On white

4.43
#56842E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#56842E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #56842E
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56842E#FFFFFF#000000##000000
##56842E1.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#897A24
Deuteranopia (green-blind)
#837635
Tritanopia (blue-blind)
#577F72
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #56842e;
/* rgb */ color: rgb(86, 132, 46);
/* oklch */ color: oklch(56.1% 0.127 133.0);
Tailwind
colors: {
  custom: {
    50: '#89a86b',
    500: '#56842e',
    950: '#000000',
  },
}
SCSS
$custom: #56842e;
$custom-light: #89a86b;
$custom-dark: #000000;
JSON
{
  "hex": "#56842e",
  "rgb": {
    "r": 86,
    "g": 132,
    "b": 46
  },
  "hsl": {
    "h": 92.093,
    "s": 48.315,
    "l": 34.902
  },
  "oklch": {
    "l": 0.56112,
    "c": 0.12704,
    "h": 133
  },
  "luminance": 0.18678
}

Semantic roles & 50–950 ramp

primary
#56842E
secondary
#8A5EB0
accent
#50D899
background
#F8FAF6
surface
#F0F4EB
border
#CBCEC6
text
#0C0F07
muted
#7D7F7A

Preview Lab

Preview with #56842E

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

Preview Lab → · Contrast checker → · Palette generator →

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