#127B4D#127B4D

#127B4D is a mid, moderate teal. Relative luminance 0.148; OKLCH L 51.6% C 0.115 H 157.8°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#127B4D
RGBrgb(18, 123, 77)
HSLhsl(154, 74%, 28%)
HSVhsv(154, 85%, 48%)
CMYKcmyk(85.4%, 0%, 37.4%, 51.8%)
CIE-LABlab(45.40, -39.57, 17.39)
CIE-LCHlch(45.40, 43.22, 156.27°)
OKLaboklab(51.58% -0.1069 0.0437)
OKLCHoklch(51.58% 0.115 157.8)
XYZxyz(8.6711, 14.8292, 9.4251)
Luminance0.1483 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127B4D #7B1240
analogous
#127B18 #127B4D #12757B
triadic
#127B4D #4D127B #7B4D12
tetradic
#127B4D #18127B #7B1240 #757B12
square
#127B4D #18127B #7B1240 #757B12
split-complementary
#127B4D #7B1275 #7B1812
monochromatic
#041B11 #0A462C #127B4D #1AB06E #28E08F

Accessibility & contrast

On white

5.30
#127B4D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#127B4D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127B4D
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127B4D#FFFFFF#000000##FFFFFF
##127B4D1.005.303.975.30
#FFFFFF5.301.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A714A
Deuteranopia (green-blind)
#6E6850
Tritanopia (blue-blind)
#007A6F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #127b4d;
/* rgb */ color: rgb(18, 123, 77);
/* oklch */ color: oklch(51.6% 0.115 157.8);
Tailwind
colors: {
  custom: {
    50: '#65a27f',
    500: '#127b4d',
    950: '#000000',
  },
}
SCSS
$custom: #127b4d;
$custom-light: #65a27f;
$custom-dark: #000000;
JSON
{
  "hex": "#127b4d",
  "rgb": {
    "r": 18,
    "g": 123,
    "b": 77
  },
  "hsl": {
    "h": 153.714,
    "s": 74.468,
    "l": 27.647
  },
  "oklch": {
    "l": 0.51575,
    "c": 0.11549,
    "h": 157.8
  },
  "luminance": 0.1483
}

Semantic roles & 50–950 ramp

primary
#127B4D
secondary
#B1386D
accent
#3788F1
background
#F6FAF7
surface
#EBF4EE
border
#C6CEC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #127B4D

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

Preview Lab → · Contrast checker → · Palette generator →

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