#70841C#70841C

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

Color values

HEX#70841C
RGBrgb(112, 132, 28)
HSLhsl(72, 65%, 31%)
HSVhsv(72, 79%, 52%)
CMYKcmyk(15.2%, 0%, 78.8%, 48.2%)
CIE-LABlab(51.87, -21.50, 49.62)
CIE-LCHlch(51.87, 54.08, 113.42°)
OKLaboklab(57.78% -0.0638 0.1092)
OKLCHoklch(57.78% 0.126 120.3)
XYZxyz(15.1432, 20.0312, 4.1670)
Luminance0.2003 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70841C #301C84
analogous
#84641C #70841C #3C841C
triadic
#70841C #1C7084 #841C70
tetradic
#70841C #1C8464 #301C84 #841C3C
square
#70841C #1C8464 #301C84 #841C3C
split-complementary
#70841C #1C3C84 #641C84
monochromatic
#1A1F07 #455211 #70841C #9BB627 #BBD743

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##70841C#FFFFFF#000000##000000
##70841C1.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)
#8D7C02
Deuteranopia (green-blind)
#8A7C26
Tritanopia (blue-blind)
#777D71
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #70841c;
/* rgb */ color: rgb(112, 132, 28);
/* oklch */ color: oklch(57.8% 0.126 120.3);
Tailwind
colors: {
  custom: {
    50: '#9ca762',
    500: '#70841c',
    950: '#000000',
  },
}
SCSS
$custom: #70841c;
$custom-light: #9ca762;
$custom-dark: #000000;
JSON
{
  "hex": "#70841c",
  "rgb": {
    "r": 112,
    "g": 132,
    "b": 28
  },
  "hsl": {
    "h": 71.538,
    "s": 65,
    "l": 31.373
  },
  "oklch": {
    "l": 0.57778,
    "c": 0.12648,
    "h": 120.3
  },
  "luminance": 0.20031
}

Semantic roles & 50–950 ramp

primary
#70841C
secondary
#5B45B7
accent
#40E860
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0F0F05
muted
#7E7F7A

Preview Lab

Preview with #70841C

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

Preview Lab → · Contrast checker → · Palette generator →

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