#127257#127257

#127257 is a mid, moderate teal. Relative luminance 0.129; OKLCH L 49.3% C 0.094 H 168.2°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#127257
RGBrgb(18, 114, 87)
HSLhsl(163, 73%, 26%)
HSVhsv(163, 84%, 45%)
CMYKcmyk(84.2%, 0%, 23.7%, 55.3%)
CIE-LABlab(42.54, -33.32, 7.57)
CIE-LCHlch(42.54, 34.17, 167.20°)
OKLaboklab(49.29% -0.0923 0.0193)
OKLCHoklch(49.29% 0.094 168.2)
XYZxyz(7.9861, 12.8503, 11.0744)
Luminance0.1285 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127257 #72122D
analogous
#127227 #127257 #125D72
triadic
#127257 #571272 #725712
tetradic
#127257 #271272 #72122D #5D7212
square
#127257 #271272 #72122D #5D7212
split-complementary
#127257 #72125D #722712
monochromatic
#041A14 #0A3D2F #127257 #1AA77F #23DCA8

Accessibility & contrast

On white

5.88
#127257 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#127257 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127257
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127257#FFFFFF#000000##FFFFFF
##1272571.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6956
Deuteranopia (green-blind)
#636159
Tritanopia (blue-blind)
#00736A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #127257;
/* rgb */ color: rgb(18, 114, 87);
/* oklch */ color: oklch(49.3% 0.094 168.2);
Tailwind
colors: {
  custom: {
    50: '#639b86',
    500: '#127257',
    950: '#000000',
  },
}
SCSS
$custom: #127257;
$custom-light: #639b86;
$custom-dark: #000000;
JSON
{
  "hex": "#127257",
  "rgb": {
    "r": 18,
    "g": 114,
    "b": 87
  },
  "hsl": {
    "h": 163.125,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.4929,
    "c": 0.0943,
    "h": 168.2
  },
  "luminance": 0.12851
}

Semantic roles & 50–950 ramp

primary
#127257
secondary
#A93757
accent
#386CEF
background
#F6F9F8
surface
#EBF2EF
border
#C6CCCA
text
#060E0B
muted
#7A7E7C

Preview Lab

Preview with #127257

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

Preview Lab → · Contrast checker → · Palette generator →

#127257 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva