#127251#127251

#127251 is a mid, moderate teal. Relative luminance 0.128; OKLCH L 49.1% C 0.099 H 163.7°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#127251
RGBrgb(18, 114, 81)
HSLhsl(159, 73%, 26%)
HSVhsv(159, 84%, 45%)
CMYKcmyk(84.2%, 0%, 28.9%, 55.3%)
CIE-LABlab(42.39, -34.87, 10.94)
CIE-LCHlch(42.39, 36.55, 162.59°)
OKLaboklab(49.13% -0.0954 0.0279)
OKLCHoklch(49.13% 0.099 163.7)
XYZxyz(7.7511, 12.7563, 9.8367)
Luminance0.1276 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127251 #721233
analogous
#127221 #127251 #126372
triadic
#127251 #511272 #725112
tetradic
#127251 #211272 #721233 #637212
square
#127251 #211272 #721233 #637212
split-complementary
#127251 #721263 #722112
monochromatic
#041A13 #0A3D2B #127251 #1AA777 #23DC9C

Accessibility & contrast

On white

5.91
#127251 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#127251 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127251
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127251#FFFFFF#000000##FFFFFF
##1272511.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#70694F
Deuteranopia (green-blind)
#646153
Tritanopia (blue-blind)
#007269
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #127251;
/* rgb */ color: rgb(18, 114, 81);
/* oklch */ color: oklch(49.1% 0.099 163.7);
Tailwind
colors: {
  custom: {
    50: '#639b82',
    500: '#127251',
    950: '#000000',
  },
}
SCSS
$custom: #127251;
$custom-light: #639b82;
$custom-dark: #000000;
JSON
{
  "hex": "#127251",
  "rgb": {
    "r": 18,
    "g": 114,
    "b": 81
  },
  "hsl": {
    "h": 159.375,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.49125,
    "c": 0.09943,
    "h": 163.7
  },
  "luminance": 0.12757
}

Semantic roles & 50–950 ramp

primary
#127251
secondary
#A9375E
accent
#3877EF
background
#F6F9F7
surface
#EBF2EE
border
#C6CCC9
text
#060E0A
muted
#7A7E7C

Preview Lab

Preview with #127251

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

Preview Lab → · Contrast checker → · Palette generator →

#127251 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva