#56701F#56701F

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

Color values

HEX#56701F
RGBrgb(86, 112, 31)
HSLhsl(79, 57%, 28%)
HSVhsv(79, 72%, 44%)
CMYKcmyk(23.2%, 0%, 72.3%, 56.1%)
CIE-LABlab(43.75, -22.45, 39.95)
CIE-LCHlch(43.75, 45.83, 119.33°)
OKLaboklab(50.74% -0.0646 0.0901)
OKLCHoklch(50.74% 0.111 125.6)
XYZxyz(9.8793, 13.6656, 3.4133)
Luminance0.1367 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#56701F #391F70
analogous
#70611F #56701F #2E701F
triadic
#56701F #1F5670 #701F56
tetradic
#56701F #1F7061 #391F70 #701F2E
square
#56701F #1F7061 #391F70 #701F2E
split-complementary
#56701F #1F2E70 #611F70
monochromatic
#121807 #314012 #56701F #7BA02C #9ECA3F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##56701F#FFFFFF#000000##FFFFFF
##56701F1.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)
#766812
Deuteranopia (green-blind)
#736726
Tritanopia (blue-blind)
#5A6A60
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #56701f;
/* rgb */ color: rgb(86, 112, 31);
/* oklch */ color: oklch(50.7% 0.111 125.6);
Tailwind
colors: {
  custom: {
    50: '#889960',
    500: '#56701f',
    950: '#000000',
  },
}
SCSS
$custom: #56701f;
$custom-light: #889960;
$custom-dark: #000000;
JSON
{
  "hex": "#56701f",
  "rgb": {
    "r": 86,
    "g": 112,
    "b": 31
  },
  "hsl": {
    "h": 79.259,
    "s": 56.643,
    "l": 28.039
  },
  "oklch": {
    "l": 0.50744,
    "c": 0.11086,
    "h": 125.6
  },
  "luminance": 0.13666
}

Semantic roles & 50–950 ramp

primary
#56701F
secondary
#6547A4
accent
#48E079
background
#F8F9F5
surface
#F0F2EA
border
#CBCCC6
text
#0C0E05
muted
#7D7E79

Preview Lab

Preview with #56701F

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

Preview Lab → · Contrast checker → · Palette generator →

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