#12835E#12835E

#12835E is a mid, moderate teal. Relative luminance 0.172; OKLCH L 54.2% C 0.111 H 164.2°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#12835E
RGBrgb(18, 131, 94)
HSLhsl(160, 76%, 29%)
HSVhsv(160, 86%, 51%)
CMYKcmyk(86.3%, 0%, 28.2%, 48.6%)
CIE-LABlab(48.47, -38.86, 11.79)
CIE-LCHlch(48.47, 40.61, 163.12°)
OKLaboklab(54.23% -0.1064 0.03)
OKLCHoklch(54.23% 0.111 164.2)
XYZxyz(10.3849, 17.1680, 13.3539)
Luminance0.1717 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12835E #831237
analogous
#128326 #12835E #127083
triadic
#12835E #5E1283 #835E12
tetradic
#12835E #261283 #831237 #708312
square
#12835E #261283 #831237 #708312
split-complementary
#12835E #831270 #832612
monochromatic
#041B13 #0B4D37 #12835E #19B985 #2DE2A7

Accessibility & contrast

On white

4.74
#12835E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#12835E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #12835E
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12835E#FFFFFF#000000##FFFFFF
##12835E1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80795C
Deuteranopia (green-blind)
#736F60
Tritanopia (blue-blind)
#008379
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #12835e;
/* rgb */ color: rgb(18, 131, 94);
/* oklch */ color: oklch(54.2% 0.111 164.2);
Tailwind
colors: {
  custom: {
    50: '#67a88b',
    500: '#12835e',
    950: '#000000',
  },
}
SCSS
$custom: #12835e;
$custom-light: #67a88b;
$custom-dark: #000000;
JSON
{
  "hex": "#12835e",
  "rgb": {
    "r": 18,
    "g": 131,
    "b": 94
  },
  "hsl": {
    "h": 160.354,
    "s": 75.839,
    "l": 29.216
  },
  "oklch": {
    "l": 0.54225,
    "c": 0.11057,
    "h": 164.2
  },
  "luminance": 0.17169
}

Semantic roles & 50–950 ramp

primary
#12835E
secondary
#B83862
accent
#3573F2
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#07100C
muted
#7A7F7D

Preview Lab

Preview with #12835E

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

Preview Lab → · Contrast checker → · Palette generator →

#12835E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva