#128A1D#128A1D

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

Color values

HEX#128A1D
RGBrgb(18, 138, 29)
HSLhsl(126, 77%, 31%)
HSVhsv(126, 87%, 54%)
CMYKcmyk(87%, 0%, 79%, 45.9%)
CIE-LABlab(49.97, -51.83, 46.12)
CIE-LCHlch(49.97, 69.38, 138.34°)
OKLaboklab(55.18% -0.1402 0.1035)
OKLCHoklch(55.18% 0.174 143.6)
XYZxyz(9.5591, 18.3931, 4.2086)
Luminance0.1839 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#128A1D #8A127F
analogous
#438A12 #128A1D #128A59
triadic
#128A1D #1D128A #8A1D12
tetradic
#128A1D #12438A #8A127F #8A5912
square
#128A1D #12438A #8A127F #8A5912
split-complementary
#128A1D #59128A #8A1243
monochromatic
#041E06 #0B5412 #128A1D #19C028 #32E442

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##128A1D#FFFFFF#000000##000000
##128A1D1.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)
#8D7C02
Deuteranopia (green-blind)
#81742A
Tritanopia (blue-blind)
#008675
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #128a1d;
/* rgb */ color: rgb(18, 138, 29);
/* oklch */ color: oklch(55.2% 0.174 143.6);
Tailwind
colors: {
  custom: {
    50: '#6bad62',
    500: '#128a1d',
    950: '#000000',
  },
}
SCSS
$custom: #128a1d;
$custom-light: #6bad62;
$custom-dark: #000000;
JSON
{
  "hex": "#128a1d",
  "rgb": {
    "r": 18,
    "g": 138,
    "b": 29
  },
  "hsl": {
    "h": 125.5,
    "s": 76.923,
    "l": 30.588
  },
  "oklch": {
    "l": 0.55179,
    "c": 0.1743,
    "h": 143.6
  },
  "luminance": 0.18394
}

Semantic roles & 50–950 ramp

primary
#128A1D
secondary
#BF39B2
accent
#34E2F3
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #128A1D

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

Preview Lab → · Contrast checker → · Palette generator →

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