#56701B#56701B

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

Color values

HEX#56701B
RGBrgb(86, 112, 27)
HSLhsl(78, 61%, 27%)
HSVhsv(78, 76%, 44%)
CMYKcmyk(23.2%, 0%, 75.9%, 56.1%)
CIE-LABlab(43.72, -22.72, 41.55)
CIE-LCHlch(43.72, 47.36, 118.67°)
OKLaboklab(50.71% -0.0657 0.0928)
OKLCHoklch(50.71% 0.114 125.3)
XYZxyz(9.8298, 13.6458, 3.1527)
Luminance0.1365 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56701B #351B70
analogous
#70601B #56701B #2C701B
triadic
#56701B #1B5670 #701B56
tetradic
#56701B #1B7060 #351B70 #701B2C
square
#56701B #1B7060 #351B70 #701B2C
split-complementary
#56701B #1B2C70 #601B70
monochromatic
#131906 #303F0F #56701B #7CA127 #A0CF37

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##56701B#FFFFFF#000000##FFFFFF
##56701B1.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)
#76680B
Deuteranopia (green-blind)
#736723
Tritanopia (blue-blind)
#5A6A60
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #56701b;
/* rgb */ color: rgb(86, 112, 27);
/* oklch */ color: oklch(50.7% 0.114 125.3);
Tailwind
colors: {
  custom: {
    50: '#88995e',
    500: '#56701b',
    950: '#000000',
  },
}
SCSS
$custom: #56701b;
$custom-light: #88995e;
$custom-dark: #000000;
JSON
{
  "hex": "#56701b",
  "rgb": {
    "r": 86,
    "g": 112,
    "b": 27
  },
  "hsl": {
    "h": 78.353,
    "s": 61.151,
    "l": 27.255
  },
  "oklch": {
    "l": 0.50711,
    "c": 0.11369,
    "h": 125.3
  },
  "luminance": 0.13646
}

Semantic roles & 50–950 ramp

primary
#56701B
secondary
#6042A5
accent
#44E475
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0D05
muted
#7D7E79

Preview Lab

Preview with #56701B

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

Preview Lab → · Contrast checker → · Palette generator →

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