#398D5F#398D5F

#398D5F is a mid, moderate green. Relative luminance 0.207; OKLCH L 57.9% C 0.109 H 156.5°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#398D5F
RGBrgb(57, 141, 95)
HSLhsl(147, 42%, 39%)
HSVhsv(147, 60%, 55%)
CMYKcmyk(59.6%, 0%, 32.6%, 44.7%)
CIE-LABlab(52.67, -36.56, 17.14)
CIE-LCHlch(52.67, 40.38, 154.88°)
OKLaboklab(57.93% -0.0996 0.0433)
OKLCHoklch(57.93% 0.109 156.5)
XYZxyz(13.2767, 20.7446, 14.1287)
Luminance0.2075 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398D5F #8D3967
analogous
#3D8D39 #398D5F #398D89
triadic
#398D5F #5F398D #8D5F39
tetradic
#398D5F #393D8D #8D3967 #8D8939
square
#398D5F #393D8D #8D3967 #8D8939
split-complementary
#398D5F #89398D #8D393D
monochromatic
#163624 #276142 #398D5F #4CB77D #78C89C

Accessibility & contrast

On white

4.08
#398D5F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#398D5F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398D5F
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398D5F#FFFFFF#000000##000000
##398D5F1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C835C
Deuteranopia (green-blind)
#817A62
Tritanopia (blue-blind)
#1A8C81
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #398d5f;
/* rgb */ color: rgb(57, 141, 95);
/* oklch */ color: oklch(57.9% 0.109 156.5);
Tailwind
colors: {
  custom: {
    50: '#77af8c',
    500: '#398d5f',
    950: '#000000',
  },
}
SCSS
$custom: #398d5f;
$custom-light: #77af8c;
$custom-dark: #000000;
JSON
{
  "hex": "#398d5f",
  "rgb": {
    "r": 57,
    "g": 141,
    "b": 95
  },
  "hsl": {
    "h": 147.143,
    "s": 42.424,
    "l": 38.824
  },
  "oklch": {
    "l": 0.57926,
    "c": 0.10858,
    "h": 156.5
  },
  "luminance": 0.20746
}

Semantic roles & 50–950 ramp

primary
#398D5F
secondary
#B27094
accent
#569AD2
background
#F7FAF8
surface
#EEF4F0
border
#C9CECB
text
#09100C
muted
#7B7F7D

Preview Lab

Preview with #398D5F

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

Preview Lab → · Contrast checker → · Palette generator →

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