#127B5C#127B5C

#127B5C is a mid, moderate teal. Relative luminance 0.151; OKLCH L 51.9% C 0.102 H 166.8°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#127B5C
RGBrgb(18, 123, 92)
HSLhsl(162, 74%, 28%)
HSVhsv(162, 85%, 48%)
CMYKcmyk(85.4%, 0%, 25.2%, 51.8%)
CIE-LABlab(45.72, -35.96, 9.11)
CIE-LCHlch(45.72, 37.09, 165.79°)
OKLaboklab(51.95% -0.0992 0.0233)
OKLCHoklch(51.95% 0.102 166.8)
XYZxyz(9.2631, 15.0661, 12.5430)
Luminance0.1507 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127B5C #7B1231
analogous
#127B28 #127B5C #12657B
triadic
#127B5C #5C127B #7B5C12
tetradic
#127B5C #28127B #7B1231 #657B12
square
#127B5C #28127B #7B1231 #657B12
split-complementary
#127B5C #7B1265 #7B2812
monochromatic
#041B14 #0A4634 #127B5C #1AB084 #28E0A9

Accessibility & contrast

On white

5.23
#127B5C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#127B5C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127B5C
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127B5C#FFFFFF#000000##FFFFFF
##127B5C1.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#78725A
Deuteranopia (green-blind)
#6B695E
Tritanopia (blue-blind)
#007B72
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #127b5c;
/* rgb */ color: rgb(18, 123, 92);
/* oklch */ color: oklch(51.9% 0.102 166.8);
Tailwind
colors: {
  custom: {
    50: '#65a28a',
    500: '#127b5c',
    950: '#000000',
  },
}
SCSS
$custom: #127b5c;
$custom-light: #65a28a;
$custom-dark: #000000;
JSON
{
  "hex": "#127b5c",
  "rgb": {
    "r": 18,
    "g": 123,
    "b": 92
  },
  "hsl": {
    "h": 162.286,
    "s": 74.468,
    "l": 27.647
  },
  "oklch": {
    "l": 0.5195,
    "c": 0.10187,
    "h": 166.8
  },
  "luminance": 0.15067
}

Semantic roles & 50–950 ramp

primary
#127B5C
secondary
#B1385C
accent
#376EF1
background
#F6FAF8
surface
#EBF3F0
border
#C6CDCB
text
#070F0B
muted
#7A7F7C

Preview Lab

Preview with #127B5C

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

Preview Lab → · Contrast checker → · Palette generator →

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