#126245#126245

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

Color values

HEX#126245
RGBrgb(18, 98, 69)
HSLhsl(158, 69%, 23%)
HSVhsv(158, 82%, 38%)
CMYKcmyk(81.6%, 0%, 29.6%, 61.6%)
CIE-LABlab(36.54, -30.87, 10.00)
CIE-LCHlch(36.54, 32.45, 162.05°)
OKLaboklab(44.22% -0.0845 0.0255)
OKLCHoklch(44.22% 0.088 163.2)
XYZxyz(5.6907, 9.2929, 7.1229)
Luminance0.0929 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126245 #62122F
analogous
#12621D #126245 #125762
triadic
#126245 #451262 #624512
tetradic
#126245 #1D1262 #62122F #576212
square
#126245 #1D1262 #62122F #576212
split-complementary
#126245 #621257 #621D12
monochromatic
#051A12 #092E21 #126245 #1B9669 #25C98E

Accessibility & contrast

On white

7.35
#126245 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#126245 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #126245
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126245#FFFFFF#000000##FFFFFF
##1262451.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #126245;
/* rgb */ color: rgb(18, 98, 69);
/* oklch */ color: oklch(44.2% 0.088 163.2);
Tailwind
colors: {
  custom: {
    50: '#5f8f78',
    500: '#126245',
    950: '#000000',
  },
}
SCSS
$custom: #126245;
$custom-light: #5f8f78;
$custom-dark: #000000;
JSON
{
  "hex": "#126245",
  "rgb": {
    "r": 18,
    "g": 98,
    "b": 69
  },
  "hsl": {
    "h": 158.25,
    "s": 68.966,
    "l": 22.745
  },
  "oklch": {
    "l": 0.44219,
    "c": 0.08826,
    "h": 163.2
  },
  "luminance": 0.09294
}

Semantic roles & 50–950 ramp

primary
#126245
secondary
#9A365A
accent
#3C7CEC
background
#F5F8F7
surface
#EAF0ED
border
#C6CBC8
text
#050C09
muted
#797D7B

Preview Lab

Preview with #126245

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

Preview Lab → · Contrast checker → · Palette generator →

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