#398D4F#398D4F

#398D4F is a mid, vivid green. Relative luminance 0.205; OKLCH L 57.6% C 0.124 H 149.5°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#398D4F
RGBrgb(57, 141, 79)
HSLhsl(136, 42%, 39%)
HSVhsv(136, 60%, 55%)
CMYKcmyk(59.6%, 0%, 44%, 44.7%)
CIE-LABlab(52.38, -39.64, 25.65)
CIE-LCHlch(52.38, 47.21, 147.10°)
OKLaboklab(57.59% -0.1072 0.0633)
OKLCHoklch(57.59% 0.124 149.5)
XYZxyz(12.6226, 20.4830, 10.6840)
Luminance0.2048 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398D4F #8D3977
analogous
#4D8D39 #398D4F #398D79
triadic
#398D4F #4F398D #8D4F39
tetradic
#398D4F #394D8D #8D3977 #8D7939
square
#398D4F #394D8D #8D3977 #8D7939
split-complementary
#398D4F #79398D #8D394D
monochromatic
#16361E #276137 #398D4F #4CB768 #78C88D

Accessibility & contrast

On white

4.12
#398D4F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#398D4F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398D4F
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398D4F#FFFFFF#000000##000000
##398D4F1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E824A
Deuteranopia (green-blind)
#837A53
Tritanopia (blue-blind)
#238B7E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #398d4f;
/* rgb */ color: rgb(57, 141, 79);
/* oklch */ color: oklch(57.6% 0.124 149.5);
Tailwind
colors: {
  custom: {
    50: '#78af81',
    500: '#398d4f',
    950: '#000000',
  },
}
SCSS
$custom: #398d4f;
$custom-light: #78af81;
$custom-dark: #000000;
JSON
{
  "hex": "#398d4f",
  "rgb": {
    "r": 57,
    "g": 141,
    "b": 79
  },
  "hsl": {
    "h": 135.714,
    "s": 42.424,
    "l": 38.824
  },
  "oklch": {
    "l": 0.57594,
    "c": 0.12449,
    "h": 149.5
  },
  "luminance": 0.20484
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #398D4F

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

Preview Lab → · Contrast checker → · Palette generator →

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