#128020#128020

#128020 is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.3% C 0.161 H 144.1°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#128020
RGBrgb(18, 128, 32)
HSLhsl(128, 75%, 29%)
HSVhsv(128, 86%, 50%)
CMYKcmyk(85.9%, 0%, 75%, 49.8%)
CIE-LABlab(46.54, -48.37, 41.58)
CIE-LCHlch(46.54, 63.78, 139.32°)
OKLaboklab(52.33% -0.1307 0.0945)
OKLCHoklch(52.33% 0.161 144.1)
XYZxyz(8.2288, 15.6702, 3.9572)
Luminance0.1567 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#128020 #801272
analogous
#3B8012 #128020 #128057
triadic
#128020 #201280 #802012
tetradic
#128020 #123B80 #801272 #805712
square
#128020 #123B80 #801272 #805712
split-complementary
#128020 #571280 #80123B
monochromatic
#041B07 #0A4A13 #128020 #1AB62D #2BE142

Accessibility & contrast

On white

5.08
#128020 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#128020 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #128020
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##128020#FFFFFF#000000##FFFFFF
##1280201.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83730F
Deuteranopia (green-blind)
#776B2A
Tritanopia (blue-blind)
#007C6D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #128020;
/* rgb */ color: rgb(18, 128, 32);
/* oklch */ color: oklch(52.3% 0.161 144.1);
Tailwind
colors: {
  custom: {
    50: '#68a662',
    500: '#128020',
    950: '#000000',
  },
}
SCSS
$custom: #128020;
$custom-light: #68a662;
$custom-dark: #000000;
JSON
{
  "hex": "#128020",
  "rgb": {
    "r": 18,
    "g": 128,
    "b": 32
  },
  "hsl": {
    "h": 127.636,
    "s": 75.342,
    "l": 28.627
  },
  "oklch": {
    "l": 0.52329,
    "c": 0.16124,
    "h": 144.1
  },
  "luminance": 0.15671
}

Semantic roles & 50–950 ramp

primary
#128020
secondary
#B638A6
accent
#36DAF2
background
#F6FAF6
surface
#ECF4EB
border
#C7CEC6
text
#070F05
muted
#7A7F7A

Preview Lab

Preview with #128020

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

Preview Lab → · Contrast checker → · Palette generator →

#128020 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva