#185238#185238

#185238 is a dark, moderate teal. Relative luminance 0.065; OKLCH L 39.3% C 0.075 H 160.3°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#185238
RGBrgb(24, 82, 56)
HSLhsl(153, 55%, 21%)
HSVhsv(153, 71%, 32%)
CMYKcmyk(70.7%, 0%, 31.7%, 67.8%)
CIE-LABlab(30.67, -25.72, 9.91)
CIE-LCHlch(30.67, 27.56, 158.93°)
OKLaboklab(39.34% -0.0703 0.0252)
OKLCHoklch(39.34% 0.075 160.3)
XYZxyz(4.1074, 6.5139, 4.7815)
Luminance0.0651 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#185238 #521832
analogous
#18521B #185238 #184F52
triadic
#185238 #381852 #523818
tetradic
#185238 #1B1852 #521832 #4F5218
square
#185238 #1B1852 #521832 #4F5218
split-complementary
#185238 #52184F #521B18
monochromatic
#071810 #0A2318 #185238 #268158 #34B179

Accessibility & contrast

On white

9.12
#185238 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#185238 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #185238
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##185238#FFFFFF#000000##FFFFFF
##1852381.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514C36
Deuteranopia (green-blind)
#49463A
Tritanopia (blue-blind)
#00524B
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #185238;
/* rgb */ color: rgb(24, 82, 56);
/* oklch */ color: oklch(39.3% 0.075 160.3);
Tailwind
colors: {
  custom: {
    50: '#5d836e',
    500: '#185238',
    950: '#000000',
  },
}
SCSS
$custom: #185238;
$custom-light: #5d836e;
$custom-dark: #000000;
JSON
{
  "hex": "#185238",
  "rgb": {
    "r": 24,
    "g": 82,
    "b": 56
  },
  "hsl": {
    "h": 153.103,
    "s": 54.717,
    "l": 20.784
  },
  "oklch": {
    "l": 0.39339,
    "c": 0.07466,
    "h": 160.3
  },
  "luminance": 0.06514
}

Semantic roles & 50–950 ramp

primary
#185238
secondary
#893D5F
accent
#4A8CDE
background
#F5F8F6
surface
#E9EFEC
border
#C5CAC7
text
#040A07
muted
#797C7A

Preview Lab

Preview with #185238

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

Preview Lab → · Contrast checker → · Palette generator →

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