#70871E#70871E

#70871E is a mid, vivid yellow-green. Relative luminance 0.209; OKLCH L 58.5% C 0.129 H 121.6°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#70871E
RGBrgb(112, 135, 30)
HSLhsl(73, 64%, 32%)
HSVhsv(73, 78%, 53%)
CMYKcmyk(17%, 0%, 77.8%, 47.1%)
CIE-LABlab(52.80, -22.92, 49.81)
CIE-LCHlch(52.80, 54.83, 114.71°)
OKLaboklab(58.53% -0.0676 0.11)
OKLCHoklch(58.53% 0.129 121.6)
XYZxyz(15.5807, 20.8664, 4.4348)
Luminance0.2087 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70871E #351E87
analogous
#876A1E #70871E #3B871E
triadic
#70871E #1E7087 #871E70
tetradic
#70871E #1E876A #351E87 #871E3B
square
#70871E #1E876A #351E87 #871E3B
split-complementary
#70871E #1E3B87 #6A1E87
monochromatic
#1D2308 #465513 #70871E #9AB929 #B7D749

Accessibility & contrast

On white

4.06
#70871E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#70871E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #70871E
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70871E#FFFFFF#000000##000000
##70871E1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#907E05
Deuteranopia (green-blind)
#8D7E28
Tritanopia (blue-blind)
#768073
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #70871e;
/* rgb */ color: rgb(112, 135, 30);
/* oklch */ color: oklch(58.5% 0.129 121.6);
Tailwind
colors: {
  custom: {
    50: '#9caa63',
    500: '#70871e',
    950: '#000000',
  },
}
SCSS
$custom: #70871e;
$custom-light: #9caa63;
$custom-dark: #000000;
JSON
{
  "hex": "#70871e",
  "rgb": {
    "r": 112,
    "g": 135,
    "b": 30
  },
  "hsl": {
    "h": 73.143,
    "s": 63.636,
    "l": 32.353
  },
  "oklch": {
    "l": 0.58532,
    "c": 0.12906,
    "h": 121.6
  },
  "luminance": 0.20866
}

Semantic roles & 50–950 ramp

primary
#70871E
secondary
#6148B9
accent
#41E765
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0F1006
muted
#7E7F7A

Preview Lab

Preview with #70871E

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

Preview Lab → · Contrast checker → · Palette generator →

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