#398E5B#398E5B

#398E5B is a mid, moderate green. Relative luminance 0.210; OKLCH L 58.1% C 0.114 H 154.2°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#398E5B
RGBrgb(57, 142, 91)
HSLhsl(144, 43%, 39%)
HSVhsv(144, 60%, 56%)
CMYKcmyk(59.9%, 0%, 35.9%, 44.3%)
CIE-LABlab(52.92, -37.81, 19.72)
CIE-LCHlch(52.92, 42.65, 152.45°)
OKLaboklab(58.1% -0.1026 0.0495)
OKLCHoklch(58.1% 0.114 154.2)
XYZxyz(13.2476, 20.9699, 13.2450)
Luminance0.2097 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398E5B #8E396C
analogous
#428E39 #398E5B #398E86
triadic
#398E5B #5B398E #8E5B39
tetradic
#398E5B #39428E #8E396C #8E8639
square
#398E5B #39428E #8E396C #8E8639
split-complementary
#398E5B #86398E #8E3942
monochromatic
#163723 #27623F #398E5B #4DB777 #78C999

Accessibility & contrast

On white

4.04
#398E5B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#398E5B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398E5B
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398E5B#FFFFFF#000000##000000
##398E5B1.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E8358
Deuteranopia (green-blind)
#827B5E
Tritanopia (blue-blind)
#1C8C81
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #398e5b;
/* rgb */ color: rgb(57, 142, 91);
/* oklch */ color: oklch(58.1% 0.114 154.2);
Tailwind
colors: {
  custom: {
    50: '#78b089',
    500: '#398e5b',
    950: '#000000',
  },
}
SCSS
$custom: #398e5b;
$custom-light: #78b089;
$custom-dark: #000000;
JSON
{
  "hex": "#398e5b",
  "rgb": {
    "r": 57,
    "g": 142,
    "b": 91
  },
  "hsl": {
    "h": 144,
    "s": 42.714,
    "l": 39.02
  },
  "oklch": {
    "l": 0.58104,
    "c": 0.11398,
    "h": 154.2
  },
  "luminance": 0.20971
}

Semantic roles & 50–950 ramp

primary
#398E5B
secondary
#B27198
accent
#55A0D2
background
#F7FAF8
surface
#EEF5F0
border
#C9CFCB
text
#09100B
muted
#7B7F7C

Preview Lab

Preview with #398E5B

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

Preview Lab → · Contrast checker → · Palette generator →

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