#70821A#70821A

#70821A 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#70821A
RGBrgb(112, 130, 26)
HSLhsl(70, 67%, 31%)
HSVhsv(70, 80%, 51%)
CMYKcmyk(13.8%, 0%, 80%, 49%)
CIE-LABlab(51.25, -20.56, 49.71)
CIE-LCHlch(51.25, 53.79, 112.47°)
OKLaboklab(57.27% -0.0614 0.109)
OKLCHoklch(57.27% 0.125 119.4)
XYZxyz(14.8515, 19.4847, 3.9556)
Luminance0.1948 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70821A #2C1A82
analogous
#82601A #70821A #3C821A
triadic
#70821A #1A7082 #821A70
tetradic
#70821A #1A8260 #2C1A82 #821A3C
square
#70821A #1A8260 #2C1A82 #821A3C
split-complementary
#70821A #1A3C82 #601A82
monochromatic
#181C06 #444F10 #70821A #9CB524 #BED83E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##70821A#FFFFFF#000000##000000
##70821A1.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)
#8B7A00
Deuteranopia (green-blind)
#897A24
Tritanopia (blue-blind)
#777B6F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #70821a;
/* rgb */ color: rgb(112, 130, 26);
/* oklch */ color: oklch(57.3% 0.125 119.4);
Tailwind
colors: {
  custom: {
    50: '#9ca660',
    500: '#70821a',
    950: '#000000',
  },
}
SCSS
$custom: #70821a;
$custom-light: #9ca660;
$custom-dark: #000000;
JSON
{
  "hex": "#70821a",
  "rgb": {
    "r": 112,
    "g": 130,
    "b": 26
  },
  "hsl": {
    "h": 70.385,
    "s": 66.667,
    "l": 30.588
  },
  "oklch": {
    "l": 0.57272,
    "c": 0.12514,
    "h": 119.4
  },
  "luminance": 0.19485
}

Semantic roles & 50–950 ramp

primary
#70821A
secondary
#5642B6
accent
#3EEA5C
background
#F9FAF5
surface
#F2F4EA
border
#CCCEC6
text
#0F0F05
muted
#7E7F79

Preview Lab

Preview with #70821A

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

Preview Lab → · Contrast checker → · Palette generator →

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