#126842#126842

#126842 is a mid, moderate teal. Relative luminance 0.104; OKLCH L 45.9% C 0.100 H 158.3°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#126842
RGBrgb(18, 104, 66)
HSLhsl(153, 70%, 24%)
HSVhsv(153, 83%, 41%)
CMYKcmyk(82.7%, 0%, 36.5%, 59.2%)
CIE-LABlab(38.59, -34.21, 14.62)
CIE-LCHlch(38.59, 37.21, 156.87°)
OKLaboklab(45.88% -0.0926 0.0368)
OKLCHoklch(45.88% 0.1 158.3)
XYZxyz(6.1825, 10.4218, 6.8390)
Luminance0.1042 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#126842 #681238
analogous
#126817 #126842 #126368
triadic
#126842 #421268 #684212
tetradic
#126842 #171268 #681238 #636812
square
#126842 #171268 #681238 #636812
split-complementary
#126842 #681263 #681712
monochromatic
#051A11 #093421 #126842 #1B9C63 #24D084

Accessibility & contrast

On white

6.81
#126842 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#126842 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #126842
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##126842#FFFFFF#000000##FFFFFF
##1268421.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675F40
Deuteranopia (green-blind)
#5D5845
Tritanopia (blue-blind)
#00675E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #126842;
/* rgb */ color: rgb(18, 104, 66);
/* oklch */ color: oklch(45.9% 0.100 158.3);
Tailwind
colors: {
  custom: {
    50: '#609476',
    500: '#126842',
    950: '#000000',
  },
}
SCSS
$custom: #126842;
$custom-light: #609476;
$custom-dark: #000000;
JSON
{
  "hex": "#126842",
  "rgb": {
    "r": 18,
    "g": 104,
    "b": 66
  },
  "hsl": {
    "h": 153.488,
    "s": 70.492,
    "l": 23.922
  },
  "oklch": {
    "l": 0.45883,
    "c": 0.09969,
    "h": 158.3
  },
  "luminance": 0.10423
}

Semantic roles & 50–950 ramp

primary
#126842
secondary
#A03665
accent
#3B8AED
background
#F6F9F7
surface
#EBF1ED
border
#C6CBC8
text
#050D08
muted
#7A7E7B

Preview Lab

Preview with #126842

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

Preview Lab → · Contrast checker → · Palette generator →

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