#398B4E#398B4E

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

Color values

HEX#398B4E
RGBrgb(57, 139, 78)
HSLhsl(135, 42%, 38%)
HSVhsv(135, 59%, 55%)
CMYKcmyk(59%, 0%, 43.9%, 45.5%)
CIE-LABlab(51.71, -38.97, 25.32)
CIE-LCHlch(51.71, 46.47, 146.98°)
OKLaboklab(57.04% -0.1054 0.0625)
OKLCHoklch(57.04% 0.123 149.4)
XYZxyz(12.2942, 19.8840, 10.3964)
Luminance0.1988 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398B4E #8B3976
analogous
#4D8B39 #398B4E #398B77
triadic
#398B4E #4E398B #8B4E39
tetradic
#398B4E #394D8B #8B3976 #8B7739
square
#398B4E #394D8B #8B3976 #8B7739
split-complementary
#398B4E #77398B #8B394D
monochromatic
#15341D #276036 #398B4E #4CB567 #77C78C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##398B4E#FFFFFF#000000##000000
##398B4E1.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)
#8C804A
Deuteranopia (green-blind)
#817852
Tritanopia (blue-blind)
#24897C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #398b4e;
/* rgb */ color: rgb(57, 139, 78);
/* oklch */ color: oklch(57.0% 0.123 149.4);
Tailwind
colors: {
  custom: {
    50: '#77ad80',
    500: '#398b4e',
    950: '#000000',
  },
}
SCSS
$custom: #398b4e;
$custom-light: #77ad80;
$custom-dark: #000000;
JSON
{
  "hex": "#398b4e",
  "rgb": {
    "r": 57,
    "g": 139,
    "b": 78
  },
  "hsl": {
    "h": 135.366,
    "s": 41.837,
    "l": 38.431
  },
  "oklch": {
    "l": 0.57035,
    "c": 0.12255,
    "h": 149.4
  },
  "luminance": 0.19885
}

Semantic roles & 50–950 ramp

primary
#398B4E
secondary
#B06FA0
accent
#56B2D2
background
#F7FAF7
surface
#EEF4EE
border
#C9CEC9
text
#09100A
muted
#7B7F7C

Preview Lab

Preview with #398B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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