#127F5D#127F5D

#127F5D is a mid, moderate teal. Relative luminance 0.161; OKLCH L 53.1% C 0.106 H 165.5°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#127F5D
RGBrgb(18, 127, 93)
HSLhsl(161, 75%, 28%)
HSVhsv(161, 86%, 50%)
CMYKcmyk(85.8%, 0%, 26.8%, 50.2%)
CIE-LABlab(47.10, -37.42, 10.46)
CIE-LCHlch(47.10, 38.85, 164.39°)
OKLaboklab(53.09% -0.1028 0.0267)
OKLCHoklch(53.09% 0.106 165.5)
XYZxyz(9.8135, 16.0964, 12.9435)
Luminance0.1610 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127F5D #7F1234
analogous
#127F26 #127F5D #126A7F
triadic
#127F5D #5D127F #7F5D12
tetradic
#127F5D #26127F #7F1234 #6A7F12
square
#127F5D #26127F #7F1234 #6A7F12
split-complementary
#127F5D #7F126A #7F2612
monochromatic
#041B14 #0A4936 #127F5D #1AB584 #2BE1A8

Accessibility & contrast

On white

4.98
#127F5D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#127F5D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127F5D
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127F5D#FFFFFF#000000##FFFFFF
##127F5D1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C755B
Deuteranopia (green-blind)
#6F6C5F
Tritanopia (blue-blind)
#007F76
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #127f5d;
/* rgb */ color: rgb(18, 127, 93);
/* oklch */ color: oklch(53.1% 0.106 165.5);
Tailwind
colors: {
  custom: {
    50: '#66a58b',
    500: '#127f5d',
    950: '#000000',
  },
}
SCSS
$custom: #127f5d;
$custom-light: #66a58b;
$custom-dark: #000000;
JSON
{
  "hex": "#127f5d",
  "rgb": {
    "r": 18,
    "g": 127,
    "b": 93
  },
  "hsl": {
    "h": 161.284,
    "s": 75.172,
    "l": 28.431
  },
  "oklch": {
    "l": 0.53089,
    "c": 0.10622,
    "h": 165.5
  },
  "luminance": 0.16098
}

Semantic roles & 50–950 ramp

primary
#127F5D
secondary
#B5385F
accent
#3671F2
background
#F6FAF8
surface
#EBF4F0
border
#C6CECB
text
#070F0C
muted
#7A7F7D

Preview Lab

Preview with #127F5D

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

Preview Lab → · Contrast checker → · Palette generator →

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