#70971F#70971F

#70971F is a light, vivid yellow-green. Relative luminance 0.257; OKLCH L 62.5% C 0.149 H 126.7°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#70971F
RGBrgb(112, 151, 31)
HSLhsl(80, 66%, 36%)
HSVhsv(80, 79%, 59%)
CMYKcmyk(25.8%, 0%, 79.5%, 40.8%)
CIE-LABlab(57.73, -30.69, 54.08)
CIE-LCHlch(57.73, 62.18, 119.57°)
OKLaboklab(62.52% -0.0887 0.1191)
OKLCHoklch(62.52% 0.149 126.7)
XYZxyz(17.9961, 25.6766, 5.3040)
Luminance0.2568 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70971F #461F97
analogous
#97821F #70971F #34971F
triadic
#70971F #1F7097 #971F70
tetradic
#70971F #1F9782 #461F97 #971F34
square
#70971F #1F9782 #461F97 #971F34
split-complementary
#70971F #1F3497 #821F97
monochromatic
#25310A #4A6415 #70971F #96CA29 #B0DC54

Accessibility & contrast

On white

3.42
#70971F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#70971F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #70971F
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70971F#FFFFFF#000000##000000
##70971F1.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C00
Deuteranopia (green-blind)
#9A8A2B
Tritanopia (blue-blind)
#759081
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #70971f;
/* rgb */ color: rgb(112, 151, 31);
/* oklch */ color: oklch(62.5% 0.149 126.7);
Tailwind
colors: {
  custom: {
    50: '#9db565',
    500: '#70971f',
    950: '#000000',
  },
}
SCSS
$custom: #70971f;
$custom-light: #9db565;
$custom-dark: #000000;
JSON
{
  "hex": "#70971f",
  "rgb": {
    "r": 112,
    "g": 151,
    "b": 31
  },
  "hsl": {
    "h": 79.5,
    "s": 65.934,
    "l": 35.686
  },
  "oklch": {
    "l": 0.62522,
    "c": 0.14851,
    "h": 126.7
  },
  "luminance": 0.25677
}

Semantic roles & 50–950 ramp

primary
#70971F
secondary
#7652BF
accent
#3FE976
background
#FAFBF6
surface
#F3F6EB
border
#CDD0C6
text
#0F1106
muted
#7F807A

Preview Lab

Preview with #70971F

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

Preview Lab → · Contrast checker → · Palette generator →

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