#126248#126248

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

Color values

HEX#126248
RGBrgb(18, 98, 72)
HSLhsl(161, 69%, 23%)
HSVhsv(161, 82%, 38%)
CMYKcmyk(81.6%, 0%, 26.5%, 61.6%)
CIE-LABlab(36.61, -30.09, 8.27)
CIE-LCHlch(36.61, 31.21, 164.63°)
OKLaboklab(44.3% -0.0829 0.0211)
OKLCHoklch(44.3% 0.086 165.7)
XYZxyz(5.7862, 9.3311, 7.6258)
Luminance0.0933 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126248 #62122C
analogous
#126220 #126248 #125462
triadic
#126248 #481262 #624812
tetradic
#126248 #201262 #62122C #546212
square
#126248 #201262 #62122C #546212
split-complementary
#126248 #621254 #622012
monochromatic
#051A13 #092E22 #126248 #1B966E #25C994

Accessibility & contrast

On white

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

On black

2.87
#126248 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##126248#FFFFFF#000000##FFFFFF
##1262481.007.332.877.33
#FFFFFF7.331.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605A47
Deuteranopia (green-blind)
#56534A
Tritanopia (blue-blind)
#00625B
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #126248;
/* rgb */ color: rgb(18, 98, 72);
/* oklch */ color: oklch(44.3% 0.086 165.7);
Tailwind
colors: {
  custom: {
    50: '#5f8f7b',
    500: '#126248',
    950: '#000000',
  },
}
SCSS
$custom: #126248;
$custom-light: #5f8f7b;
$custom-dark: #000000;
JSON
{
  "hex": "#126248",
  "rgb": {
    "r": 18,
    "g": 98,
    "b": 72
  },
  "hsl": {
    "h": 160.5,
    "s": 68.966,
    "l": 22.745
  },
  "oklch": {
    "l": 0.44302,
    "c": 0.08553,
    "h": 165.7
  },
  "luminance": 0.09332
}

Semantic roles & 50–950 ramp

primary
#126248
secondary
#9A3656
accent
#3C75EC
background
#F5F8F7
surface
#EAF0ED
border
#C6CBC8
text
#050C09
muted
#797D7B

Preview Lab

Preview with #126248

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

Preview Lab → · Contrast checker → · Palette generator →

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