#126243#126243

#126243 is a dark, moderate teal. Relative luminance 0.093; OKLCH L 44.2% C 0.090 H 161.7°. Best body text is #FFFFFF at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#126243
RGBrgb(18, 98, 67)
HSLhsl(157, 69%, 23%)
HSVhsv(157, 82%, 38%)
CMYKcmyk(81.6%, 0%, 31.6%, 61.6%)
CIE-LABlab(36.50, -31.37, 11.16)
CIE-LCHlch(36.50, 33.30, 160.43°)
OKLaboklab(44.17% -0.0856 0.0283)
OKLCHoklch(44.17% 0.09 161.7)
XYZxyz(5.6296, 9.2685, 6.8014)
Luminance0.0927 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126243 #621231
analogous
#12621B #126243 #125962
triadic
#126243 #431262 #624312
tetradic
#126243 #1B1262 #621231 #596212
square
#126243 #1B1262 #621231 #596212
split-complementary
#126243 #621259 #621B12
monochromatic
#051A12 #092E20 #126243 #1B9666 #25C98A

Accessibility & contrast

On white

7.36
#126243 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#126243 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #126243
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126243#FFFFFF#000000##FFFFFF
##1262431.007.362.857.36
#FFFFFF7.361.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605A41
Deuteranopia (green-blind)
#575345
Tritanopia (blue-blind)
#00625A
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #126243;
/* rgb */ color: rgb(18, 98, 67);
/* oklch */ color: oklch(44.2% 0.090 161.7);
Tailwind
colors: {
  custom: {
    50: '#5f8f77',
    500: '#126243',
    950: '#000000',
  },
}
SCSS
$custom: #126243;
$custom-light: #5f8f77;
$custom-dark: #000000;
JSON
{
  "hex": "#126243",
  "rgb": {
    "r": 18,
    "g": 98,
    "b": 67
  },
  "hsl": {
    "h": 156.75,
    "s": 68.966,
    "l": 22.745
  },
  "oklch": {
    "l": 0.44166,
    "c": 0.09014,
    "h": 161.7
  },
  "luminance": 0.09269
}

Semantic roles & 50–950 ramp

primary
#126243
secondary
#9A365D
accent
#3C80EC
background
#F5F8F7
surface
#EAF0ED
border
#C6CBC8
text
#050C08
muted
#797D7B

Preview Lab

Preview with #126243

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

Preview Lab → · Contrast checker → · Palette generator →

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