#127B5E#127B5E

#127B5E is a mid, moderate teal. Relative luminance 0.151; OKLCH L 52.0% C 0.100 H 168.2°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#127B5E
RGBrgb(18, 123, 94)
HSLhsl(163, 74%, 28%)
HSVhsv(163, 85%, 48%)
CMYKcmyk(85.4%, 0%, 23.6%, 51.8%)
CIE-LABlab(45.77, -35.44, 8.00)
CIE-LCHlch(45.77, 36.33, 167.28°)
OKLaboklab(52.01% -0.0981 0.0204)
OKLCHoklch(52.01% 0.1 168.2)
XYZxyz(9.3517, 15.1015, 13.0095)
Luminance0.1510 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127B5E #7B122F
analogous
#127B2A #127B5E #12637B
triadic
#127B5E #5E127B #7B5E12
tetradic
#127B5E #2A127B #7B122F #637B12
square
#127B5E #2A127B #7B122F #637B12
split-complementary
#127B5E #7B1263 #7B2A12
monochromatic
#041B14 #0A4635 #127B5E #1AB087 #28E0AD

Accessibility & contrast

On white

5.22
#127B5E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#127B5E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127B5E
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127B5E#FFFFFF#000000##FFFFFF
##127B5E1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#78725C
Deuteranopia (green-blind)
#6B6960
Tritanopia (blue-blind)
#007C73
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #127b5e;
/* rgb */ color: rgb(18, 123, 94);
/* oklch */ color: oklch(52.0% 0.100 168.2);
Tailwind
colors: {
  custom: {
    50: '#66a28b',
    500: '#127b5e',
    950: '#000000',
  },
}
SCSS
$custom: #127b5e;
$custom-light: #66a28b;
$custom-dark: #000000;
JSON
{
  "hex": "#127b5e",
  "rgb": {
    "r": 18,
    "g": 123,
    "b": 94
  },
  "hsl": {
    "h": 163.429,
    "s": 74.468,
    "l": 27.647
  },
  "oklch": {
    "l": 0.52005,
    "c": 0.10025,
    "h": 168.2
  },
  "luminance": 0.15103
}

Semantic roles & 50–950 ramp

primary
#127B5E
secondary
#B13859
accent
#376AF1
background
#F6FAF8
surface
#EBF3F0
border
#C6CDCB
text
#070F0C
muted
#7A7F7D

Preview Lab

Preview with #127B5E

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

Preview Lab → · Contrast checker → · Palette generator →

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