#398D5B#398D5B

#398D5B is a mid, moderate green. Relative luminance 0.207; OKLCH L 57.8% C 0.113 H 154.5°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#398D5B
RGBrgb(57, 141, 91)
HSLhsl(144, 42%, 39%)
HSVhsv(144, 60%, 55%)
CMYKcmyk(59.6%, 0%, 35.5%, 44.7%)
CIE-LABlab(52.59, -37.38, 19.29)
CIE-LCHlch(52.59, 42.06, 152.71°)
OKLaboklab(57.84% -0.1015 0.0485)
OKLCHoklch(57.84% 0.113 154.5)
XYZxyz(13.0995, 20.6737, 13.1956)
Luminance0.2067 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398D5B #8D396B
analogous
#418D39 #398D5B #398D85
triadic
#398D5B #5B398D #8D5B39
tetradic
#398D5B #39418D #8D396B #8D8539
square
#398D5B #39418D #8D396B #8D8539
split-complementary
#398D5B #85398D #8D3941
monochromatic
#163623 #27613F #398D5B #4CB777 #78C899

Accessibility & contrast

On white

4.09
#398D5B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#398D5B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398D5B
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398D5B#FFFFFF#000000##000000
##398D5B1.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D8258
Deuteranopia (green-blind)
#817A5E
Tritanopia (blue-blind)
#1D8B80
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #398d5b;
/* rgb */ color: rgb(57, 141, 91);
/* oklch */ color: oklch(57.8% 0.113 154.5);
Tailwind
colors: {
  custom: {
    50: '#77af89',
    500: '#398d5b',
    950: '#000000',
  },
}
SCSS
$custom: #398d5b;
$custom-light: #77af89;
$custom-dark: #000000;
JSON
{
  "hex": "#398d5b",
  "rgb": {
    "r": 57,
    "g": 141,
    "b": 91
  },
  "hsl": {
    "h": 144.286,
    "s": 42.424,
    "l": 38.824
  },
  "oklch": {
    "l": 0.57836,
    "c": 0.1125,
    "h": 154.5
  },
  "luminance": 0.20675
}

Semantic roles & 50–950 ramp

primary
#398D5B
secondary
#B27097
accent
#56A0D2
background
#F7FAF8
surface
#EEF4F0
border
#C9CECB
text
#09100B
muted
#7B7F7C

Preview Lab

Preview with #398D5B

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

Preview Lab → · Contrast checker → · Palette generator →

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