#128C13#128C13

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

Color values

HEX#128C13
RGBrgb(18, 140, 19)
HSLhsl(120, 77%, 31%)
HSVhsv(120, 87%, 55%)
CMYKcmyk(87.1%, 0%, 86.4%, 45.1%)
CIE-LABlab(50.61, -53.08, 49.73)
CIE-LCHlch(50.61, 72.74, 136.87°)
OKLaboklab(55.69% -0.144 0.1097)
OKLCHoklch(55.69% 0.181 142.7)
XYZxyz(9.7444, 18.9306, 3.7564)
Luminance0.1893 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#128C13 #8C128B
analogous
#4E8C12 #128C13 #128C50
triadic
#128C13 #13128C #8C1312
tetradic
#128C13 #124E8C #8C128B #8C5012
square
#128C13 #124E8C #8C128B #8C5012
split-complementary
#128C13 #50128C #8C124E
monochromatic
#042004 #0B560C #128C13 #19C21A #34E535

Accessibility & contrast

On white

4.39
#128C13 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##128C13#FFFFFF#000000##000000
##128C131.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #128c13;
/* rgb */ color: rgb(18, 140, 19);
/* oklch */ color: oklch(55.7% 0.181 142.7);
Tailwind
colors: {
  custom: {
    50: '#6caf5e',
    500: '#128c13',
    950: '#000000',
  },
}
SCSS
$custom: #128c13;
$custom-light: #6caf5e;
$custom-dark: #000000;
JSON
{
  "hex": "#128c13",
  "rgb": {
    "r": 18,
    "g": 140,
    "b": 19
  },
  "hsl": {
    "h": 120.492,
    "s": 77.215,
    "l": 30.98
  },
  "oklch": {
    "l": 0.55694,
    "c": 0.18101,
    "h": 142.7
  },
  "luminance": 0.18932
}

Semantic roles & 50–950 ramp

primary
#128C13
secondary
#C039BF
accent
#34F2F4
background
#F7FAF5
surface
#EDF5EA
border
#C8CFC6
text
#081005
muted
#7B7F79

Preview Lab

Preview with #128C13

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

Preview Lab → · Contrast checker → · Palette generator →

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