#398E5F#398E5F

#398E5F is a mid, moderate green. Relative luminance 0.210; OKLCH L 58.2% C 0.110 H 156.2°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#398E5F
RGBrgb(57, 142, 95)
HSLhsl(147, 43%, 39%)
HSVhsv(147, 60%, 56%)
CMYKcmyk(59.9%, 0%, 33.1%, 44.3%)
CIE-LABlab(52.99, -37.00, 17.58)
CIE-LCHlch(52.99, 40.96, 154.58°)
OKLaboklab(58.19% -0.1007 0.0444)
OKLCHoklch(58.19% 0.11 156.2)
XYZxyz(13.4248, 21.0408, 14.1781)
Luminance0.2104 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398E5F #8E3968
analogous
#3D8E39 #398E5F #398E8A
triadic
#398E5F #5F398E #8E5F39
tetradic
#398E5F #393D8E #8E3968 #8E8A39
square
#398E5F #393D8E #8E3968 #8E8A39
split-complementary
#398E5F #8A398E #8E393D
monochromatic
#163725 #276242 #398E5F #4DB77C #78C99C

Accessibility & contrast

On white

4.03
#398E5F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#398E5F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398E5F
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398E5F#FFFFFF#000000##000000
##398E5F1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D835C
Deuteranopia (green-blind)
#827B62
Tritanopia (blue-blind)
#1A8D82
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #398e5f;
/* rgb */ color: rgb(57, 142, 95);
/* oklch */ color: oklch(58.2% 0.110 156.2);
Tailwind
colors: {
  custom: {
    50: '#78b08c',
    500: '#398e5f',
    950: '#000000',
  },
}
SCSS
$custom: #398e5f;
$custom-light: #78b08c;
$custom-dark: #000000;
JSON
{
  "hex": "#398e5f",
  "rgb": {
    "r": 57,
    "g": 142,
    "b": 95
  },
  "hsl": {
    "h": 146.824,
    "s": 42.714,
    "l": 39.02
  },
  "oklch": {
    "l": 0.58193,
    "c": 0.11007,
    "h": 156.2
  },
  "luminance": 0.21042
}

Semantic roles & 50–950 ramp

primary
#398E5F
secondary
#B27195
accent
#559BD2
background
#F7FAF8
surface
#EEF5F0
border
#C9CFCB
text
#09100C
muted
#7B7F7D

Preview Lab

Preview with #398E5F

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

Preview Lab → · Contrast checker → · Palette generator →

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