#12835B#12835B

#12835B is a mid, moderate teal. Relative luminance 0.171; OKLCH L 54.1% C 0.113 H 162.5°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#12835B
RGBrgb(18, 131, 91)
HSLhsl(159, 76%, 29%)
HSVhsv(159, 86%, 51%)
CMYKcmyk(86.3%, 0%, 30.5%, 48.6%)
CIE-LABlab(48.40, -39.59, 13.43)
CIE-LCHlch(48.40, 41.81, 161.26°)
OKLaboklab(54.15% -0.1079 0.0341)
OKLCHoklch(54.15% 0.113 162.5)
XYZxyz(10.2529, 17.1152, 12.6587)
Luminance0.1712 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12835B #83123A
analogous
#128323 #12835B #127383
triadic
#12835B #5B1283 #835B12
tetradic
#12835B #231283 #83123A #738312
square
#12835B #231283 #83123A #738312
split-complementary
#12835B #831273 #832312
monochromatic
#041B13 #0B4D36 #12835B #19B980 #2DE2A2

Accessibility & contrast

On white

4.75
#12835B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#12835B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #12835B
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12835B#FFFFFF#000000##FFFFFF
##12835B1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817959
Deuteranopia (green-blind)
#746F5E
Tritanopia (blue-blind)
#008378
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #12835b;
/* rgb */ color: rgb(18, 131, 91);
/* oklch */ color: oklch(54.1% 0.113 162.5);
Tailwind
colors: {
  custom: {
    50: '#67a889',
    500: '#12835b',
    950: '#000000',
  },
}
SCSS
$custom: #12835b;
$custom-light: #67a889;
$custom-dark: #000000;
JSON
{
  "hex": "#12835b",
  "rgb": {
    "r": 18,
    "g": 131,
    "b": 91
  },
  "hsl": {
    "h": 158.761,
    "s": 75.839,
    "l": 29.216
  },
  "oklch": {
    "l": 0.54149,
    "c": 0.11321,
    "h": 162.5
  },
  "luminance": 0.17117
}

Semantic roles & 50–950 ramp

primary
#12835B
secondary
#B83866
accent
#3578F2
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#07100B
muted
#7A7F7C

Preview Lab

Preview with #12835B

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

Preview Lab → · Contrast checker → · Palette generator →

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