#127C52#127C52

#127C52 is a mid, moderate teal. Relative luminance 0.152; OKLCH L 52.0% C 0.112 H 160.1°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#127C52
RGBrgb(18, 124, 82)
HSLhsl(156, 75%, 28%)
HSVhsv(156, 85%, 49%)
CMYKcmyk(85.5%, 0%, 33.9%, 51.4%)
CIE-LABlab(45.84, -38.84, 15.11)
CIE-LCHlch(45.84, 41.67, 158.75°)
OKLaboklab(51.97% -0.1054 0.0382)
OKLCHoklch(51.97% 0.112 160.1)
XYZxyz(8.9791, 15.1520, 10.4324)
Luminance0.1515 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127C52 #7C123C
analogous
#127C1D #127C52 #12717C
triadic
#127C52 #52127C #7C5212
tetradic
#127C52 #1D127C #7C123C #717C12
square
#127C52 #1D127C #7C123C #717C12
split-complementary
#127C52 #7C1271 #7C1D12
monochromatic
#041B12 #0A472F #127C52 #1AB175 #29E097

Accessibility & contrast

On white

5.21
#127C52 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#127C52 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127C52
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127C52#FFFFFF#000000##FFFFFF
##127C521.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A724F
Deuteranopia (green-blind)
#6E6955
Tritanopia (blue-blind)
#007B71
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #127c52;
/* rgb */ color: rgb(18, 124, 82);
/* oklch */ color: oklch(52.0% 0.112 160.1);
Tailwind
colors: {
  custom: {
    50: '#65a382',
    500: '#127c52',
    950: '#000000',
  },
}
SCSS
$custom: #127c52;
$custom-light: #65a382;
$custom-dark: #000000;
JSON
{
  "hex": "#127c52",
  "rgb": {
    "r": 18,
    "g": 124,
    "b": 82
  },
  "hsl": {
    "h": 156.226,
    "s": 74.648,
    "l": 27.843
  },
  "oklch": {
    "l": 0.51973,
    "c": 0.11209,
    "h": 160.1
  },
  "luminance": 0.15153
}

Semantic roles & 50–950 ramp

primary
#127C52
secondary
#B23868
accent
#3781F1
background
#F6FAF8
surface
#EBF4EF
border
#C6CECA
text
#070F0A
muted
#7A7F7C

Preview Lab

Preview with #127C52

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

Preview Lab → · Contrast checker → · Palette generator →

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