#398B4F#398B4F

#398B4F is a mid, vivid green. Relative luminance 0.199; OKLCH L 57.1% C 0.122 H 149.7°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#398B4F
RGBrgb(57, 139, 79)
HSLhsl(136, 42%, 38%)
HSVhsv(136, 59%, 55%)
CMYKcmyk(59%, 0%, 43.2%, 45.5%)
CIE-LABlab(51.72, -38.79, 24.80)
CIE-LCHlch(51.72, 46.04, 147.41°)
OKLaboklab(57.05% -0.105 0.0613)
OKLCHoklch(57.05% 0.122 149.7)
XYZxyz(12.3304, 19.8985, 10.5866)
Luminance0.1990 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398B4F #8B3975
analogous
#4C8B39 #398B4F #398B78
triadic
#398B4F #4F398B #8B4F39
tetradic
#398B4F #394C8B #8B3975 #8B7839
square
#398B4F #394C8B #8B3975 #8B7839
split-complementary
#398B4F #78398B #8B394C
monochromatic
#15341E #276036 #398B4F #4CB568 #77C78D

Accessibility & contrast

On white

4.22
#398B4F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#398B4F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398B4F
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398B4F#FFFFFF#000000##000000
##398B4F1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C804B
Deuteranopia (green-blind)
#817853
Tritanopia (blue-blind)
#24897C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #398b4f;
/* rgb */ color: rgb(57, 139, 79);
/* oklch */ color: oklch(57.1% 0.122 149.7);
Tailwind
colors: {
  custom: {
    50: '#77ad81',
    500: '#398b4f',
    950: '#000000',
  },
}
SCSS
$custom: #398b4f;
$custom-light: #77ad81;
$custom-dark: #000000;
JSON
{
  "hex": "#398b4f",
  "rgb": {
    "r": 57,
    "g": 139,
    "b": 79
  },
  "hsl": {
    "h": 136.098,
    "s": 41.837,
    "l": 38.431
  },
  "oklch": {
    "l": 0.57054,
    "c": 0.12155,
    "h": 149.7
  },
  "luminance": 0.199
}

Semantic roles & 50–950 ramp

primary
#398B4F
secondary
#B06F9F
accent
#56B1D2
background
#F7FAF7
surface
#EEF4EE
border
#C9CEC9
text
#09100A
muted
#7B7F7C

Preview Lab

Preview with #398B4F

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

Preview Lab → · Contrast checker → · Palette generator →

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