#18523F#18523F

#18523F is a dark, moderate teal. Relative luminance 0.066; OKLCH L 39.5% C 0.068 H 167.5°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#18523F
RGBrgb(24, 82, 63)
HSLhsl(160, 55%, 21%)
HSVhsv(160, 71%, 32%)
CMYKcmyk(70.7%, 0%, 23.2%, 67.8%)
CIE-LABlab(30.85, -23.90, 5.75)
CIE-LCHlch(30.85, 24.58, 166.47°)
OKLaboklab(39.54% -0.0664 0.0147)
OKLCHoklch(39.54% 0.068 167.5)
XYZxyz(4.2907, 6.5872, 5.7470)
Luminance0.0659 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#18523F #52182B
analogous
#185222 #18523F #184852
triadic
#18523F #3F1852 #523F18
tetradic
#18523F #221852 #52182B #485218
square
#18523F #221852 #52182B #485218
split-complementary
#18523F #521848 #522218
monochromatic
#071812 #0A231B #18523F #268163 #34B188

Accessibility & contrast

On white

9.06
#18523F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#18523F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #18523F
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##18523F#FFFFFF#000000##FFFFFF
##18523F1.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504C3E
Deuteranopia (green-blind)
#484640
Tritanopia (blue-blind)
#00524D
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #18523f;
/* rgb */ color: rgb(24, 82, 63);
/* oklch */ color: oklch(39.5% 0.068 167.5);
Tailwind
colors: {
  custom: {
    50: '#5d8374',
    500: '#18523f',
    950: '#000000',
  },
}
SCSS
$custom: #18523f;
$custom-light: #5d8374;
$custom-dark: #000000;
JSON
{
  "hex": "#18523f",
  "rgb": {
    "r": 24,
    "g": 82,
    "b": 63
  },
  "hsl": {
    "h": 160.345,
    "s": 54.717,
    "l": 20.784
  },
  "oklch": {
    "l": 0.3954,
    "c": 0.06806,
    "h": 167.5
  },
  "luminance": 0.06588
}

Semantic roles & 50–950 ramp

primary
#18523F
secondary
#893D56
accent
#4A7ADE
background
#F5F8F7
surface
#E9EFED
border
#C5CAC8
text
#050A08
muted
#797C7B

Preview Lab

Preview with #18523F

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

Preview Lab → · Contrast checker → · Palette generator →

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