#126247#126247

#126247 is a dark, moderate teal. Relative luminance 0.093; OKLCH L 44.3% C 0.086 H 164.8°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#126247
RGBrgb(18, 98, 71)
HSLhsl(160, 69%, 23%)
HSVhsv(160, 82%, 38%)
CMYKcmyk(81.6%, 0%, 27.6%, 61.6%)
CIE-LABlab(36.59, -30.36, 8.85)
CIE-LCHlch(36.59, 31.62, 163.74°)
OKLaboklab(44.27% -0.0834 0.0226)
OKLCHoklch(44.27% 0.086 164.8)
XYZxyz(5.7538, 9.3182, 7.4554)
Luminance0.0932 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126247 #62122D
analogous
#12621F #126247 #125562
triadic
#126247 #471262 #624712
tetradic
#126247 #1F1262 #62122D #556212
square
#126247 #1F1262 #62122D #556212
split-complementary
#126247 #621255 #621F12
monochromatic
#051A13 #092E22 #126247 #1B966C #25C992

Accessibility & contrast

On white

7.33
#126247 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#126247 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #126247
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126247#FFFFFF#000000##FFFFFF
##1262471.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605A46
Deuteranopia (green-blind)
#565349
Tritanopia (blue-blind)
#00625B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #126247;
/* rgb */ color: rgb(18, 98, 71);
/* oklch */ color: oklch(44.3% 0.086 164.8);
Tailwind
colors: {
  custom: {
    50: '#5f8f7a',
    500: '#126247',
    950: '#000000',
  },
}
SCSS
$custom: #126247;
$custom-light: #5f8f7a;
$custom-dark: #000000;
JSON
{
  "hex": "#126247",
  "rgb": {
    "r": 18,
    "g": 98,
    "b": 71
  },
  "hsl": {
    "h": 159.75,
    "s": 68.966,
    "l": 22.745
  },
  "oklch": {
    "l": 0.44274,
    "c": 0.08642,
    "h": 164.8
  },
  "luminance": 0.09319
}

Semantic roles & 50–950 ramp

primary
#126247
secondary
#9A3658
accent
#3C77EC
background
#F5F8F7
surface
#EAF0ED
border
#C6CBC8
text
#050C09
muted
#797D7B

Preview Lab

Preview with #126247

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

Preview Lab → · Contrast checker → · Palette generator →

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