#12835A#12835A

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

Color values

HEX#12835A
RGBrgb(18, 131, 90)
HSLhsl(158, 76%, 29%)
HSVhsv(158, 86%, 51%)
CMYKcmyk(86.3%, 0%, 31.3%, 48.6%)
CIE-LABlab(48.38, -39.83, 13.98)
CIE-LCHlch(48.38, 42.21, 160.66°)
OKLaboklab(54.12% -0.1085 0.0355)
OKLCHoklch(54.12% 0.114 161.9)
XYZxyz(10.2101, 17.0981, 12.4330)
Luminance0.1710 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12835A #83123B
analogous
#128322 #12835A #127483
triadic
#12835A #5A1283 #835A12
tetradic
#12835A #221283 #83123B #748312
square
#12835A #221283 #83123B #748312
split-complementary
#12835A #831274 #832212
monochromatic
#041B12 #0B4D35 #12835A #19B97F #2DE2A1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #12835a;
/* rgb */ color: rgb(18, 131, 90);
/* oklch */ color: oklch(54.1% 0.114 161.9);
Tailwind
colors: {
  custom: {
    50: '#67a888',
    500: '#12835a',
    950: '#000000',
  },
}
SCSS
$custom: #12835a;
$custom-light: #67a888;
$custom-dark: #000000;
JSON
{
  "hex": "#12835a",
  "rgb": {
    "r": 18,
    "g": 131,
    "b": 90
  },
  "hsl": {
    "h": 158.23,
    "s": 75.839,
    "l": 29.216
  },
  "oklch": {
    "l": 0.54124,
    "c": 0.11412,
    "h": 161.9
  },
  "luminance": 0.17099
}

Semantic roles & 50–950 ramp

primary
#12835A
secondary
#B83867
accent
#357AF2
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#07100B
muted
#7A7F7C

Preview Lab

Preview with #12835A

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

Preview Lab → · Contrast checker → · Palette generator →

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