#128C18#128C18

#128C18 is a mid, vivid green. Relative luminance 0.190; OKLCH L 55.7% C 0.179 H 143.1°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#128C18
RGBrgb(18, 140, 24)
HSLhsl(123, 77%, 31%)
HSVhsv(123, 87%, 55%)
CMYKcmyk(87.1%, 0%, 82.9%, 45.1%)
CIE-LABlab(50.63, -52.80, 48.36)
CIE-LCHlch(50.63, 71.60, 137.51°)
OKLaboklab(55.72% -0.1431 0.1075)
OKLCHoklch(55.72% 0.179 143.1)
XYZxyz(9.7918, 18.9495, 4.0055)
Luminance0.1895 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#128C18 #8C1286
analogous
#498C12 #128C18 #128C55
triadic
#128C18 #18128C #8C1812
tetradic
#128C18 #12498C #8C1286 #8C5512
square
#128C18 #12498C #8C1286 #8C5512
split-complementary
#128C18 #55128C #8C1249
monochromatic
#042005 #0B560F #128C18 #19C221 #34E53C

Accessibility & contrast

On white

4.38
#128C18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#128C18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #128C18
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##128C18#FFFFFF#000000##000000
##128C181.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#837527
Tritanopia (blue-blind)
#008877
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #128c18;
/* rgb */ color: rgb(18, 140, 24);
/* oklch */ color: oklch(55.7% 0.179 143.1);
Tailwind
colors: {
  custom: {
    50: '#6caf60',
    500: '#128c18',
    950: '#000000',
  },
}
SCSS
$custom: #128c18;
$custom-light: #6caf60;
$custom-dark: #000000;
JSON
{
  "hex": "#128c18",
  "rgb": {
    "r": 18,
    "g": 140,
    "b": 24
  },
  "hsl": {
    "h": 122.951,
    "s": 77.215,
    "l": 30.98
  },
  "oklch": {
    "l": 0.55719,
    "c": 0.17894,
    "h": 143.1
  },
  "luminance": 0.18951
}

Semantic roles & 50–950 ramp

primary
#128C18
secondary
#C039BA
accent
#34EAF4
background
#F7FAF5
surface
#EDF5EA
border
#C8CFC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #128C18

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

Preview Lab → · Contrast checker → · Palette generator →

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