#70872D#70872D

#70872D is a mid, moderate yellow-green. Relative luminance 0.210; OKLCH L 58.7% C 0.119 H 122.4°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#70872D
RGBrgb(112, 135, 45)
HSLhsl(75, 50%, 35%)
HSVhsv(75, 67%, 53%)
CMYKcmyk(17%, 0%, 66.7%, 47.1%)
CIE-LABlab(52.91, -21.98, 44.01)
CIE-LCHlch(52.91, 49.20, 116.54°)
OKLaboklab(58.65% -0.0636 0.1002)
OKLCHoklch(58.65% 0.119 122.4)
XYZxyz(15.8199, 20.9621, 5.6948)
Luminance0.2096 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70872D #442D87
analogous
#87712D #70872D #43872D
triadic
#70872D #2D7087 #872D70
tetradic
#70872D #2D8771 #442D87 #872D43
square
#70872D #2D8771 #442D87 #872D43
split-complementary
#70872D #2D4387 #712D87
monochromatic
#242B0E #4A591E #70872D #96B53C #B1CB63

Accessibility & contrast

On white

4.04
#70872D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#70872D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #70872D
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70872D#FFFFFF#000000##000000
##70872D1.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F21
Deuteranopia (green-blind)
#8C7E34
Tritanopia (blue-blind)
#768074
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #70872d;
/* rgb */ color: rgb(112, 135, 45);
/* oklch */ color: oklch(58.7% 0.119 122.4);
Tailwind
colors: {
  custom: {
    50: '#9caa6b',
    500: '#70872d',
    950: '#000000',
  },
}
SCSS
$custom: #70872d;
$custom-light: #9caa6b;
$custom-dark: #000000;
JSON
{
  "hex": "#70872d",
  "rgb": {
    "r": 112,
    "g": 135,
    "b": 45
  },
  "hsl": {
    "h": 75.333,
    "s": 50,
    "l": 35.294
  },
  "oklch": {
    "l": 0.5865,
    "c": 0.1187,
    "h": 122.4
  },
  "luminance": 0.20962
}

Semantic roles & 50–950 ramp

primary
#70872D
secondary
#745EB2
accent
#4EDA72
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1007
muted
#7E7F7A

Preview Lab

Preview with #70872D

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

Preview Lab → · Contrast checker → · Palette generator →

#70872D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva