#128F4A#128F4A

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

Color values

HEX#128F4A
RGBrgb(18, 143, 74)
HSLhsl(147, 78%, 32%)
HSVhsv(147, 87%, 56%)
CMYKcmyk(87.4%, 0%, 48.3%, 43.9%)
CIE-LABlab(52.14, -47.79, 27.87)
CIE-LCHlch(52.14, 55.32, 149.75°)
OKLaboklab(57.13% -0.1282 0.0682)
OKLCHoklch(57.13% 0.145 152)
XYZxyz(11.3069, 20.2665, 9.7931)
Luminance0.2027 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#128F4A #8F1257
analogous
#198F12 #128F4A #128F89
triadic
#128F4A #4A128F #8F4A12
tetradic
#128F4A #12198F #8F1257 #8F8912
square
#128F4A #12198F #8F1257 #8F8912
split-complementary
#128F4A #89128F #8F1219
monochromatic
#042212 #0B592E #128F4A #19C566 #36E685

Accessibility & contrast

On white

4.16
#128F4A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#128F4A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #128F4A
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##128F4A#FFFFFF#000000##000000
##128F4A1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8245
Deuteranopia (green-blind)
#82794F
Tritanopia (blue-blind)
#008D7F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #128f4a;
/* rgb */ color: rgb(18, 143, 74);
/* oklch */ color: oklch(57.1% 0.145 152.0);
Tailwind
colors: {
  custom: {
    50: '#6ab17d',
    500: '#128f4a',
    950: '#000000',
  },
}
SCSS
$custom: #128f4a;
$custom-light: #6ab17d;
$custom-dark: #000000;
JSON
{
  "hex": "#128f4a",
  "rgb": {
    "r": 18,
    "g": 143,
    "b": 74
  },
  "hsl": {
    "h": 146.88,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.57132,
    "c": 0.1452,
    "h": 152
  },
  "luminance": 0.20268
}

Semantic roles & 50–950 ramp

primary
#128F4A
secondary
#C33A86
accent
#349EF4
background
#F7FBF7
surface
#EDF6EE
border
#C8D0C9
text
#08110A
muted
#7B807C

Preview Lab

Preview with #128F4A

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

Preview Lab → · Contrast checker → · Palette generator →

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