#398D4B#398D4B

#398D4B is a mid, vivid green. Relative luminance 0.204; OKLCH L 57.5% C 0.128 H 148.1°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#398D4B
RGBrgb(57, 141, 75)
HSLhsl(133, 42%, 39%)
HSVhsv(133, 60%, 55%)
CMYKcmyk(59.6%, 0%, 46.8%, 44.7%)
CIE-LABlab(52.32, -40.32, 27.73)
CIE-LCHlch(52.32, 48.94, 145.48°)
OKLaboklab(57.52% -0.1091 0.0679)
OKLCHoklch(57.52% 0.128 148.1)
XYZxyz(12.4814, 20.4265, 9.9402)
Luminance0.2043 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398D4B #8D397B
analogous
#518D39 #398D4B #398D75
triadic
#398D4B #4B398D #8D4B39
tetradic
#398D4B #39518D #8D397B #8D7539
square
#398D4B #39518D #8D397B #8D7539
split-complementary
#398D4B #75398D #8D3951
monochromatic
#16361D #276134 #398D4B #4CB763 #78C889

Accessibility & contrast

On white

4.13
#398D4B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#398D4B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398D4B
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398D4B#FFFFFF#000000##000000
##398D4B1.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E8146
Deuteranopia (green-blind)
#837A4F
Tritanopia (blue-blind)
#258A7D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #398d4b;
/* rgb */ color: rgb(57, 141, 75);
/* oklch */ color: oklch(57.5% 0.128 148.1);
Tailwind
colors: {
  custom: {
    50: '#78af7e',
    500: '#398d4b',
    950: '#000000',
  },
}
SCSS
$custom: #398d4b;
$custom-light: #78af7e;
$custom-dark: #000000;
JSON
{
  "hex": "#398d4b",
  "rgb": {
    "r": 57,
    "g": 141,
    "b": 75
  },
  "hsl": {
    "h": 132.857,
    "s": 42.424,
    "l": 38.824
  },
  "oklch": {
    "l": 0.57521,
    "c": 0.12848,
    "h": 148.1
  },
  "luminance": 0.20428
}

Semantic roles & 50–950 ramp

primary
#398D4B
secondary
#B270A4
accent
#56B8D2
background
#F7FAF7
surface
#EEF4EE
border
#C9CEC9
text
#09100A
muted
#7B7F7C

Preview Lab

Preview with #398D4B

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

Preview Lab → · Contrast checker → · Palette generator →

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