#398F5D#398F5D

#398F5D is a mid, moderate green. Relative luminance 0.213; OKLCH L 58.4% C 0.113 H 154.9°. Best body text is #000000 at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#398F5D
RGBrgb(57, 143, 93)
HSLhsl(145, 43%, 39%)
HSVhsv(145, 60%, 56%)
CMYKcmyk(60.1%, 0%, 35%, 43.9%)
CIE-LABlab(53.28, -37.85, 19.10)
CIE-LCHlch(53.28, 42.39, 153.23°)
OKLaboklab(58.41% -0.1028 0.0481)
OKLCHoklch(58.41% 0.113 154.9)
XYZxyz(13.4845, 21.3038, 13.7552)
Luminance0.2130 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398F5D #8F396B
analogous
#408F39 #398F5D #398F88
triadic
#398F5D #5D398F #8F5D39
tetradic
#398F5D #39408F #8F396B #8F8839
square
#398F5D #39408F #8F396B #8F8839
split-complementary
#398F5D #88398F #8F3940
monochromatic
#163724 #286341 #398F5D #4DB87A #79CA9B

Accessibility & contrast

On white

3.99
#398F5D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.26
#398F5D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398F5D
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398F5D#FFFFFF#000000##000000
##398F5D1.003.995.265.26
#FFFFFF3.991.0021.0021.00
#0000005.2621.001.001.00
##0000005.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F845A
Deuteranopia (green-blind)
#837C60
Tritanopia (blue-blind)
#1B8E82
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #398f5d;
/* rgb */ color: rgb(57, 143, 93);
/* oklch */ color: oklch(58.4% 0.113 154.9);
Tailwind
colors: {
  custom: {
    50: '#78b08b',
    500: '#398f5d',
    950: '#000000',
  },
}
SCSS
$custom: #398f5d;
$custom-light: #78b08b;
$custom-dark: #000000;
JSON
{
  "hex": "#398f5d",
  "rgb": {
    "r": 57,
    "g": 143,
    "b": 93
  },
  "hsl": {
    "h": 145.116,
    "s": 43,
    "l": 39.216
  },
  "oklch": {
    "l": 0.58414,
    "c": 0.11349,
    "h": 154.9
  },
  "luminance": 0.21305
}

Semantic roles & 50–950 ramp

primary
#398F5D
secondary
#B37197
accent
#559ED3
background
#F7FAF8
surface
#EEF5F0
border
#C9CFCB
text
#09110C
muted
#7B807D

Preview Lab

Preview with #398F5D

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

Preview Lab → · Contrast checker → · Palette generator →

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