#70A228#70A228

#70A228 is a light, vivid yellow-green. Relative luminance 0.294; OKLCH L 65.3% C 0.157 H 129.7°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).

Color values

HEX#70A228
RGBrgb(112, 162, 40)
HSLhsl(85, 60%, 40%)
HSVhsv(85, 75%, 64%)
CMYKcmyk(30.9%, 0%, 75.3%, 36.5%)
CIE-LABlab(61.17, -35.29, 54.34)
CIE-LCHlch(61.17, 64.79, 123.00°)
OKLaboklab(65.33% -0.1005 0.1211)
OKLCHoklch(65.33% 0.157 129.7)
XYZxyz(19.9853, 29.4380, 6.6362)
Luminance0.2944 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#70A228 #5A28A2
analogous
#A29728 #70A228 #33A228
triadic
#70A228 #2870A2 #A22870
tetradic
#70A228 #28A297 #5A28A2 #A22833
square
#70A228 #28A297 #5A28A2 #A22833
split-complementary
#70A228 #2833A2 #9728A2
monochromatic
#2C4010 #4E711C #70A228 #91CE39 #ACDA6A

Accessibility & contrast

On white

3.05
#70A228 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.89
#70A228 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #70A228
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##70A228#FFFFFF#000000##000000
##70A2281.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA960E
Deuteranopia (green-blind)
#A39234
Tritanopia (blue-blind)
#739B8B
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #70a228;
/* rgb */ color: rgb(112, 162, 40);
/* oklch */ color: oklch(65.3% 0.157 129.7);
Tailwind
colors: {
  custom: {
    50: '#9dbe6b',
    500: '#70a228',
    950: '#000000',
  },
}
SCSS
$custom: #70a228;
$custom-light: #9dbe6b;
$custom-dark: #000000;
JSON
{
  "hex": "#70a228",
  "rgb": {
    "r": 112,
    "g": 162,
    "b": 40
  },
  "hsl": {
    "h": 84.59,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.65332,
    "c": 0.15742,
    "h": 129.7
  },
  "luminance": 0.29439
}

Semantic roles & 50–950 ramp

primary
#70A228
secondary
#8B65C1
accent
#44E486
background
#FAFBF6
surface
#F3F6EC
border
#CDD0C7
text
#0F1207
muted
#7F817A

Preview Lab

Preview with #70A228

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

Preview Lab → · Contrast checker → · Palette generator →

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