#128362#128362

#128362 is a mid, moderate teal. Relative luminance 0.172; OKLCH L 54.3% C 0.107 H 166.8°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#128362
RGBrgb(18, 131, 98)
HSLhsl(162, 76%, 29%)
HSVhsv(162, 86%, 51%)
CMYKcmyk(86.3%, 0%, 25.2%, 48.6%)
CIE-LABlab(48.56, -37.85, 9.60)
CIE-LCHlch(48.56, 39.05, 165.77°)
OKLaboklab(54.33% -0.1044 0.0245)
OKLCHoklch(54.33% 0.107 166.8)
XYZxyz(10.5691, 17.2417, 14.3238)
Luminance0.1724 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#128362 #831233
analogous
#12832A #128362 #126C83
triadic
#128362 #621283 #836212
tetradic
#128362 #2A1283 #831233 #6C8312
square
#128362 #2A1283 #831233 #6C8312
split-complementary
#128362 #83126C #832A12
monochromatic
#041B14 #0B4D3A #128362 #19B98A #2DE2AD

Accessibility & contrast

On white

4.72
#128362 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#128362 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #128362
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##128362#FFFFFF#000000##FFFFFF
##1283621.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807960
Deuteranopia (green-blind)
#726F64
Tritanopia (blue-blind)
#00837A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #128362;
/* rgb */ color: rgb(18, 131, 98);
/* oklch */ color: oklch(54.3% 0.107 166.8);
Tailwind
colors: {
  custom: {
    50: '#68a88e',
    500: '#128362',
    950: '#000000',
  },
}
SCSS
$custom: #128362;
$custom-light: #68a88e;
$custom-dark: #000000;
JSON
{
  "hex": "#128362",
  "rgb": {
    "r": 18,
    "g": 131,
    "b": 98
  },
  "hsl": {
    "h": 162.478,
    "s": 75.839,
    "l": 29.216
  },
  "oklch": {
    "l": 0.54331,
    "c": 0.1072,
    "h": 166.8
  },
  "luminance": 0.17243
}

Semantic roles & 50–950 ramp

primary
#128362
secondary
#B8385E
accent
#356DF2
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#07100C
muted
#7A7F7D

Preview Lab

Preview with #128362

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

Preview Lab → · Contrast checker → · Palette generator →

#128362 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva