#70841A#70841A

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

Color values

HEX#70841A
RGBrgb(112, 132, 26)
HSLhsl(71, 67%, 31%)
HSVhsv(71, 80%, 52%)
CMYKcmyk(15.2%, 0%, 80.3%, 48.2%)
CIE-LABlab(51.86, -21.59, 50.27)
CIE-LCHlch(51.86, 54.71, 113.24°)
OKLaboklab(57.77% -0.0643 0.1102)
OKLCHoklch(57.77% 0.128 120.2)
XYZxyz(15.1201, 20.0219, 4.0452)
Luminance0.2002 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70841A #2E1A84
analogous
#84631A #70841A #3B841A
triadic
#70841A #1A7084 #841A70
tetradic
#70841A #1A8463 #2E1A84 #841A3B
square
#70841A #1A8463 #2E1A84 #841A3B
split-complementary
#70841A #1A3B84 #631A84
monochromatic
#191E06 #455110 #70841A #9BB724 #BCD93F

Accessibility & contrast

On white

4.20
#70841A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#70841A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #70841A
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70841A#FFFFFF#000000##000000
##70841A1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#8A7C24
Tritanopia (blue-blind)
#777D70
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #70841a;
/* rgb */ color: rgb(112, 132, 26);
/* oklch */ color: oklch(57.8% 0.128 120.2);
Tailwind
colors: {
  custom: {
    50: '#9ca761',
    500: '#70841a',
    950: '#000000',
  },
}
SCSS
$custom: #70841a;
$custom-light: #9ca761;
$custom-dark: #000000;
JSON
{
  "hex": "#70841a",
  "rgb": {
    "r": 112,
    "g": 132,
    "b": 26
  },
  "hsl": {
    "h": 71.321,
    "s": 67.089,
    "l": 30.98
  },
  "oklch": {
    "l": 0.57766,
    "c": 0.12757,
    "h": 120.2
  },
  "luminance": 0.20022
}

Semantic roles & 50–950 ramp

primary
#70841A
secondary
#5842B8
accent
#3EEA5E
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0F0F05
muted
#7E7F7A

Preview Lab

Preview with #70841A

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

Preview Lab → · Contrast checker → · Palette generator →

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