#56702B#56702B

#56702B is a mid, moderate yellow-green. Relative luminance 0.137; OKLCH L 50.9% C 0.101 H 127.0°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#56702B
RGBrgb(86, 112, 43)
HSLhsl(83, 45%, 30%)
HSVhsv(83, 62%, 44%)
CMYKcmyk(23.2%, 0%, 61.6%, 56.1%)
CIE-LABlab(43.86, -21.44, 34.54)
CIE-LCHlch(43.86, 40.65, 121.83°)
OKLaboklab(50.87% -0.0606 0.0804)
OKLCHoklch(50.87% 0.101 127)
XYZxyz(10.0680, 13.7410, 4.4069)
Luminance0.1374 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56702B #452B70
analogous
#70672B #56702B #33702B
triadic
#56702B #2B5670 #702B56
tetradic
#56702B #2B7067 #452B70 #702B33
square
#56702B #2B7067 #452B70 #702B33
split-complementary
#56702B #2B3370 #672B70
monochromatic
#121809 #34441A #56702B #789C3C #97BE57

Accessibility & contrast

On white

5.60
#56702B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#56702B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #56702B
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56702B#FFFFFF#000000##FFFFFF
##56702B1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766924
Deuteranopia (green-blind)
#726730
Tritanopia (blue-blind)
#596B61
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #56702b;
/* rgb */ color: rgb(86, 112, 43);
/* oklch */ color: oklch(50.9% 0.101 127.0);
Tailwind
colors: {
  custom: {
    50: '#889967',
    500: '#56702b',
    950: '#000000',
  },
}
SCSS
$custom: #56702b;
$custom-light: #889967;
$custom-dark: #000000;
JSON
{
  "hex": "#56702b",
  "rgb": {
    "r": 86,
    "g": 112,
    "b": 43
  },
  "hsl": {
    "h": 82.609,
    "s": 44.516,
    "l": 30.392
  },
  "oklch": {
    "l": 0.50868,
    "c": 0.10065,
    "h": 127
  },
  "luminance": 0.13741
}

Semantic roles & 50–950 ramp

primary
#56702B
secondary
#7255A2
accent
#54D484
background
#F8F9F6
surface
#F0F2EB
border
#CBCCC6
text
#0B0E06
muted
#7C7E7A

Preview Lab

Preview with #56702B

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

Preview Lab → · Contrast checker → · Palette generator →

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