#70B540#70B540

#70B540 is a light, vivid yellow-green. Relative luminance 0.369; OKLCH L 70.3% C 0.166 H 134.7°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#70B540
RGBrgb(112, 181, 64)
HSLhsl(95, 48%, 48%)
HSVhsv(95, 65%, 71%)
CMYKcmyk(38.1%, 0%, 64.6%, 29%)
CIE-LABlab(67.17, -41.90, 51.13)
CIE-LCHlch(67.17, 66.10, 129.34°)
OKLaboklab(70.29% -0.1167 0.1177)
OKLCHoklch(70.29% 0.166 134.7)
XYZxyz(24.1309, 36.8615, 10.6930)
Luminance0.3686 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70B540 #8540B5
analogous
#AAB540 #70B540 #40B54B
triadic
#70B540 #4070B5 #B54070
tetradic
#70B540 #40AAB5 #8540B5 #B54B40
square
#70B540 #40AAB5 #8540B5 #B54B40
split-complementary
#70B540 #4B40B5 #B540AA
monochromatic
#385B20 #548830 #70B540 #90CA68 #B2DA96

Accessibility & contrast

On white

2.51
#70B540 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#70B540 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #70B540
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70B540#FFFFFF#000000##000000
##70B5401.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA731
Deuteranopia (green-blind)
#B2A14A
Tritanopia (blue-blind)
#6FAE9D
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #70b540;
/* rgb */ color: rgb(112, 181, 64);
/* oklch */ color: oklch(70.3% 0.166 134.7);
Tailwind
colors: {
  custom: {
    50: '#9ecb7a',
    500: '#70b540',
    950: '#000000',
  },
}
SCSS
$custom: #70b540;
$custom-light: #9ecb7a;
$custom-dark: #000000;
JSON
{
  "hex": "#70b540",
  "rgb": {
    "r": 112,
    "g": 181,
    "b": 64
  },
  "hsl": {
    "h": 95.385,
    "s": 47.755,
    "l": 48.039
  },
  "oklch": {
    "l": 0.70286,
    "c": 0.16575,
    "h": 134.7
  },
  "luminance": 0.36863
}

Semantic roles & 50–950 ramp

primary
#70B540
secondary
#AE8BC5
accent
#50D7A0
background
#FAFCF7
surface
#F3F8EE
border
#CDD1C9
text
#0F1309
muted
#7F827B

Preview Lab

Preview with #70B540

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

Preview Lab → · Contrast checker → · Palette generator →

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