#12835C#12835C

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

Color values

HEX#12835C
RGBrgb(18, 131, 92)
HSLhsl(159, 76%, 29%)
HSVhsv(159, 86%, 51%)
CMYKcmyk(86.3%, 0%, 29.8%, 48.6%)
CIE-LABlab(48.43, -39.35, 12.88)
CIE-LCHlch(48.43, 41.41, 161.87°)
OKLaboklab(54.17% -0.1074 0.0328)
OKLCHoklch(54.17% 0.112 163)
XYZxyz(10.2963, 17.1326, 12.8874)
Luminance0.1713 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12835C #831239
analogous
#128324 #12835C #127283
triadic
#12835C #5C1283 #835C12
tetradic
#12835C #241283 #831239 #728312
square
#12835C #241283 #831239 #728312
split-complementary
#12835C #831272 #832412
monochromatic
#041B13 #0B4D36 #12835C #19B982 #2DE2A4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##12835C#FFFFFF#000000##FFFFFF
##12835C1.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)
#81795A
Deuteranopia (green-blind)
#746F5F
Tritanopia (blue-blind)
#008378
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #12835c;
/* rgb */ color: rgb(18, 131, 92);
/* oklch */ color: oklch(54.2% 0.112 163.0);
Tailwind
colors: {
  custom: {
    50: '#67a88a',
    500: '#12835c',
    950: '#000000',
  },
}
SCSS
$custom: #12835c;
$custom-light: #67a88a;
$custom-dark: #000000;
JSON
{
  "hex": "#12835c",
  "rgb": {
    "r": 18,
    "g": 131,
    "b": 92
  },
  "hsl": {
    "h": 159.292,
    "s": 75.839,
    "l": 29.216
  },
  "oklch": {
    "l": 0.54174,
    "c": 0.11233,
    "h": 163
  },
  "luminance": 0.17134
}

Semantic roles & 50–950 ramp

primary
#12835C
secondary
#B83865
accent
#3577F2
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#07100B
muted
#7A7F7C

Preview Lab

Preview with #12835C

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

Preview Lab → · Contrast checker → · Palette generator →

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