#70831A#70831A

#70831A is a mid, vivid yellow-green. Relative luminance 0.198; OKLCH L 57.5% C 0.126 H 119.8°. Best body text is #000000 at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#70831A
RGBrgb(112, 131, 26)
HSLhsl(71, 67%, 31%)
HSVhsv(71, 80%, 51%)
CMYKcmyk(14.5%, 0%, 80.2%, 48.6%)
CIE-LABlab(51.56, -21.08, 49.99)
CIE-LCHlch(51.56, 54.25, 112.86°)
OKLaboklab(57.52% -0.0629 0.1096)
OKLCHoklch(57.52% 0.126 119.8)
XYZxyz(14.9852, 19.7520, 4.0002)
Luminance0.1975 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70831A #2D1A83
analogous
#83611A #70831A #3B831A
triadic
#70831A #1A7083 #831A70
tetradic
#70831A #1A8361 #2D1A83 #831A3B
square
#70831A #1A8361 #2D1A83 #831A3B
split-complementary
#70831A #1A3B83 #611A83
monochromatic
#191D06 #445010 #70831A #9CB624 #BDD93F

Accessibility & contrast

On white

4.24
#70831A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.95
#70831A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #70831A
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70831A#FFFFFF#000000##000000
##70831A1.004.244.954.95
#FFFFFF4.241.0021.0021.00
#0000004.9521.001.001.00
##0000004.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#8A7B24
Tritanopia (blue-blind)
#777C70
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #70831a;
/* rgb */ color: rgb(112, 131, 26);
/* oklch */ color: oklch(57.5% 0.126 119.8);
Tailwind
colors: {
  custom: {
    50: '#9ca760',
    500: '#70831a',
    950: '#000000',
  },
}
SCSS
$custom: #70831a;
$custom-light: #9ca760;
$custom-dark: #000000;
JSON
{
  "hex": "#70831a",
  "rgb": {
    "r": 112,
    "g": 131,
    "b": 26
  },
  "hsl": {
    "h": 70.857,
    "s": 66.879,
    "l": 30.784
  },
  "oklch": {
    "l": 0.57519,
    "c": 0.12636,
    "h": 119.8
  },
  "luminance": 0.19752
}

Semantic roles & 50–950 ramp

primary
#70831A
secondary
#5742B7
accent
#3EEA5D
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0F0F05
muted
#7E7F7A

Preview Lab

Preview with #70831A

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

Preview Lab → · Contrast checker → · Palette generator →

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