#70831F#70831F

#70831F is a mid, vivid yellow-green. Relative luminance 0.198; OKLCH L 57.6% C 0.123 H 120.0°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#70831F
RGBrgb(112, 131, 31)
HSLhsl(71, 62%, 32%)
HSVhsv(71, 76%, 51%)
CMYKcmyk(14.5%, 0%, 76.3%, 48.6%)
CIE-LABlab(51.58, -20.83, 48.31)
CIE-LCHlch(51.58, 52.61, 113.33°)
OKLaboklab(57.55% -0.0618 0.107)
OKLCHoklch(57.55% 0.124 120)
XYZxyz(15.0460, 19.7763, 4.3206)
Luminance0.1978 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70831F #321F83
analogous
#83641F #70831F #3E831F
triadic
#70831F #1F7083 #831F70
tetradic
#70831F #1F8364 #321F83 #831F3E
square
#70831F #1F8364 #321F83 #831F3E
split-complementary
#70831F #1F3E83 #641F83
monochromatic
#1B2008 #465213 #70831F #9AB42B #B9D449

Accessibility & contrast

On white

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

On black

4.96
#70831F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #70831F
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70831F#FFFFFF#000000##000000
##70831F1.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B09
Deuteranopia (green-blind)
#897B28
Tritanopia (blue-blind)
#777C70
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #70831f;
/* rgb */ color: rgb(112, 131, 31);
/* oklch */ color: oklch(57.6% 0.123 120.0);
Tailwind
colors: {
  custom: {
    50: '#9ca763',
    500: '#70831f',
    950: '#000000',
  },
}
SCSS
$custom: #70831f;
$custom-light: #9ca763;
$custom-dark: #000000;
JSON
{
  "hex": "#70831f",
  "rgb": {
    "r": 112,
    "g": 131,
    "b": 31
  },
  "hsl": {
    "h": 71.4,
    "s": 61.728,
    "l": 31.765
  },
  "oklch": {
    "l": 0.5755,
    "c": 0.1235,
    "h": 120
  },
  "luminance": 0.19776
}

Semantic roles & 50–950 ramp

primary
#70831F
secondary
#5D48B6
accent
#43E562
background
#F9FAF6
surface
#F2F4EB
border
#CCCEC6
text
#0F0F06
muted
#7E7F7A

Preview Lab

Preview with #70831F

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

Preview Lab → · Contrast checker → · Palette generator →

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