#56701C#56701C

#56701C is a mid, moderate yellow-green. Relative luminance 0.137; OKLCH L 50.7% C 0.113 H 125.4°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).

Color values

HEX#56701C
RGBrgb(86, 112, 28)
HSLhsl(79, 60%, 27%)
HSVhsv(79, 75%, 44%)
CMYKcmyk(23.2%, 0%, 75%, 56.1%)
CIE-LABlab(43.73, -22.66, 41.16)
CIE-LCHlch(43.73, 46.99, 118.83°)
OKLaboklab(50.72% -0.0654 0.0922)
OKLCHoklch(50.72% 0.113 125.4)
XYZxyz(9.8416, 13.6505, 3.2147)
Luminance0.1365 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56701C #361C70
analogous
#70601C #56701C #2C701C
triadic
#56701C #1C5670 #701C56
tetradic
#56701C #1C7060 #361C70 #701C2C
square
#56701C #1C7060 #361C70 #701C2C
split-complementary
#56701C #1C2C70 #601C70
monochromatic
#131806 #303F10 #56701C #7CA128 #9FCD39

Accessibility & contrast

On white

5.63
#56701C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.73
#56701C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #56701C
5.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##56701C#FFFFFF#000000##FFFFFF
##56701C1.005.633.735.63
#FFFFFF5.631.0021.001.00
#0000003.7321.001.0021.00
##FFFFFF5.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#76680D
Deuteranopia (green-blind)
#736723
Tritanopia (blue-blind)
#5A6A60
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #56701c;
/* rgb */ color: rgb(86, 112, 28);
/* oklch */ color: oklch(50.7% 0.113 125.4);
Tailwind
colors: {
  custom: {
    50: '#88995e',
    500: '#56701c',
    950: '#000000',
  },
}
SCSS
$custom: #56701c;
$custom-light: #88995e;
$custom-dark: #000000;
JSON
{
  "hex": "#56701c",
  "rgb": {
    "r": 86,
    "g": 112,
    "b": 28
  },
  "hsl": {
    "h": 78.571,
    "s": 60,
    "l": 27.451
  },
  "oklch": {
    "l": 0.50719,
    "c": 0.11302,
    "h": 125.4
  },
  "luminance": 0.13651
}

Semantic roles & 50–950 ramp

primary
#56701C
secondary
#6143A5
accent
#45E376
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #56701C

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

Preview Lab → · Contrast checker → · Palette generator →

#56701C Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva