#18704F#18704F

#18704F is a mid, moderate teal. Relative luminance 0.123; OKLCH L 48.6% C 0.097 H 162.7°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#18704F
RGBrgb(24, 112, 79)
HSLhsl(158, 65%, 27%)
HSVhsv(158, 79%, 44%)
CMYKcmyk(78.6%, 0%, 29.5%, 56.1%)
CIE-LABlab(41.76, -33.74, 11.26)
CIE-LCHlch(41.76, 35.57, 161.54°)
OKLaboklab(48.62% -0.0923 0.0287)
OKLCHoklch(48.62% 0.097 162.7)
XYZxyz(7.5813, 12.3461, 9.3791)
Luminance0.1235 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18704F #701839
analogous
#187023 #18704F #186570
triadic
#18704F #4F1870 #704F18
tetradic
#18704F #231870 #701839 #657018
square
#18704F #231870 #701839 #657018
split-complementary
#18704F #701865 #702318
monochromatic
#051912 #0D3E2B #18704F #23A273 #30D396

Accessibility & contrast

On white

6.05
#18704F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#18704F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #18704F
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18704F#FFFFFF#000000##FFFFFF
##18704F1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E674D
Deuteranopia (green-blind)
#635F51
Tritanopia (blue-blind)
#007067
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #18704f;
/* rgb */ color: rgb(24, 112, 79);
/* oklch */ color: oklch(48.6% 0.097 162.7);
Tailwind
colors: {
  custom: {
    50: '#649a80',
    500: '#18704f',
    950: '#000000',
  },
}
SCSS
$custom: #18704f;
$custom-light: #649a80;
$custom-dark: #000000;
JSON
{
  "hex": "#18704f",
  "rgb": {
    "r": 24,
    "g": 112,
    "b": 79
  },
  "hsl": {
    "h": 157.5,
    "s": 64.706,
    "l": 26.667
  },
  "oklch": {
    "l": 0.48619,
    "c": 0.09665,
    "h": 162.7
  },
  "luminance": 0.12347
}

Semantic roles & 50–950 ramp

primary
#18704F
secondary
#A53E65
accent
#407FE8
background
#F6F9F7
surface
#EBF2EE
border
#C6CCC9
text
#060E0A
muted
#7A7E7C

Preview Lab

Preview with #18704F

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

Preview Lab → · Contrast checker → · Palette generator →

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