#398F52#398F52

#398F52 is a mid, vivid green. Relative luminance 0.211; OKLCH L 58.2% C 0.124 H 150.3°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#398F52
RGBrgb(57, 143, 82)
HSLhsl(137, 43%, 39%)
HSVhsv(137, 60%, 56%)
CMYKcmyk(60.1%, 0%, 42.7%, 43.9%)
CIE-LABlab(53.08, -39.95, 24.92)
CIE-LCHlch(53.08, 47.09, 148.04°)
OKLaboklab(58.19% -0.1081 0.0617)
OKLCHoklch(58.19% 0.124 150.3)
XYZxyz(13.0318, 21.1227, 11.3713)
Luminance0.2112 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398F52 #8F3976
analogous
#4B8F39 #398F52 #398F7D
triadic
#398F52 #52398F #8F5239
tetradic
#398F52 #394B8F #8F3976 #8F7D39
square
#398F52 #394B8F #8F3976 #8F7D39
split-complementary
#398F52 #7D398F #8F394B
monochromatic
#163720 #286339 #398F52 #4DB86C #79CA90

Accessibility & contrast

On white

4.02
#398F52 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#398F52 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398F52
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398F52#FFFFFF#000000##000000
##398F521.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#90844E
Deuteranopia (green-blind)
#847C56
Tritanopia (blue-blind)
#218D80
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #398f52;
/* rgb */ color: rgb(57, 143, 82);
/* oklch */ color: oklch(58.2% 0.124 150.3);
Tailwind
colors: {
  custom: {
    50: '#78b083',
    500: '#398f52',
    950: '#000000',
  },
}
SCSS
$custom: #398f52;
$custom-light: #78b083;
$custom-dark: #000000;
JSON
{
  "hex": "#398f52",
  "rgb": {
    "r": 57,
    "g": 143,
    "b": 82
  },
  "hsl": {
    "h": 137.442,
    "s": 43,
    "l": 39.216
  },
  "oklch": {
    "l": 0.58188,
    "c": 0.12443,
    "h": 150.3
  },
  "luminance": 0.21124
}

Semantic roles & 50–950 ramp

primary
#398F52
secondary
#B371A0
accent
#55AED3
background
#F7FAF8
surface
#EEF5EF
border
#C9CFCA
text
#09110A
muted
#7B807C

Preview Lab

Preview with #398F52

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

Preview Lab → · Contrast checker → · Palette generator →

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