#126251#126251

#126251 is a dark, moderate teal. Relative luminance 0.095; OKLCH L 44.6% C 0.078 H 174.3°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).

Color values

HEX#126251
RGBrgb(18, 98, 81)
HSLhsl(167, 69%, 23%)
HSVhsv(167, 82%, 38%)
CMYKcmyk(81.6%, 0%, 17.3%, 61.6%)
CIE-LABlab(36.85, -27.60, 3.08)
CIE-LCHlch(36.85, 27.77, 173.62°)
OKLaboklab(44.57% -0.0781 0.0077)
OKLCHoklch(44.57% 0.078 174.3)
XYZxyz(6.1016, 9.4573, 9.2869)
Luminance0.0946 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126251 #621223
analogous
#126229 #126251 #124B62
triadic
#126251 #511262 #625112
tetradic
#126251 #291262 #621223 #4B6212
square
#126251 #291262 #621223 #4B6212
split-complementary
#126251 #62124B #622912
monochromatic
#051A15 #092E26 #126251 #1B967C #25C9A6

Accessibility & contrast

On white

7.26
#126251 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#126251 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #126251
7.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126251#FFFFFF#000000##FFFFFF
##1262511.007.262.897.26
#FFFFFF7.261.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5B50
Deuteranopia (green-blind)
#545452
Tritanopia (blue-blind)
#00635D
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #126251;
/* rgb */ color: rgb(18, 98, 81);
/* oklch */ color: oklch(44.6% 0.078 174.3);
Tailwind
colors: {
  custom: {
    50: '#5f8f81',
    500: '#126251',
    950: '#000000',
  },
}
SCSS
$custom: #126251;
$custom-light: #5f8f81;
$custom-dark: #000000;
JSON
{
  "hex": "#126251",
  "rgb": {
    "r": 18,
    "g": 98,
    "b": 81
  },
  "hsl": {
    "h": 167.25,
    "s": 68.966,
    "l": 22.745
  },
  "oklch": {
    "l": 0.44574,
    "c": 0.07845,
    "h": 174.3
  },
  "luminance": 0.09458
}

Semantic roles & 50–950 ramp

primary
#126251
secondary
#9A364B
accent
#3C61EC
background
#F6F8F7
surface
#EBF0EE
border
#C6CBC9
text
#050C0A
muted
#7A7D7C

Preview Lab

Preview with #126251

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

Preview Lab → · Contrast checker → · Palette generator →

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