#128F4F#128F4F

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

Color values

HEX#128F4F
RGBrgb(18, 143, 79)
HSLhsl(149, 78%, 32%)
HSVhsv(149, 87%, 56%)
CMYKcmyk(87.4%, 0%, 44.8%, 43.9%)
CIE-LABlab(52.22, -46.86, 25.27)
CIE-LCHlch(52.22, 53.24, 151.66°)
OKLaboklab(57.22% -0.1258 0.0624)
OKLCHoklch(57.22% 0.14 153.6)
XYZxyz(11.4821, 20.3366, 10.7158)
Luminance0.2034 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#128F4F #8F1252
analogous
#148F12 #128F4F #128F8E
triadic
#128F4F #4F128F #8F4F12
tetradic
#128F4F #12148F #8F1252 #8F8E12
square
#128F4F #12148F #8F1252 #8F8E12
split-complementary
#128F4F #8E128F #8F1214
monochromatic
#042213 #0B5931 #128F4F #19C56D #36E68C

Accessibility & contrast

On white

4.14
#128F4F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#128F4F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #128F4F
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##128F4F#FFFFFF#000000##000000
##128F4F1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F824A
Deuteranopia (green-blind)
#817953
Tritanopia (blue-blind)
#008D7F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #128f4f;
/* rgb */ color: rgb(18, 143, 79);
/* oklch */ color: oklch(57.2% 0.140 153.6);
Tailwind
colors: {
  custom: {
    50: '#6ab181',
    500: '#128f4f',
    950: '#000000',
  },
}
SCSS
$custom: #128f4f;
$custom-light: #6ab181;
$custom-dark: #000000;
JSON
{
  "hex": "#128f4f",
  "rgb": {
    "r": 18,
    "g": 143,
    "b": 79
  },
  "hsl": {
    "h": 149.28,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.57222,
    "c": 0.14047,
    "h": 153.6
  },
  "luminance": 0.20338
}

Semantic roles & 50–950 ramp

primary
#128F4F
secondary
#C33A80
accent
#3496F4
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#08110A
muted
#7B807C

Preview Lab

Preview with #128F4F

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

Preview Lab → · Contrast checker → · Palette generator →

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