#127D51#127D51

#127D51 is a mid, moderate teal. Relative luminance 0.154; OKLCH L 52.2% C 0.114 H 159.2°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#127D51
RGBrgb(18, 125, 81)
HSLhsl(155, 75%, 28%)
HSVhsv(155, 86%, 49%)
CMYKcmyk(85.6%, 0%, 35.2%, 51%)
CIE-LABlab(46.16, -39.48, 16.12)
CIE-LCHlch(46.16, 42.64, 157.79°)
OKLaboklab(52.23% -0.1069 0.0407)
OKLCHoklch(52.23% 0.114 159.2)
XYZxyz(9.0673, 15.3888, 10.2754)
Luminance0.1539 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127D51 #7D123E
analogous
#127D1B #127D51 #12737D
triadic
#127D51 #51127D #7D5112
tetradic
#127D51 #1B127D #7D123E #737D12
square
#127D51 #1B127D #7D123E #737D12
split-complementary
#127D51 #7D1273 #7D1B12
monochromatic
#041B11 #0A482E #127D51 #1AB274 #29E095

Accessibility & contrast

On white

5.15
#127D51 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#127D51 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127D51
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127D51#FFFFFF#000000##FFFFFF
##127D511.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C734E
Deuteranopia (green-blind)
#6F6A54
Tritanopia (blue-blind)
#007C72
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #127d51;
/* rgb */ color: rgb(18, 125, 81);
/* oklch */ color: oklch(52.2% 0.114 159.2);
Tailwind
colors: {
  custom: {
    50: '#66a382',
    500: '#127d51',
    950: '#000000',
  },
}
SCSS
$custom: #127d51;
$custom-light: #66a382;
$custom-dark: #000000;
JSON
{
  "hex": "#127d51",
  "rgb": {
    "r": 18,
    "g": 125,
    "b": 81
  },
  "hsl": {
    "h": 155.327,
    "s": 74.825,
    "l": 28.039
  },
  "oklch": {
    "l": 0.5223,
    "c": 0.11439,
    "h": 159.2
  },
  "luminance": 0.1539
}

Semantic roles & 50–950 ramp

primary
#127D51
secondary
#B3386A
accent
#3683F1
background
#F6FAF7
surface
#EBF4EE
border
#C6CEC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #127D51

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

Preview Lab → · Contrast checker → · Palette generator →

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