#70871A#70871A

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

Color values

HEX#70871A
RGBrgb(112, 135, 26)
HSLhsl(73, 68%, 32%)
HSVhsv(73, 81%, 53%)
CMYKcmyk(17%, 0%, 80.7%, 47.1%)
CIE-LABlab(52.78, -23.11, 51.11)
CIE-LCHlch(52.78, 56.09, 114.33°)
OKLaboklab(58.51% -0.0684 0.112)
OKLCHoklch(58.51% 0.131 121.4)
XYZxyz(15.5328, 20.8473, 4.1827)
Luminance0.2085 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70871A #311A87
analogous
#87681A #70871A #39871A
triadic
#70871A #1A7087 #871A70
tetradic
#70871A #1A8768 #311A87 #871A39
square
#70871A #1A8768 #311A87 #871A39
split-complementary
#70871A #1A3987 #681A87
monochromatic
#1B2006 #455410 #70871A #9BBA24 #BADA41

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##70871A#FFFFFF#000000##000000
##70871A1.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)
#8D7E25
Tritanopia (blue-blind)
#778073
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #70871a;
/* rgb */ color: rgb(112, 135, 26);
/* oklch */ color: oklch(58.5% 0.131 121.4);
Tailwind
colors: {
  custom: {
    50: '#9caa61',
    500: '#70871a',
    950: '#000000',
  },
}
SCSS
$custom: #70871a;
$custom-light: #9caa61;
$custom-dark: #000000;
JSON
{
  "hex": "#70871a",
  "rgb": {
    "r": 112,
    "g": 135,
    "b": 26
  },
  "hsl": {
    "h": 72.661,
    "s": 67.702,
    "l": 31.569
  },
  "oklch": {
    "l": 0.58508,
    "c": 0.13123,
    "h": 121.4
  },
  "luminance": 0.20847
}

Semantic roles & 50–950 ramp

primary
#70871A
secondary
#5C42BA
accent
#3DEB62
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0F1005
muted
#7E7F7A

Preview Lab

Preview with #70871A

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

Preview Lab → · Contrast checker → · Palette generator →

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