#398F4E#398F4E

#398F4E is a mid, vivid green. Relative luminance 0.211; OKLCH L 58.1% C 0.128 H 148.9°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#398F4E
RGBrgb(57, 143, 78)
HSLhsl(135, 43%, 39%)
HSVhsv(135, 60%, 56%)
CMYKcmyk(60.1%, 0%, 45.5%, 43.9%)
CIE-LABlab(53.02, -40.65, 27.01)
CIE-LCHlch(53.02, 48.81, 146.39°)
OKLaboklab(58.11% -0.1099 0.0664)
OKLCHoklch(58.11% 0.128 148.9)
XYZxyz(12.8840, 21.0636, 10.5930)
Luminance0.2107 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398F4E #8F397A
analogous
#4F8F39 #398F4E #398F79
triadic
#398F4E #4E398F #8F4E39
tetradic
#398F4E #394F8F #8F397A #8F7939
square
#398F4E #394F8F #8F397A #8F7939
split-complementary
#398F4E #79398F #8F394F
monochromatic
#16371E #286336 #398F4E #4DB867 #79CA8D

Accessibility & contrast

On white

4.03
#398F4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#398F4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398F4E
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398F4E#FFFFFF#000000##000000
##398F4E1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#908349
Deuteranopia (green-blind)
#857B52
Tritanopia (blue-blind)
#238C7F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #398f4e;
/* rgb */ color: rgb(57, 143, 78);
/* oklch */ color: oklch(58.1% 0.128 148.9);
Tailwind
colors: {
  custom: {
    50: '#78b080',
    500: '#398f4e',
    950: '#000000',
  },
}
SCSS
$custom: #398f4e;
$custom-light: #78b080;
$custom-dark: #000000;
JSON
{
  "hex": "#398f4e",
  "rgb": {
    "r": 57,
    "g": 143,
    "b": 78
  },
  "hsl": {
    "h": 134.651,
    "s": 43,
    "l": 39.216
  },
  "oklch": {
    "l": 0.58114,
    "c": 0.1284,
    "h": 148.9
  },
  "luminance": 0.21065
}

Semantic roles & 50–950 ramp

primary
#398F4E
secondary
#B371A3
accent
#55B4D3
background
#F7FAF7
surface
#EEF5EE
border
#C9CFC9
text
#09110A
muted
#7B807C

Preview Lab

Preview with #398F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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