#70831B#70831B

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

Color values

HEX#70831B
RGBrgb(112, 131, 27)
HSLhsl(71, 66%, 31%)
HSVhsv(71, 79%, 51%)
CMYKcmyk(14.5%, 0%, 79.4%, 48.6%)
CIE-LABlab(51.56, -21.03, 49.67)
CIE-LCHlch(51.56, 53.94, 112.95°)
OKLaboklab(57.53% -0.0626 0.1091)
OKLCHoklch(57.53% 0.126 119.9)
XYZxyz(14.9965, 19.7565, 4.0601)
Luminance0.1976 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70831B #2E1B83
analogous
#83621B #70831B #3C831B
triadic
#70831B #1B7083 #831B70
tetradic
#70831B #1B8362 #2E1B83 #831B3C
square
#70831B #1B8362 #2E1B83 #831B3C
split-complementary
#70831B #1B3C83 #621B83
monochromatic
#191E06 #455011 #70831B #9BB625 #BCD841

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##70831B#FFFFFF#000000##000000
##70831B1.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)
#8A7B25
Tritanopia (blue-blind)
#777C70
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #70831b;
/* rgb */ color: rgb(112, 131, 27);
/* oklch */ color: oklch(57.5% 0.126 119.9);
Tailwind
colors: {
  custom: {
    50: '#9ca761',
    500: '#70831b',
    950: '#000000',
  },
}
SCSS
$custom: #70831b;
$custom-light: #9ca761;
$custom-dark: #000000;
JSON
{
  "hex": "#70831b",
  "rgb": {
    "r": 112,
    "g": 131,
    "b": 27
  },
  "hsl": {
    "h": 70.962,
    "s": 65.823,
    "l": 30.98
  },
  "oklch": {
    "l": 0.57525,
    "c": 0.12582,
    "h": 119.9
  },
  "luminance": 0.19756
}

Semantic roles & 50–950 ramp

primary
#70831B
secondary
#5843B6
accent
#3FE95E
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0F0F05
muted
#7E7F7A

Preview Lab

Preview with #70831B

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

Preview Lab → · Contrast checker → · Palette generator →

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