#398A4F#398A4F

#398A4F is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.8% C 0.120 H 149.9°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#398A4F
RGBrgb(57, 138, 79)
HSLhsl(136, 42%, 38%)
HSVhsv(136, 59%, 54%)
CMYKcmyk(58.7%, 0%, 42.8%, 45.9%)
CIE-LABlab(51.39, -38.37, 24.37)
CIE-LCHlch(51.39, 45.45, 147.58°)
OKLaboklab(56.79% -0.1038 0.0603)
OKLCHoklch(56.79% 0.12 149.9)
XYZxyz(12.1862, 19.6102, 10.5386)
Luminance0.1961 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398A4F #8A3974
analogous
#4C8A39 #398A4F #398A77
triadic
#398A4F #4F398A #8A4F39
tetradic
#398A4F #394C8A #8A3974 #8A7739
square
#398A4F #394C8A #8A3974 #8A7739
split-complementary
#398A4F #77398A #8A394C
monochromatic
#15331D #275F36 #398A4F #4BB568 #77C78C

Accessibility & contrast

On white

4.27
#398A4F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#398A4F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398A4F
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398A4F#FFFFFF#000000##000000
##398A4F1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7F4B
Deuteranopia (green-blind)
#807753
Tritanopia (blue-blind)
#24887B
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #398a4f;
/* rgb */ color: rgb(57, 138, 79);
/* oklch */ color: oklch(56.8% 0.120 149.9);
Tailwind
colors: {
  custom: {
    50: '#77ad81',
    500: '#398a4f',
    950: '#000000',
  },
}
SCSS
$custom: #398a4f;
$custom-light: #77ad81;
$custom-dark: #000000;
JSON
{
  "hex": "#398a4f",
  "rgb": {
    "r": 57,
    "g": 138,
    "b": 79
  },
  "hsl": {
    "h": 136.296,
    "s": 41.538,
    "l": 38.235
  },
  "oklch": {
    "l": 0.56785,
    "c": 0.12007,
    "h": 149.9
  },
  "luminance": 0.19611
}

Semantic roles & 50–950 ramp

primary
#398A4F
secondary
#B06F9E
accent
#56B0D1
background
#F7FAF7
surface
#EEF4EE
border
#C9CEC9
text
#09100A
muted
#7B7F7C

Preview Lab

Preview with #398A4F

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

Preview Lab → · Contrast checker → · Palette generator →

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