#128F5F#128F5F

#128F5F is a mid, vivid teal. Relative luminance 0.206; OKLCH L 57.6% C 0.125 H 160.2°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#128F5F
RGBrgb(18, 143, 95)
HSLhsl(157, 78%, 32%)
HSVhsv(157, 87%, 56%)
CMYKcmyk(87.4%, 0%, 33.6%, 43.9%)
CIE-LABlab(52.51, -43.51, 16.79)
CIE-LCHlch(52.51, 46.64, 158.90°)
OKLaboklab(57.56% -0.118 0.0424)
OKLCHoklch(57.56% 0.125 160.2)
XYZxyz(12.1361, 20.5982, 14.1605)
Luminance0.2060 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#128F5F #8F1242
analogous
#128F21 #128F5F #12818F
triadic
#128F5F #5F128F #8F5F12
tetradic
#128F5F #21128F #8F1242 #818F12
square
#128F5F #21128F #8F1242 #818F12
split-complementary
#128F5F #8F1281 #8F2112
monochromatic
#042217 #0B593B #128F5F #19C583 #36E6A2

Accessibility & contrast

On white

4.10
#128F5F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#128F5F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #128F5F
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##128F5F#FFFFFF#000000##000000
##128F5F1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D835C
Deuteranopia (green-blind)
#7F7962
Tritanopia (blue-blind)
#008E82
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #128f5f;
/* rgb */ color: rgb(18, 143, 95);
/* oklch */ color: oklch(57.6% 0.125 160.2);
Tailwind
colors: {
  custom: {
    50: '#6ab18c',
    500: '#128f5f',
    950: '#000000',
  },
}
SCSS
$custom: #128f5f;
$custom-light: #6ab18c;
$custom-dark: #000000;
JSON
{
  "hex": "#128f5f",
  "rgb": {
    "r": 18,
    "g": 143,
    "b": 95
  },
  "hsl": {
    "h": 156.96,
    "s": 77.64,
    "l": 31.569
  },
  "oklch": {
    "l": 0.57559,
    "c": 0.12541,
    "h": 160.2
  },
  "luminance": 0.206
}

Semantic roles & 50–950 ramp

primary
#128F5F
secondary
#C33A6E
accent
#347EF4
background
#F7FBF8
surface
#EDF6F0
border
#C8D0CB
text
#08110C
muted
#7B807D

Preview Lab

Preview with #128F5F

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

Preview Lab → · Contrast checker → · Palette generator →

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