#127B54#127B54

#127B54 is a mid, moderate teal. Relative luminance 0.149; OKLCH L 51.7% C 0.109 H 161.6°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#127B54
RGBrgb(18, 123, 84)
HSLhsl(158, 74%, 28%)
HSVhsv(158, 85%, 48%)
CMYKcmyk(85.4%, 0%, 31.7%, 51.8%)
CIE-LABlab(45.54, -37.95, 13.54)
CIE-LCHlch(45.54, 40.29, 160.37°)
OKLaboklab(51.74% -0.1033 0.0343)
OKLCHoklch(51.74% 0.109 161.6)
XYZxyz(8.9317, 14.9335, 10.7975)
Luminance0.1494 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127B54 #7B1239
analogous
#127B1F #127B54 #126E7B
triadic
#127B54 #54127B #7B5412
tetradic
#127B54 #1F127B #7B1239 #6E7B12
square
#127B54 #1F127B #7B1239 #6E7B12
split-complementary
#127B54 #7B126E #7B1F12
monochromatic
#041B12 #0A4630 #127B54 #1AB078 #28E09B

Accessibility & contrast

On white

5.27
#127B54 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#127B54 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127B54
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127B54#FFFFFF#000000##FFFFFF
##127B541.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#797152
Deuteranopia (green-blind)
#6D6857
Tritanopia (blue-blind)
#007B71
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #127b54;
/* rgb */ color: rgb(18, 123, 84);
/* oklch */ color: oklch(51.7% 0.109 161.6);
Tailwind
colors: {
  custom: {
    50: '#65a284',
    500: '#127b54',
    950: '#000000',
  },
}
SCSS
$custom: #127b54;
$custom-light: #65a284;
$custom-dark: #000000;
JSON
{
  "hex": "#127b54",
  "rgb": {
    "r": 18,
    "g": 123,
    "b": 84
  },
  "hsl": {
    "h": 157.714,
    "s": 74.468,
    "l": 27.647
  },
  "oklch": {
    "l": 0.5174,
    "c": 0.10888,
    "h": 161.6
  },
  "luminance": 0.14935
}

Semantic roles & 50–950 ramp

primary
#127B54
secondary
#B13865
accent
#377CF1
background
#F6FAF8
surface
#EBF4EF
border
#C6CECA
text
#070F0B
muted
#7A7F7C

Preview Lab

Preview with #127B54

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

Preview Lab → · Contrast checker → · Palette generator →

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