#70841B#70841B

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

Color values

HEX#70841B
RGBrgb(112, 132, 27)
HSLhsl(71, 66%, 31%)
HSVhsv(71, 80%, 52%)
CMYKcmyk(15.2%, 0%, 79.5%, 48.2%)
CIE-LABlab(51.87, -21.54, 49.95)
CIE-LCHlch(51.87, 54.40, 113.33°)
OKLaboklab(57.77% -0.0641 0.1097)
OKLCHoklch(57.77% 0.127 120.3)
XYZxyz(15.1315, 20.0265, 4.1050)
Luminance0.2003 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70841B #2F1B84
analogous
#84631B #70841B #3B841B
triadic
#70841B #1B7084 #841B70
tetradic
#70841B #1B8463 #2F1B84 #841B3B
square
#70841B #1B8463 #2F1B84 #841B3B
split-complementary
#70841B #1B3B84 #631B84
monochromatic
#1A1E06 #455111 #70841B #9BB725 #BBD841

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##70841B#FFFFFF#000000##000000
##70841B1.004.205.015.01
#FFFFFF4.201.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #70841b;
/* rgb */ color: rgb(112, 132, 27);
/* oklch */ color: oklch(57.8% 0.127 120.3);
Tailwind
colors: {
  custom: {
    50: '#9ca761',
    500: '#70841b',
    950: '#000000',
  },
}
SCSS
$custom: #70841b;
$custom-light: #9ca761;
$custom-dark: #000000;
JSON
{
  "hex": "#70841b",
  "rgb": {
    "r": 112,
    "g": 132,
    "b": 27
  },
  "hsl": {
    "h": 71.429,
    "s": 66.038,
    "l": 31.176
  },
  "oklch": {
    "l": 0.57772,
    "c": 0.12703,
    "h": 120.3
  },
  "luminance": 0.20026
}

Semantic roles & 50–950 ramp

primary
#70841B
secondary
#5A43B7
accent
#3FE95F
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0F0F05
muted
#7E7F7A

Preview Lab

Preview with #70841B

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

Preview Lab → · Contrast checker → · Palette generator →

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