#128F4C#128F4C

#128F4C is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.2% C 0.143 H 152.6°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#128F4C
RGBrgb(18, 143, 76)
HSLhsl(148, 78%, 32%)
HSVhsv(148, 87%, 56%)
CMYKcmyk(87.4%, 0%, 46.9%, 43.9%)
CIE-LABlab(52.17, -47.42, 26.84)
CIE-LCHlch(52.17, 54.49, 150.50°)
OKLaboklab(57.17% -0.1272 0.0659)
OKLCHoklch(57.17% 0.143 152.6)
XYZxyz(11.3753, 20.2939, 10.1537)
Luminance0.2029 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#128F4C #8F1255
analogous
#178F12 #128F4C #128F8B
triadic
#128F4C #4C128F #8F4C12
tetradic
#128F4C #12178F #8F1255 #8F8B12
square
#128F4C #12178F #8F1255 #8F8B12
split-complementary
#128F4C #8B128F #8F1217
monochromatic
#042212 #0B592F #128F4C #19C569 #36E687

Accessibility & contrast

On white

4.15
#128F4C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#128F4C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #128F4C
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##128F4C#FFFFFF#000000##000000
##128F4C1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8247
Deuteranopia (green-blind)
#827951
Tritanopia (blue-blind)
#008D7F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #128f4c;
/* rgb */ color: rgb(18, 143, 76);
/* oklch */ color: oklch(57.2% 0.143 152.6);
Tailwind
colors: {
  custom: {
    50: '#6ab17f',
    500: '#128f4c',
    950: '#000000',
  },
}
SCSS
$custom: #128f4c;
$custom-light: #6ab17f;
$custom-dark: #000000;
JSON
{
  "hex": "#128f4c",
  "rgb": {
    "r": 18,
    "g": 143,
    "b": 76
  },
  "hsl": {
    "h": 147.84,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.57167,
    "c": 0.14331,
    "h": 152.6
  },
  "luminance": 0.20295
}

Semantic roles & 50–950 ramp

primary
#128F4C
secondary
#C33A83
accent
#349BF4
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#08110A
muted
#7B807C

Preview Lab

Preview with #128F4C

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

Preview Lab → · Contrast checker → · Palette generator →

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