#126252#126252

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

Color values

HEX#126252
RGBrgb(18, 98, 82)
HSLhsl(168, 69%, 23%)
HSVhsv(168, 82%, 38%)
CMYKcmyk(81.6%, 0%, 16.3%, 61.6%)
CIE-LABlab(36.88, -27.31, 2.51)
CIE-LCHlch(36.88, 27.42, 174.75°)
OKLaboklab(44.61% -0.0775 0.0062)
OKLCHoklch(44.61% 0.078 175.4)
XYZxyz(6.1393, 9.4724, 9.4858)
Luminance0.0947 (WCAG relative)
Temperaturecool
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126252 #621222
analogous
#12622A #126252 #124A62
triadic
#126252 #521262 #625212
tetradic
#126252 #2A1262 #621222 #4A6212
square
#126252 #2A1262 #621222 #4A6212
split-complementary
#126252 #62124A #622A12
monochromatic
#051A16 #092E27 #126252 #1B967D #25C9A9

Accessibility & contrast

On white

7.25
#126252 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #126252
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126252#FFFFFF#000000##FFFFFF
##1262521.007.252.897.25
#FFFFFF7.251.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #126252;
/* rgb */ color: rgb(18, 98, 82);
/* oklch */ color: oklch(44.6% 0.078 175.4);
Tailwind
colors: {
  custom: {
    50: '#5f8f82',
    500: '#126252',
    950: '#000000',
  },
}
SCSS
$custom: #126252;
$custom-light: #5f8f82;
$custom-dark: #000000;
JSON
{
  "hex": "#126252",
  "rgb": {
    "r": 18,
    "g": 98,
    "b": 82
  },
  "hsl": {
    "h": 168,
    "s": 68.966,
    "l": 22.745
  },
  "oklch": {
    "l": 0.44606,
    "c": 0.07779,
    "h": 175.4
  },
  "luminance": 0.09473
}

Semantic roles & 50–950 ramp

primary
#126252
secondary
#9A364A
accent
#3C5FEC
background
#F6F8F7
surface
#EBF0EE
border
#C6CBC9
text
#050C0A
muted
#7A7D7C

Preview Lab

Preview with #126252

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

Preview Lab → · Contrast checker → · Palette generator →

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