#398162#398162

#398162 is a mid, moderate teal. Relative luminance 0.175; OKLCH L 54.8% C 0.088 H 162.9°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#398162
RGBrgb(57, 129, 98)
HSLhsl(154, 39%, 36%)
HSVhsv(154, 56%, 51%)
CMYKcmyk(55.8%, 0%, 24%, 49.4%)
CIE-LABlab(48.82, -30.40, 10.10)
CIE-LCHlch(48.82, 32.03, 161.62°)
OKLaboklab(54.81% -0.084 0.0259)
OKLCHoklch(54.81% 0.088 162.9)
XYZxyz(11.7411, 17.4512, 14.3026)
Luminance0.1745 (WCAG relative)
Temperatureneutral
Familyteal

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398162 #813958
analogous
#39813E #398162 #397C81
triadic
#398162 #623981 #816239
tetradic
#398162 #3E3981 #813958 #7C8139
square
#398162 #3E3981 #813958 #7C8139
split-complementary
#398162 #81397C #813E39
monochromatic
#132C22 #265742 #398162 #4CAB82 #73C1A0

Accessibility & contrast

On white

4.68
#398162 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#398162 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #398162
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398162#FFFFFF#000000##FFFFFF
##3981621.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7860
Deuteranopia (green-blind)
#747164
Tritanopia (blue-blind)
#1E8178
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #398162;
/* rgb */ color: rgb(57, 129, 98);
/* oklch */ color: oklch(54.8% 0.088 162.9);
Tailwind
colors: {
  custom: {
    50: '#76a68e',
    500: '#398162',
    950: '#000000',
  },
}
SCSS
$custom: #398162;
$custom-light: #76a68e;
$custom-dark: #000000;
JSON
{
  "hex": "#398162",
  "rgb": {
    "r": 57,
    "g": 129,
    "b": 98
  },
  "hsl": {
    "h": 154.167,
    "s": 38.71,
    "l": 36.471
  },
  "oklch": {
    "l": 0.54807,
    "c": 0.08791,
    "h": 162.9
  },
  "luminance": 0.17452
}

Semantic roles & 50–950 ramp

primary
#398162
secondary
#AA6B87
accent
#598CCF
background
#F7FAF8
surface
#EDF4F0
border
#C8CECB
text
#090F0C
muted
#7B7F7D

Preview Lab

Preview with #398162

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

Preview Lab → · Contrast checker → · Palette generator →

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