#128A20#128A20

#128A20 is a mid, vivid green. Relative luminance 0.184; OKLCH L 55.2% C 0.173 H 143.9°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#128A20
RGBrgb(18, 138, 32)
HSLhsl(127, 77%, 31%)
HSVhsv(127, 87%, 54%)
CMYKcmyk(87%, 0%, 76.8%, 45.9%)
CIE-LABlab(49.99, -51.59, 45.07)
CIE-LCHlch(49.99, 68.51, 138.86°)
OKLaboklab(55.2% -0.1395 0.1017)
OKLCHoklch(55.2% 0.173 143.9)
XYZxyz(9.5980, 18.4086, 4.4136)
Luminance0.1841 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#128A20 #8A127C
analogous
#408A12 #128A20 #128A5C
triadic
#128A20 #20128A #8A2012
tetradic
#128A20 #12408A #8A127C #8A5C12
square
#128A20 #12408A #8A127C #8A5C12
split-complementary
#128A20 #5C128A #8A1240
monochromatic
#041E07 #0B5413 #128A20 #19C02D #32E447

Accessibility & contrast

On white

4.49
#128A20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#128A20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #128A20
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##128A20#FFFFFF#000000##000000
##128A201.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C0A
Deuteranopia (green-blind)
#80742C
Tritanopia (blue-blind)
#008676
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #128a20;
/* rgb */ color: rgb(18, 138, 32);
/* oklch */ color: oklch(55.2% 0.173 143.9);
Tailwind
colors: {
  custom: {
    50: '#6bad63',
    500: '#128a20',
    950: '#000000',
  },
}
SCSS
$custom: #128a20;
$custom-light: #6bad63;
$custom-dark: #000000;
JSON
{
  "hex": "#128a20",
  "rgb": {
    "r": 18,
    "g": 138,
    "b": 32
  },
  "hsl": {
    "h": 127,
    "s": 76.923,
    "l": 30.588
  },
  "oklch": {
    "l": 0.55201,
    "c": 0.17263,
    "h": 143.9
  },
  "luminance": 0.1841
}

Semantic roles & 50–950 ramp

primary
#128A20
secondary
#BF39AF
accent
#34DDF3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #128A20

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

Preview Lab → · Contrast checker → · Palette generator →

#128A20 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva