#70871F#70871F

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

Color values

HEX#70871F
RGBrgb(112, 135, 31)
HSLhsl(73, 63%, 33%)
HSVhsv(73, 77%, 53%)
CMYKcmyk(17%, 0%, 77%, 47.1%)
CIE-LABlab(52.81, -22.87, 49.47)
CIE-LCHlch(52.81, 54.50, 114.81°)
OKLaboklab(58.54% -0.0674 0.1094)
OKLCHoklch(58.54% 0.128 121.6)
XYZxyz(15.5936, 20.8716, 4.5032)
Luminance0.2087 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70871F #361F87
analogous
#876A1F #70871F #3C871F
triadic
#70871F #1F7087 #871F70
tetradic
#70871F #1F876A #361F87 #871F3C
square
#70871F #1F876A #361F87 #871F3C
split-complementary
#70871F #1F3C87 #6A1F87
monochromatic
#1D2308 #475514 #70871F #99B92A #B7D64B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##70871F#FFFFFF#000000##000000
##70871F1.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)
#907E07
Deuteranopia (green-blind)
#8D7E29
Tritanopia (blue-blind)
#768073
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #70871f;
/* rgb */ color: rgb(112, 135, 31);
/* oklch */ color: oklch(58.5% 0.128 121.6);
Tailwind
colors: {
  custom: {
    50: '#9caa63',
    500: '#70871f',
    950: '#000000',
  },
}
SCSS
$custom: #70871f;
$custom-light: #9caa63;
$custom-dark: #000000;
JSON
{
  "hex": "#70871f",
  "rgb": {
    "r": 112,
    "g": 135,
    "b": 31
  },
  "hsl": {
    "h": 73.269,
    "s": 62.651,
    "l": 32.549
  },
  "oklch": {
    "l": 0.58539,
    "c": 0.12848,
    "h": 121.6
  },
  "luminance": 0.20872
}

Semantic roles & 50–950 ramp

primary
#70871F
secondary
#624AB8
accent
#42E666
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0F1006
muted
#7E7F7A

Preview Lab

Preview with #70871F

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

Preview Lab → · Contrast checker → · Palette generator →

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