#126241#126241

#126241 is a dark, moderate teal. Relative luminance 0.092; OKLCH L 44.1% C 0.092 H 160.2°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#126241
RGBrgb(18, 98, 65)
HSLhsl(155, 69%, 23%)
HSVhsv(155, 82%, 38%)
CMYKcmyk(81.6%, 0%, 33.7%, 61.6%)
CIE-LABlab(36.45, -31.86, 12.30)
CIE-LCHlch(36.45, 34.16, 158.89°)
OKLaboklab(44.12% -0.0866 0.0312)
OKLCHoklch(44.12% 0.092 160.2)
XYZxyz(5.5707, 9.2449, 6.4909)
Luminance0.0925 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126241 #621233
analogous
#126219 #126241 #125B62
triadic
#126241 #411262 #624112
tetradic
#126241 #191262 #621233 #5B6212
square
#126241 #191262 #621233 #5B6212
split-complementary
#126241 #62125B #621912
monochromatic
#051A11 #092E1F #126241 #1B9663 #25C986

Accessibility & contrast

On white

7.37
#126241 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #126241
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126241#FFFFFF#000000##FFFFFF
##1262411.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615A3F
Deuteranopia (green-blind)
#575343
Tritanopia (blue-blind)
#006259
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #126241;
/* rgb */ color: rgb(18, 98, 65);
/* oklch */ color: oklch(44.1% 0.092 160.2);
Tailwind
colors: {
  custom: {
    50: '#5f8f75',
    500: '#126241',
    950: '#000000',
  },
}
SCSS
$custom: #126241;
$custom-light: #5f8f75;
$custom-dark: #000000;
JSON
{
  "hex": "#126241",
  "rgb": {
    "r": 18,
    "g": 98,
    "b": 65
  },
  "hsl": {
    "h": 155.25,
    "s": 68.966,
    "l": 22.745
  },
  "oklch": {
    "l": 0.44115,
    "c": 0.09207,
    "h": 160.2
  },
  "luminance": 0.09246
}

Semantic roles & 50–950 ramp

primary
#126241
secondary
#9A365F
accent
#3C85EC
background
#F5F8F7
surface
#EAF0ED
border
#C6CBC8
text
#050C08
muted
#797D7B

Preview Lab

Preview with #126241

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

Preview Lab → · Contrast checker → · Palette generator →

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