#128A21#128A21

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

Color values

HEX#128A21
RGBrgb(18, 138, 33)
HSLhsl(128, 77%, 31%)
HSVhsv(128, 87%, 54%)
CMYKcmyk(87%, 0%, 76.1%, 45.9%)
CIE-LABlab(49.99, -51.51, 44.71)
CIE-LCHlch(49.99, 68.21, 139.05°)
OKLaboklab(55.21% -0.1392 0.1011)
OKLCHoklch(55.21% 0.172 144)
XYZxyz(9.6118, 18.4142, 4.4863)
Luminance0.1842 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#128A21 #8A127B
analogous
#3F8A12 #128A21 #128A5D
triadic
#128A21 #21128A #8A2112
tetradic
#128A21 #123F8A #8A127B #8A5D12
square
#128A21 #123F8A #8A127B #8A5D12
split-complementary
#128A21 #5D128A #8A123F
monochromatic
#041E07 #0B5414 #128A21 #19C02E #32E448

Accessibility & contrast

On white

4.48
#128A21 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##128A21#FFFFFF#000000##000000
##128A211.004.484.684.68
#FFFFFF4.481.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #128a21;
/* rgb */ color: rgb(18, 138, 33);
/* oklch */ color: oklch(55.2% 0.172 144.0);
Tailwind
colors: {
  custom: {
    50: '#6bad64',
    500: '#128a21',
    950: '#000000',
  },
}
SCSS
$custom: #128a21;
$custom-light: #6bad64;
$custom-dark: #000000;
JSON
{
  "hex": "#128a21",
  "rgb": {
    "r": 18,
    "g": 138,
    "b": 33
  },
  "hsl": {
    "h": 127.5,
    "s": 76.923,
    "l": 30.588
  },
  "oklch": {
    "l": 0.55208,
    "c": 0.17204,
    "h": 144
  },
  "luminance": 0.18415
}

Semantic roles & 50–950 ramp

primary
#128A21
secondary
#BF39AE
accent
#34DCF3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081006
muted
#7B7F7A

Preview Lab

Preview with #128A21

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

Preview Lab → · Contrast checker → · Palette generator →

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