#70821F#70821F

#70821F is a mid, vivid yellow-green. Relative luminance 0.195; OKLCH L 57.3% C 0.122 H 119.6°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#70821F
RGBrgb(112, 130, 31)
HSLhsl(71, 61%, 32%)
HSVhsv(71, 76%, 51%)
CMYKcmyk(13.8%, 0%, 76.2%, 49%)
CIE-LABlab(51.28, -20.32, 48.01)
CIE-LCHlch(51.28, 52.13, 112.93°)
OKLaboklab(57.3% -0.0603 0.1063)
OKLCHoklch(57.3% 0.122 119.6)
XYZxyz(14.9123, 19.5090, 4.2761)
Luminance0.1951 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70821F #311F82
analogous
#82631F #70821F #3F821F
triadic
#70821F #1F7082 #821F70
tetradic
#70821F #1F8263 #311F82 #821F3F
square
#70821F #1F8263 #311F82 #821F3F
split-complementary
#70821F #1F3F82 #631F82
monochromatic
#1B1F07 #455113 #70821F #9BB32B #BAD348

Accessibility & contrast

On white

4.28
#70821F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#70821F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #70821F
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70821F#FFFFFF#000000##000000
##70821F1.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A0A
Deuteranopia (green-blind)
#897A28
Tritanopia (blue-blind)
#777B6F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #70821f;
/* rgb */ color: rgb(112, 130, 31);
/* oklch */ color: oklch(57.3% 0.122 119.6);
Tailwind
colors: {
  custom: {
    50: '#9ca663',
    500: '#70821f',
    950: '#000000',
  },
}
SCSS
$custom: #70821f;
$custom-light: #9ca663;
$custom-dark: #000000;
JSON
{
  "hex": "#70821f",
  "rgb": {
    "r": 112,
    "g": 130,
    "b": 31
  },
  "hsl": {
    "h": 70.909,
    "s": 61.491,
    "l": 31.569
  },
  "oklch": {
    "l": 0.57304,
    "c": 0.12227,
    "h": 119.6
  },
  "luminance": 0.19509
}

Semantic roles & 50–950 ramp

primary
#70821F
secondary
#5C48B5
accent
#43E561
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0F0F06
muted
#7E7F7A

Preview Lab

Preview with #70821F

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

Preview Lab → · Contrast checker → · Palette generator →

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