#127F52#127F52

#127F52 is a mid, moderate teal. Relative luminance 0.159; OKLCH L 52.8% C 0.116 H 159.0°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#127F52
RGBrgb(18, 127, 82)
HSLhsl(155, 75%, 28%)
HSVhsv(155, 86%, 50%)
CMYKcmyk(85.8%, 0%, 35.4%, 50.2%)
CIE-LABlab(46.86, -40.06, 16.50)
CIE-LCHlch(46.86, 43.32, 157.62°)
OKLaboklab(52.82% -0.1085 0.0416)
OKLCHoklch(52.82% 0.116 159)
XYZxyz(9.3608, 15.9154, 10.5596)
Luminance0.1592 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127F52 #7F123F
analogous
#127F1B #127F52 #12757F
triadic
#127F52 #52127F #7F5212
tetradic
#127F52 #1B127F #7F123F #757F12
square
#127F52 #1B127F #7F123F #757F12
split-complementary
#127F52 #7F1275 #7F1B12
monochromatic
#041B11 #0A492F #127F52 #1AB575 #2BE196

Accessibility & contrast

On white

5.02
#127F52 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#127F52 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127F52
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127F52#FFFFFF#000000##FFFFFF
##127F521.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E744F
Deuteranopia (green-blind)
#716B55
Tritanopia (blue-blind)
#007E73
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #127f52;
/* rgb */ color: rgb(18, 127, 82);
/* oklch */ color: oklch(52.8% 0.116 159.0);
Tailwind
colors: {
  custom: {
    50: '#66a583',
    500: '#127f52',
    950: '#000000',
  },
}
SCSS
$custom: #127f52;
$custom-light: #66a583;
$custom-dark: #000000;
JSON
{
  "hex": "#127f52",
  "rgb": {
    "r": 18,
    "g": 127,
    "b": 82
  },
  "hsl": {
    "h": 155.229,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.52815,
    "c": 0.11616,
    "h": 159
  },
  "luminance": 0.15917
}

Semantic roles & 50–950 ramp

primary
#127F52
secondary
#B5386C
accent
#3684F2
background
#F6FAF8
surface
#EBF4EF
border
#C6CECA
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #127F52

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

Preview Lab → · Contrast checker → · Palette generator →

#127F52 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva