#70821D#70821D

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

Color values

HEX#70821D
RGBrgb(112, 130, 29)
HSLhsl(71, 64%, 31%)
HSVhsv(71, 78%, 51%)
CMYKcmyk(13.8%, 0%, 77.7%, 49%)
CIE-LABlab(51.27, -20.42, 48.71)
CIE-LCHlch(51.27, 52.82, 112.74°)
OKLaboklab(57.29% -0.0608 0.1075)
OKLCHoklch(57.29% 0.123 119.5)
XYZxyz(14.8868, 19.4988, 4.1416)
Luminance0.1950 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70821D #2F1D82
analogous
#82611D #70821D #3D821D
triadic
#70821D #1D7082 #821D70
tetradic
#70821D #1D8261 #2F1D82 #821D3D
square
#70821D #1D8261 #2F1D82 #821D3D
split-complementary
#70821D #1D3D82 #611D82
monochromatic
#1A1E07 #455012 #70821D #9BB428 #BBD544

Accessibility & contrast

On white

4.29
#70821D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##70821D#FFFFFF#000000##000000
##70821D1.004.294.904.90
#FFFFFF4.291.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #70821d;
/* rgb */ color: rgb(112, 130, 29);
/* oklch */ color: oklch(57.3% 0.123 119.5);
Tailwind
colors: {
  custom: {
    50: '#9ca662',
    500: '#70821d',
    950: '#000000',
  },
}
SCSS
$custom: #70821d;
$custom-light: #9ca662;
$custom-dark: #000000;
JSON
{
  "hex": "#70821d",
  "rgb": {
    "r": 112,
    "g": 130,
    "b": 29
  },
  "hsl": {
    "h": 70.693,
    "s": 63.522,
    "l": 31.176
  },
  "oklch": {
    "l": 0.57291,
    "c": 0.12347,
    "h": 119.5
  },
  "luminance": 0.19499
}

Semantic roles & 50–950 ramp

primary
#70821D
secondary
#5A46B5
accent
#41E75F
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0F0F05
muted
#7E7F7A

Preview Lab

Preview with #70821D

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

Preview Lab → · Contrast checker → · Palette generator →

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