#70871B#70871B

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

Color values

HEX#70871B
RGBrgb(112, 135, 27)
HSLhsl(73, 67%, 32%)
HSVhsv(73, 80%, 53%)
CMYKcmyk(17%, 0%, 80%, 47.1%)
CIE-LABlab(52.79, -23.07, 50.79)
CIE-LCHlch(52.79, 55.79, 114.42°)
OKLaboklab(58.51% -0.0682 0.1115)
OKLCHoklch(58.51% 0.131 121.5)
XYZxyz(15.5442, 20.8518, 4.2426)
Luminance0.2085 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70871B #321B87
analogous
#87681B #70871B #3A871B
triadic
#70871B #1B7087 #871B70
tetradic
#70871B #1B8768 #321B87 #871B3A
square
#70871B #1B8768 #321B87 #871B3A
split-complementary
#70871B #1B3A87 #681B87
monochromatic
#1B2107 #465411 #70871B #9ABA25 #B9D943

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##70871B#FFFFFF#000000##000000
##70871B1.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)
#907E00
Deuteranopia (green-blind)
#8D7E26
Tritanopia (blue-blind)
#778073
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #70871b;
/* rgb */ color: rgb(112, 135, 27);
/* oklch */ color: oklch(58.5% 0.131 121.5);
Tailwind
colors: {
  custom: {
    50: '#9caa61',
    500: '#70871b',
    950: '#000000',
  },
}
SCSS
$custom: #70871b;
$custom-light: #9caa61;
$custom-dark: #000000;
JSON
{
  "hex": "#70871b",
  "rgb": {
    "r": 112,
    "g": 135,
    "b": 27
  },
  "hsl": {
    "h": 72.778,
    "s": 66.667,
    "l": 31.765
  },
  "oklch": {
    "l": 0.58514,
    "c": 0.13071,
    "h": 121.5
  },
  "luminance": 0.20852
}

Semantic roles & 50–950 ramp

primary
#70871B
secondary
#5D44BA
accent
#3EEA63
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0F1005
muted
#7E7F7A

Preview Lab

Preview with #70871B

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

Preview Lab → · Contrast checker → · Palette generator →

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