#128F4B#128F4B

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

Color values

HEX#128F4B
RGBrgb(18, 143, 75)
HSLhsl(147, 78%, 32%)
HSVhsv(147, 87%, 56%)
CMYKcmyk(87.4%, 0%, 47.6%, 43.9%)
CIE-LABlab(52.15, -47.61, 27.35)
CIE-LCHlch(52.15, 54.91, 150.12°)
OKLaboklab(57.15% -0.1277 0.0671)
OKLCHoklch(57.15% 0.144 152.3)
XYZxyz(11.3409, 20.2801, 9.9720)
Luminance0.2028 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#128F4B #8F1256
analogous
#188F12 #128F4B #128F8A
triadic
#128F4B #4B128F #8F4B12
tetradic
#128F4B #12188F #8F1256 #8F8A12
square
#128F4B #12188F #8F1256 #8F8A12
split-complementary
#128F4B #8A128F #8F1218
monochromatic
#042212 #0B592E #128F4B #19C568 #36E686

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##128F4B#FFFFFF#000000##000000
##128F4B1.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)
#8F8246
Deuteranopia (green-blind)
#827950
Tritanopia (blue-blind)
#008D7F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #128f4b;
/* rgb */ color: rgb(18, 143, 75);
/* oklch */ color: oklch(57.1% 0.144 152.3);
Tailwind
colors: {
  custom: {
    50: '#6ab17e',
    500: '#128f4b',
    950: '#000000',
  },
}
SCSS
$custom: #128f4b;
$custom-light: #6ab17e;
$custom-dark: #000000;
JSON
{
  "hex": "#128f4b",
  "rgb": {
    "r": 18,
    "g": 143,
    "b": 75
  },
  "hsl": {
    "h": 147.36,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.57149,
    "c": 0.14426,
    "h": 152.3
  },
  "luminance": 0.20282
}

Semantic roles & 50–950 ramp

primary
#128F4B
secondary
#C33A84
accent
#349CF4
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#08110A
muted
#7B807C

Preview Lab

Preview with #128F4B

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

Preview Lab → · Contrast checker → · Palette generator →

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