#70872B#70872B

#70872B is a mid, vivid yellow-green. Relative luminance 0.209; OKLCH L 58.6% C 0.120 H 122.3°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#70872B
RGBrgb(112, 135, 43)
HSLhsl(75, 52%, 35%)
HSVhsv(75, 68%, 53%)
CMYKcmyk(17%, 0%, 68.1%, 47.1%)
CIE-LABlab(52.89, -22.13, 44.86)
CIE-LCHlch(52.89, 50.02, 116.25°)
OKLaboklab(58.63% -0.0642 0.1017)
OKLCHoklch(58.63% 0.12 122.3)
XYZxyz(15.7823, 20.9471, 5.4968)
Luminance0.2095 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70872B #422B87
analogous
#87702B #70872B #42872B
triadic
#70872B #2B7087 #872B70
tetradic
#70872B #2B8770 #422B87 #872B42
square
#70872B #2B8770 #422B87 #872B42
split-complementary
#70872B #2B4287 #702B87
monochromatic
#232A0D #49591C #70872B #97B53A #B1CC60

Accessibility & contrast

On white

4.05
#70872B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##70872B#FFFFFF#000000##000000
##70872B1.004.055.195.19
#FFFFFF4.051.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #70872b;
/* rgb */ color: rgb(112, 135, 43);
/* oklch */ color: oklch(58.6% 0.120 122.3);
Tailwind
colors: {
  custom: {
    50: '#9caa6a',
    500: '#70872b',
    950: '#000000',
  },
}
SCSS
$custom: #70872b;
$custom-light: #9caa6a;
$custom-dark: #000000;
JSON
{
  "hex": "#70872b",
  "rgb": {
    "r": 112,
    "g": 135,
    "b": 43
  },
  "hsl": {
    "h": 75,
    "s": 51.685,
    "l": 34.902
  },
  "oklch": {
    "l": 0.58632,
    "c": 0.12028,
    "h": 122.3
  },
  "luminance": 0.20947
}

Semantic roles & 50–950 ramp

primary
#70872B
secondary
#715BB2
accent
#4DDB70
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0E1007
muted
#7E7F7A

Preview Lab

Preview with #70872B

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

Preview Lab → · Contrast checker → · Palette generator →

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