#398B5D#398B5D

#398B5D is a mid, moderate green. Relative luminance 0.201; OKLCH L 57.3% C 0.108 H 156.0°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#398B5D
RGBrgb(57, 139, 93)
HSLhsl(146, 42%, 38%)
HSVhsv(146, 59%, 55%)
CMYKcmyk(59%, 0%, 33.1%, 45.5%)
CIE-LABlab(51.98, -36.09, 17.33)
CIE-LCHlch(51.98, 40.03, 154.35°)
OKLaboklab(57.35% -0.0982 0.0438)
OKLCHoklch(57.35% 0.108 156)
XYZxyz(12.8947, 20.1242, 13.5586)
Luminance0.2013 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398B5D #8B3967
analogous
#3E8B39 #398B5D #398B86
triadic
#398B5D #5D398B #8B5D39
tetradic
#398B5D #393E8B #8B3967 #8B8639
square
#398B5D #393E8B #8B3967 #8B8639
split-complementary
#398B5D #86398B #8B393E
monochromatic
#153423 #276040 #398B5D #4CB57A #77C79A

Accessibility & contrast

On white

4.18
#398B5D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#398B5D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398B5D
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398B5D#FFFFFF#000000##000000
##398B5D1.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A815A
Deuteranopia (green-blind)
#7F7960
Tritanopia (blue-blind)
#1D8A7F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #398b5d;
/* rgb */ color: rgb(57, 139, 93);
/* oklch */ color: oklch(57.3% 0.108 156.0);
Tailwind
colors: {
  custom: {
    50: '#77ad8b',
    500: '#398b5d',
    950: '#000000',
  },
}
SCSS
$custom: #398b5d;
$custom-light: #77ad8b;
$custom-dark: #000000;
JSON
{
  "hex": "#398b5d",
  "rgb": {
    "r": 57,
    "g": 139,
    "b": 93
  },
  "hsl": {
    "h": 146.341,
    "s": 41.837,
    "l": 38.431
  },
  "oklch": {
    "l": 0.57347,
    "c": 0.10756,
    "h": 156
  },
  "luminance": 0.20125
}

Semantic roles & 50–950 ramp

primary
#398B5D
secondary
#B06F94
accent
#569BD2
background
#F7FAF8
surface
#EEF4F0
border
#C9CECB
text
#09100C
muted
#7B7F7D

Preview Lab

Preview with #398B5D

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

Preview Lab → · Contrast checker → · Palette generator →

#398B5D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva