#126254#126254

#126254 is a dark, moderate teal. Relative luminance 0.095; OKLCH L 44.7% C 0.077 H 177.6°. Best body text is #FFFFFF at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#126254
RGBrgb(18, 98, 84)
HSLhsl(170, 69%, 23%)
HSVhsv(170, 82%, 38%)
CMYKcmyk(81.6%, 0%, 14.3%, 61.6%)
CIE-LABlab(36.94, -26.72, 1.36)
CIE-LCHlch(36.94, 26.75, 177.09°)
OKLaboklab(44.67% -0.0765 0.0032)
OKLCHoklch(44.67% 0.077 177.6)
XYZxyz(6.2166, 9.5033, 9.8925)
Luminance0.0950 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126254 #621220
analogous
#12622C #126254 #124862
triadic
#126254 #541262 #625412
tetradic
#126254 #2C1262 #621220 #486212
square
#126254 #2C1262 #621220 #486212
split-complementary
#126254 #621248 #622C12
monochromatic
#051A16 #092E28 #126254 #1B9680 #25C9AD

Accessibility & contrast

On white

7.24
#126254 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#126254 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #126254
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126254#FFFFFF#000000##FFFFFF
##1262541.007.242.907.24
#FFFFFF7.241.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5B53
Deuteranopia (green-blind)
#535455
Tritanopia (blue-blind)
#00645E
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #126254;
/* rgb */ color: rgb(18, 98, 84);
/* oklch */ color: oklch(44.7% 0.077 177.6);
Tailwind
colors: {
  custom: {
    50: '#608f84',
    500: '#126254',
    950: '#000000',
  },
}
SCSS
$custom: #126254;
$custom-light: #608f84;
$custom-dark: #000000;
JSON
{
  "hex": "#126254",
  "rgb": {
    "r": 18,
    "g": 98,
    "b": 84
  },
  "hsl": {
    "h": 169.5,
    "s": 68.966,
    "l": 22.745
  },
  "oklch": {
    "l": 0.44672,
    "c": 0.07655,
    "h": 177.6
  },
  "luminance": 0.09504
}

Semantic roles & 50–950 ramp

primary
#126254
secondary
#9A3647
accent
#3C5BEC
background
#F6F8F8
surface
#EBF0EF
border
#C6CBCA
text
#050C0A
muted
#7A7D7C

Preview Lab

Preview with #126254

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

Preview Lab → · Contrast checker → · Palette generator →

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