#70971B#70971B

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

Color values

HEX#70971B
RGBrgb(112, 151, 27)
HSLhsl(79, 70%, 35%)
HSVhsv(79, 82%, 59%)
CMYKcmyk(25.8%, 0%, 82.1%, 40.8%)
CIE-LABlab(57.71, -30.87, 55.26)
CIE-LCHlch(57.71, 63.30, 119.19°)
OKLaboklab(62.5% -0.0895 0.121)
OKLCHoklch(62.5% 0.15 126.5)
XYZxyz(17.9466, 25.6568, 5.0434)
Luminance0.2566 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70971B #421B97
analogous
#97801B #70971B #32971B
triadic
#70971B #1B7097 #971B70
tetradic
#70971B #1B9780 #421B97 #971B32
square
#70971B #1B9780 #421B97 #971B32
split-complementary
#70971B #1B3297 #801B97
monochromatic
#232F08 #496312 #70971B #97CB24 #B1DF4D

Accessibility & contrast

On white

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

On black

6.13
#70971B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #70971B
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70971B#FFFFFF#000000##000000
##70971B1.003.426.136.13
#FFFFFF3.421.0021.0021.00
#0000006.1321.001.001.00
##0000006.1321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #70971b;
/* rgb */ color: rgb(112, 151, 27);
/* oklch */ color: oklch(62.5% 0.150 126.5);
Tailwind
colors: {
  custom: {
    50: '#9db564',
    500: '#70971b',
    950: '#000000',
  },
}
SCSS
$custom: #70971b;
$custom-light: #9db564;
$custom-dark: #000000;
JSON
{
  "hex": "#70971b",
  "rgb": {
    "r": 112,
    "g": 151,
    "b": 27
  },
  "hsl": {
    "h": 78.871,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.625,
    "c": 0.15045,
    "h": 126.5
  },
  "luminance": 0.25657
}

Semantic roles & 50–950 ramp

primary
#70971B
secondary
#714CC1
accent
#3BEC73
background
#FAFBF6
surface
#F3F6EB
border
#CDD0C6
text
#0F1106
muted
#7F807A

Preview Lab

Preview with #70971B

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

Preview Lab → · Contrast checker → · Palette generator →

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