#128F2C#128F2C

#128F2C is a mid, vivid green. Relative luminance 0.200; OKLCH L 56.7% C 0.171 H 145.3°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#128F2C
RGBrgb(18, 143, 44)
HSLhsl(132, 78%, 32%)
HSVhsv(132, 87%, 56%)
CMYKcmyk(87.4%, 0%, 69.2%, 43.9%)
CIE-LABlab(51.79, -52.07, 42.15)
CIE-LCHlch(51.79, 66.99, 141.01°)
OKLaboklab(56.73% -0.1403 0.0972)
OKLCHoklch(56.73% 0.171 145.3)
XYZxyz(10.5258, 19.9540, 5.6791)
Luminance0.1996 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#128F2C #8F1275
analogous
#378F12 #128F2C #128F6B
triadic
#128F2C #2C128F #8F2C12
tetradic
#128F2C #12378F #8F1275 #8F6B12
square
#128F2C #12378F #8F1275 #8F6B12
split-complementary
#128F2C #6B128F #8F1237
monochromatic
#04220B #0B591B #128F2C #19C53D #36E65A

Accessibility & contrast

On white

4.21
#128F2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#128F2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #128F2C
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##128F2C#FFFFFF#000000##000000
##128F2C1.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#91811E
Deuteranopia (green-blind)
#857835
Tritanopia (blue-blind)
#008B7B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #128f2c;
/* rgb */ color: rgb(18, 143, 44);
/* oklch */ color: oklch(56.7% 0.171 145.3);
Tailwind
colors: {
  custom: {
    50: '#6cb16a',
    500: '#128f2c',
    950: '#000000',
  },
}
SCSS
$custom: #128f2c;
$custom-light: #6cb16a;
$custom-dark: #000000;
JSON
{
  "hex": "#128f2c",
  "rgb": {
    "r": 18,
    "g": 143,
    "b": 44
  },
  "hsl": {
    "h": 132.48,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.56725,
    "c": 0.17061,
    "h": 145.3
  },
  "luminance": 0.19955
}

Semantic roles & 50–950 ramp

primary
#128F2C
secondary
#C33AA7
accent
#34CCF4
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#081107
muted
#7B807A

Preview Lab

Preview with #128F2C

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

Preview Lab → · Contrast checker → · Palette generator →

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