#70841F#70841F

#70841F is a mid, vivid yellow-green. Relative luminance 0.200; OKLCH L 57.8% C 0.125 H 120.4°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#70841F
RGBrgb(112, 132, 31)
HSLhsl(72, 62%, 32%)
HSVhsv(72, 77%, 52%)
CMYKcmyk(15.2%, 0%, 76.5%, 48.2%)
CIE-LABlab(51.89, -21.34, 48.60)
CIE-LCHlch(51.89, 53.08, 113.71°)
OKLaboklab(57.8% -0.0632 0.1076)
OKLCHoklch(57.8% 0.125 120.4)
XYZxyz(15.1810, 20.0462, 4.3656)
Luminance0.2005 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70841F #331F84
analogous
#84661F #70841F #3E841F
triadic
#70841F #1F7084 #841F70
tetradic
#70841F #1F8466 #331F84 #841F3E
square
#70841F #1F8466 #331F84 #841F3E
split-complementary
#70841F #1F3E84 #661F84
monochromatic
#1C2108 #465213 #70841F #9AB62B #B9D449

Accessibility & contrast

On white

4.19
#70841F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#70841F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #70841F
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70841F#FFFFFF#000000##000000
##70841F1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C09
Deuteranopia (green-blind)
#8A7C28
Tritanopia (blue-blind)
#777D71
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #70841f;
/* rgb */ color: rgb(112, 132, 31);
/* oklch */ color: oklch(57.8% 0.125 120.4);
Tailwind
colors: {
  custom: {
    50: '#9ca763',
    500: '#70841f',
    950: '#000000',
  },
}
SCSS
$custom: #70841f;
$custom-light: #9ca763;
$custom-dark: #000000;
JSON
{
  "hex": "#70841f",
  "rgb": {
    "r": 112,
    "g": 132,
    "b": 31
  },
  "hsl": {
    "h": 71.881,
    "s": 61.963,
    "l": 31.961
  },
  "oklch": {
    "l": 0.57797,
    "c": 0.12475,
    "h": 120.4
  },
  "luminance": 0.20046
}

Semantic roles & 50–950 ramp

primary
#70841F
secondary
#5E48B7
accent
#43E563
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0F0F06
muted
#7E7F7A

Preview Lab

Preview with #70841F

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

Preview Lab → · Contrast checker → · Palette generator →

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