#70821B#70821B

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

Color values

HEX#70821B
RGBrgb(112, 130, 27)
HSLhsl(70, 66%, 31%)
HSVhsv(70, 79%, 51%)
CMYKcmyk(13.8%, 0%, 79.2%, 49%)
CIE-LABlab(51.25, -20.52, 49.38)
CIE-LCHlch(51.25, 53.48, 112.56°)
OKLaboklab(57.28% -0.0612 0.1085)
OKLCHoklch(57.28% 0.125 119.4)
XYZxyz(14.8629, 19.4892, 4.0155)
Luminance0.1949 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70821B #2D1B82
analogous
#82601B #70821B #3D821B
triadic
#70821B #1B7082 #821B70
tetradic
#70821B #1B8260 #2D1B82 #821B3D
square
#70821B #1B8260 #2D1B82 #821B3D
split-complementary
#70821B #1B3D82 #601B82
monochromatic
#191D06 #444F10 #70821B #9CB526 #BDD740

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##70821B#FFFFFF#000000##000000
##70821B1.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)
#8B7A01
Deuteranopia (green-blind)
#897A25
Tritanopia (blue-blind)
#777B6F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #70821b;
/* rgb */ color: rgb(112, 130, 27);
/* oklch */ color: oklch(57.3% 0.125 119.4);
Tailwind
colors: {
  custom: {
    50: '#9ca661',
    500: '#70821b',
    950: '#000000',
  },
}
SCSS
$custom: #70821b;
$custom-light: #9ca661;
$custom-dark: #000000;
JSON
{
  "hex": "#70821b",
  "rgb": {
    "r": 112,
    "g": 130,
    "b": 27
  },
  "hsl": {
    "h": 70.485,
    "s": 65.605,
    "l": 30.784
  },
  "oklch": {
    "l": 0.57278,
    "c": 0.1246,
    "h": 119.4
  },
  "luminance": 0.19489
}

Semantic roles & 50–950 ramp

primary
#70821B
secondary
#5743B6
accent
#3FE95D
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0F0F05
muted
#7E7F7A

Preview Lab

Preview with #70821B

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

Preview Lab → · Contrast checker → · Palette generator →

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