#70A51F#70A51F

#70A51F is a light, vivid yellow-green. Relative luminance 0.305; OKLCH L 66.0% C 0.166 H 129.8°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#70A51F
RGBrgb(112, 165, 31)
HSLhsl(84, 68%, 38%)
HSVhsv(84, 81%, 65%)
CMYKcmyk(32.1%, 0%, 81.2%, 35.3%)
CIE-LABlab(62.04, -37.10, 58.03)
CIE-LCHlch(62.04, 68.88, 122.60°)
OKLaboklab(66.03% -0.1061 0.1275)
OKLCHoklch(66.03% 0.166 129.8)
XYZxyz(20.3845, 30.4533, 6.1001)
Luminance0.3045 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70A51F #541FA5
analogous
#A5971F #70A51F #2DA51F
triadic
#70A51F #1F70A5 #A51F70
tetradic
#70A51F #1FA597 #541FA5 #A51F2D
square
#70A51F #1FA597 #541FA5 #A51F2D
split-complementary
#70A51F #1F2DA5 #971FA5
monochromatic
#2A3E0C #4D7115 #70A51F #93D72A #ADE15E

Accessibility & contrast

On white

2.96
#70A51F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#70A51F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #70A51F
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70A51F#FFFFFF#000000##000000
##70A51F1.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9800
Deuteranopia (green-blind)
#A6952E
Tritanopia (blue-blind)
#739E8D
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #70a51f;
/* rgb */ color: rgb(112, 165, 31);
/* oklch */ color: oklch(66.0% 0.166 129.8);
Tailwind
colors: {
  custom: {
    50: '#9ec067',
    500: '#70a51f',
    950: '#000000',
  },
}
SCSS
$custom: #70a51f;
$custom-light: #9ec067;
$custom-dark: #000000;
JSON
{
  "hex": "#70a51f",
  "rgb": {
    "r": 112,
    "g": 165,
    "b": 31
  },
  "hsl": {
    "h": 83.731,
    "s": 68.367,
    "l": 38.431
  },
  "oklch": {
    "l": 0.66031,
    "c": 0.16583,
    "h": 129.8
  },
  "luminance": 0.30454
}

Semantic roles & 50–950 ramp

primary
#70A51F
secondary
#855BC5
accent
#3DEB82
background
#FAFBF6
surface
#F4F7EB
border
#CED0C6
text
#0F1207
muted
#7F817A

Preview Lab

Preview with #70A51F

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

Preview Lab → · Contrast checker → · Palette generator →

#70A51F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva