#398D5D#398D5D

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

Color values

HEX#398D5D
RGBrgb(57, 141, 93)
HSLhsl(146, 42%, 39%)
HSVhsv(146, 60%, 55%)
CMYKcmyk(59.6%, 0%, 34%, 44.7%)
CIE-LABlab(52.63, -36.97, 18.21)
CIE-LCHlch(52.63, 41.21, 153.77°)
OKLaboklab(57.88% -0.1005 0.0459)
OKLCHoklch(57.88% 0.111 155.4)
XYZxyz(13.1869, 20.7087, 13.6560)
Luminance0.2071 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398D5D #8D3969
analogous
#3F8D39 #398D5D #398D87
triadic
#398D5D #5D398D #8D5D39
tetradic
#398D5D #393F8D #8D3969 #8D8739
square
#398D5D #393F8D #8D3969 #8D8739
split-complementary
#398D5D #87398D #8D393F
monochromatic
#163624 #276140 #398D5D #4CB77A #78C89A

Accessibility & contrast

On white

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

On black

5.14
#398D5D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398D5D
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398D5D#FFFFFF#000000##000000
##398D5D1.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C825A
Deuteranopia (green-blind)
#817A60
Tritanopia (blue-blind)
#1C8C80
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #398d5d;
/* rgb */ color: rgb(57, 141, 93);
/* oklch */ color: oklch(57.9% 0.111 155.4);
Tailwind
colors: {
  custom: {
    50: '#77af8b',
    500: '#398d5d',
    950: '#000000',
  },
}
SCSS
$custom: #398d5d;
$custom-light: #77af8b;
$custom-dark: #000000;
JSON
{
  "hex": "#398d5d",
  "rgb": {
    "r": 57,
    "g": 141,
    "b": 93
  },
  "hsl": {
    "h": 145.714,
    "s": 42.424,
    "l": 38.824
  },
  "oklch": {
    "l": 0.57881,
    "c": 0.11053,
    "h": 155.4
  },
  "luminance": 0.2071
}

Semantic roles & 50–950 ramp

primary
#398D5D
secondary
#B27096
accent
#569DD2
background
#F7FAF8
surface
#EEF4F0
border
#C9CECB
text
#09100C
muted
#7B7F7D

Preview Lab

Preview with #398D5D

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

Preview Lab → · Contrast checker → · Palette generator →

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