#127254#127254

#127254 is a mid, moderate teal. Relative luminance 0.128; OKLCH L 49.2% C 0.097 H 165.9°. Best body text is #FFFFFF at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#127254
RGBrgb(18, 114, 84)
HSLhsl(161, 73%, 26%)
HSVhsv(161, 84%, 45%)
CMYKcmyk(84.2%, 0%, 26.3%, 55.3%)
CIE-LABlab(42.46, -34.11, 9.25)
CIE-LCHlch(42.46, 35.34, 164.82°)
OKLaboklab(49.21% -0.0939 0.0236)
OKLCHoklch(49.21% 0.097 165.9)
XYZxyz(7.8661, 12.8023, 10.4423)
Luminance0.1280 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#127254 #721230
analogous
#127224 #127254 #126072
triadic
#127254 #541272 #725412
tetradic
#127254 #241272 #721230 #607212
square
#127254 #241272 #721230 #607212
split-complementary
#127254 #721260 #722412
monochromatic
#041A13 #0A3D2D #127254 #1AA77B #23DCA2

Accessibility & contrast

On white

5.90
#127254 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#127254 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #127254
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##127254#FFFFFF#000000##FFFFFF
##1272541.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6952
Deuteranopia (green-blind)
#646156
Tritanopia (blue-blind)
#00726A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #127254;
/* rgb */ color: rgb(18, 114, 84);
/* oklch */ color: oklch(49.2% 0.097 165.9);
Tailwind
colors: {
  custom: {
    50: '#639b84',
    500: '#127254',
    950: '#000000',
  },
}
SCSS
$custom: #127254;
$custom-light: #639b84;
$custom-dark: #000000;
JSON
{
  "hex": "#127254",
  "rgb": {
    "r": 18,
    "g": 114,
    "b": 84
  },
  "hsl": {
    "h": 161.25,
    "s": 72.727,
    "l": 25.882
  },
  "oklch": {
    "l": 0.49206,
    "c": 0.09681,
    "h": 165.9
  },
  "luminance": 0.12803
}

Semantic roles & 50–950 ramp

primary
#127254
secondary
#A9375B
accent
#3872EF
background
#F6F9F8
surface
#EBF2EF
border
#C6CCCA
text
#060E0A
muted
#7A7E7C

Preview Lab

Preview with #127254

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

Preview Lab → · Contrast checker → · Palette generator →

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