#12835F#12835F

#12835F is a mid, moderate teal. Relative luminance 0.172; OKLCH L 54.3% C 0.110 H 164.9°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#12835F
RGBrgb(18, 131, 95)
HSLhsl(161, 76%, 29%)
HSVhsv(161, 86%, 51%)
CMYKcmyk(86.3%, 0%, 27.5%, 48.6%)
CIE-LABlab(48.49, -38.61, 11.24)
CIE-LCHlch(48.49, 40.21, 163.77°)
OKLaboklab(54.25% -0.1059 0.0287)
OKLCHoklch(54.25% 0.11 164.9)
XYZxyz(10.4301, 17.1861, 13.5918)
Luminance0.1719 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#12835F #831236
analogous
#128327 #12835F #126F83
triadic
#12835F #5F1283 #835F12
tetradic
#12835F #271283 #831236 #6F8312
square
#12835F #271283 #831236 #6F8312
split-complementary
#12835F #83126F #832712
monochromatic
#041B14 #0B4D38 #12835F #19B986 #2DE2A9

Accessibility & contrast

On white

4.73
#12835F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#12835F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #12835F
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##12835F#FFFFFF#000000##FFFFFF
##12835F1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #12835f;
/* rgb */ color: rgb(18, 131, 95);
/* oklch */ color: oklch(54.3% 0.110 164.9);
Tailwind
colors: {
  custom: {
    50: '#67a88c',
    500: '#12835f',
    950: '#000000',
  },
}
SCSS
$custom: #12835f;
$custom-light: #67a88c;
$custom-dark: #000000;
JSON
{
  "hex": "#12835f",
  "rgb": {
    "r": 18,
    "g": 131,
    "b": 95
  },
  "hsl": {
    "h": 160.885,
    "s": 75.839,
    "l": 29.216
  },
  "oklch": {
    "l": 0.54251,
    "c": 0.10971,
    "h": 164.9
  },
  "luminance": 0.17187
}

Semantic roles & 50–950 ramp

primary
#12835F
secondary
#B83861
accent
#3572F2
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#07100C
muted
#7A7F7D

Preview Lab

Preview with #12835F

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

Preview Lab → · Contrast checker → · Palette generator →

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