#118C5E#118C5E

#118C5E is a mid, vivid teal. Relative luminance 0.197; OKLCH L 56.7% C 0.123 H 160.8°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#118C5E
RGBrgb(17, 140, 94)
HSLhsl(158, 78%, 31%)
HSVhsv(158, 88%, 55%)
CMYKcmyk(87.9%, 0%, 32.9%, 45.1%)
CIE-LABlab(51.48, -42.63, 15.94)
CIE-LCHlch(51.48, 45.51, 159.50°)
OKLaboklab(56.7% -0.1157 0.0403)
OKLCHoklch(56.7% 0.123 160.8)
XYZxyz(11.6283, 19.6820, 13.7736)
Luminance0.1968 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#118C5E #8C113F
analogous
#118C20 #118C5E #117C8C
triadic
#118C5E #5E118C #8C5E11
tetradic
#118C5E #20118C #8C113F #7C8C11
square
#118C5E #20118C #8C113F #7C8C11
split-complementary
#118C5E #8C117C #8C2011
monochromatic
#041F15 #0A5539 #118C5E #18C383 #31E6A2

Accessibility & contrast

On white

4.25
#118C5E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#118C5E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #118C5E
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##118C5E#FFFFFF#000000##000000
##118C5E1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A815B
Deuteranopia (green-blind)
#7C7761
Tritanopia (blue-blind)
#008B80
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #118c5e;
/* rgb */ color: rgb(17, 140, 94);
/* oklch */ color: oklch(56.7% 0.123 160.8);
Tailwind
colors: {
  custom: {
    50: '#69ae8c',
    500: '#118c5e',
    950: '#000000',
  },
}
SCSS
$custom: #118c5e;
$custom-light: #69ae8c;
$custom-dark: #000000;
JSON
{
  "hex": "#118c5e",
  "rgb": {
    "r": 17,
    "g": 140,
    "b": 94
  },
  "hsl": {
    "h": 157.561,
    "s": 78.344,
    "l": 30.784
  },
  "oklch": {
    "l": 0.56698,
    "c": 0.12257,
    "h": 160.8
  },
  "luminance": 0.19683
}

Semantic roles & 50–950 ramp

primary
#118C5E
secondary
#C1386B
accent
#337BF5
background
#F6FAF8
surface
#ECF4F0
border
#C7CECB
text
#08100C
muted
#7A7F7D

Preview Lab

Preview with #118C5E

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

Preview Lab → · Contrast checker → · Palette generator →

#118C5E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva