#398D3F#398D3F

#398D3F is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.3% C 0.140 H 144.7°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#398D3F
RGBrgb(57, 141, 63)
HSLhsl(124, 42%, 39%)
HSVhsv(124, 60%, 55%)
CMYKcmyk(59.6%, 0%, 55.3%, 44.7%)
CIE-LABlab(52.15, -42.16, 33.81)
CIE-LCHlch(52.15, 54.04, 141.27°)
OKLaboklab(57.33% -0.1143 0.0809)
OKLCHoklch(57.33% 0.14 144.7)
XYZxyz(12.1087, 20.2774, 7.9775)
Luminance0.2028 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398D3F #8D3987
analogous
#5D8D39 #398D3F #398D69
triadic
#398D3F #3F398D #8D3F39
tetradic
#398D3F #395D8D #8D3987 #8D6939
square
#398D3F #395D8D #8D3987 #8D6939
split-complementary
#398D3F #69398D #8D395D
monochromatic
#163618 #27612C #398D3F #4CB754 #78C87E

Accessibility & contrast

On white

4.15
#398D3F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#398D3F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398D3F
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398D3F#FFFFFF#000000##000000
##398D3F1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F8138
Deuteranopia (green-blind)
#857A45
Tritanopia (blue-blind)
#29897B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #398d3f;
/* rgb */ color: rgb(57, 141, 63);
/* oklch */ color: oklch(57.3% 0.140 144.7);
Tailwind
colors: {
  custom: {
    50: '#78af76',
    500: '#398d3f',
    950: '#000000',
  },
}
SCSS
$custom: #398d3f;
$custom-light: #78af76;
$custom-dark: #000000;
JSON
{
  "hex": "#398d3f",
  "rgb": {
    "r": 57,
    "g": 141,
    "b": 63
  },
  "hsl": {
    "h": 124.286,
    "s": 42.424,
    "l": 38.824
  },
  "oklch": {
    "l": 0.5733,
    "c": 0.14002,
    "h": 144.7
  },
  "luminance": 0.20278
}

Semantic roles & 50–950 ramp

primary
#398D3F
secondary
#B270AD
accent
#56C9D2
background
#F7FAF7
surface
#EEF5ED
border
#C9CFC8
text
#0A1008
muted
#7C7F7B

Preview Lab

Preview with #398D3F

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

Preview Lab → · Contrast checker → · Palette generator →

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