#126255#126255

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

Color values

HEX#126255
RGBrgb(18, 98, 85)
HSLhsl(170, 69%, 23%)
HSVhsv(170, 82%, 38%)
CMYKcmyk(81.6%, 0%, 13.3%, 61.6%)
CIE-LABlab(36.97, -26.42, 0.78)
CIE-LCHlch(36.97, 26.43, 178.30°)
OKLaboklab(44.71% -0.076 0.0017)
OKLCHoklch(44.71% 0.076 178.7)
XYZxyz(6.2560, 9.5191, 10.1002)
Luminance0.0952 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126255 #62121F
analogous
#12622D #126255 #124762
triadic
#126255 #551262 #625512
tetradic
#126255 #2D1262 #62121F #476212
square
#126255 #2D1262 #62121F #476212
split-complementary
#126255 #621247 #622D12
monochromatic
#051A16 #092E28 #126255 #1B9682 #25C9AF

Accessibility & contrast

On white

7.23
#126255 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #126255
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126255#FFFFFF#000000##FFFFFF
##1262551.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #126255;
/* rgb */ color: rgb(18, 98, 85);
/* oklch */ color: oklch(44.7% 0.076 178.7);
Tailwind
colors: {
  custom: {
    50: '#608f84',
    500: '#126255',
    950: '#000000',
  },
}
SCSS
$custom: #126255;
$custom-light: #608f84;
$custom-dark: #000000;
JSON
{
  "hex": "#126255",
  "rgb": {
    "r": 18,
    "g": 98,
    "b": 85
  },
  "hsl": {
    "h": 170.25,
    "s": 68.966,
    "l": 22.745
  },
  "oklch": {
    "l": 0.44706,
    "c": 0.07598,
    "h": 178.7
  },
  "luminance": 0.0952
}

Semantic roles & 50–950 ramp

primary
#126255
secondary
#9A3646
accent
#3C59EC
background
#F6F8F8
surface
#EBF0EF
border
#C6CBCA
text
#050C0B
muted
#7A7D7C

Preview Lab

Preview with #126255

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

Preview Lab → · Contrast checker → · Palette generator →

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