#127E4B#127E4B

#127E4B is a mid, vivid teal. Relative luminance 0.156; OKLCH L 52.4% C 0.122 H 155.9°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#127E4B
RGBrgb(18, 126, 75)
HSLhsl(152, 75%, 28%)
HSVhsv(152, 86%, 49%)
CMYKcmyk(85.7%, 0%, 40.5%, 50.6%)
CIE-LABlab(46.39, -41.19, 19.85)
CIE-LCHlch(46.39, 45.73, 154.27°)
OKLaboklab(52.38% -0.111 0.0496)
OKLCHoklch(52.38% 0.122 155.9)
XYZxyz(8.9794, 15.5572, 9.1848)
Luminance0.1556 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127E4B #7E1245
analogous
#127E15 #127E4B #127B7E
triadic
#127E4B #4B127E #7E4B12
tetradic
#127E4B #15127E #7E1245 #7B7E12
square
#127E4B #15127E #7E1245 #7B7E12
split-complementary
#127E4B #7E127B #7E1512
monochromatic
#041B10 #0A482B #127E4B #1AB46B #2AE18A

Accessibility & contrast

On white

5.11
#127E4B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#127E4B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127E4B
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127E4B#FFFFFF#000000##FFFFFF
##127E4B1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D7348
Deuteranopia (green-blind)
#716A4E
Tritanopia (blue-blind)
#007D71
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #127e4b;
/* rgb */ color: rgb(18, 126, 75);
/* oklch */ color: oklch(52.4% 0.122 155.9);
Tailwind
colors: {
  custom: {
    50: '#66a47d',
    500: '#127e4b',
    950: '#000000',
  },
}
SCSS
$custom: #127e4b;
$custom-light: #66a47d;
$custom-dark: #000000;
JSON
{
  "hex": "#127e4b",
  "rgb": {
    "r": 18,
    "g": 126,
    "b": 75
  },
  "hsl": {
    "h": 151.667,
    "s": 75,
    "l": 28.235
  },
  "oklch": {
    "l": 0.52379,
    "c": 0.12153,
    "h": 155.9
  },
  "luminance": 0.15558
}

Semantic roles & 50–950 ramp

primary
#127E4B
secondary
#B43872
accent
#368FF2
background
#F6FAF7
surface
#EBF4EE
border
#C6CEC9
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #127E4B

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

Preview Lab → · Contrast checker → · Palette generator →

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