#128F4D#128F4D

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

Color values

HEX#128F4D
RGBrgb(18, 143, 77)
HSLhsl(148, 78%, 32%)
HSVhsv(148, 87%, 56%)
CMYKcmyk(87.4%, 0%, 46.2%, 43.9%)
CIE-LABlab(52.18, -47.24, 26.32)
CIE-LCHlch(52.18, 54.07, 150.88°)
OKLaboklab(57.18% -0.1268 0.0648)
OKLCHoklch(57.18% 0.142 152.9)
XYZxyz(11.4104, 20.3079, 10.3382)
Luminance0.2031 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#128F4D #8F1254
analogous
#168F12 #128F4D #128F8C
triadic
#128F4D #4D128F #8F4D12
tetradic
#128F4D #12168F #8F1254 #8F8C12
square
#128F4D #12168F #8F1254 #8F8C12
split-complementary
#128F4D #8C128F #8F1216
monochromatic
#042212 #0B5930 #128F4D #19C56A #36E689

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##128F4D#FFFFFF#000000##000000
##128F4D1.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)
#8F8248
Deuteranopia (green-blind)
#827952
Tritanopia (blue-blind)
#008D7F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #128f4d;
/* rgb */ color: rgb(18, 143, 77);
/* oklch */ color: oklch(57.2% 0.142 152.9);
Tailwind
colors: {
  custom: {
    50: '#6ab180',
    500: '#128f4d',
    950: '#000000',
  },
}
SCSS
$custom: #128f4d;
$custom-light: #6ab180;
$custom-dark: #000000;
JSON
{
  "hex": "#128f4d",
  "rgb": {
    "r": 18,
    "g": 143,
    "b": 77
  },
  "hsl": {
    "h": 148.32,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.57185,
    "c": 0.14236,
    "h": 152.9
  },
  "luminance": 0.20309
}

Semantic roles & 50–950 ramp

primary
#128F4D
secondary
#C33A82
accent
#3499F4
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#08110A
muted
#7B807C

Preview Lab

Preview with #128F4D

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

Preview Lab → · Contrast checker → · Palette generator →

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