#398E52#398E52

#398E52 is a mid, vivid green. Relative luminance 0.208; OKLCH L 57.9% C 0.123 H 150.4°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#398E52
RGBrgb(57, 142, 82)
HSLhsl(138, 43%, 39%)
HSVhsv(138, 60%, 56%)
CMYKcmyk(59.9%, 0%, 42.3%, 44.3%)
CIE-LABlab(52.76, -39.53, 24.50)
CIE-LCHlch(52.76, 46.50, 148.21°)
OKLaboklab(57.92% -0.1069 0.0607)
OKLCHoklch(57.92% 0.123 150.4)
XYZxyz(12.8824, 20.8238, 11.3215)
Luminance0.2082 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398E52 #8E3975
analogous
#4B8E39 #398E52 #398E7D
triadic
#398E52 #52398E #8E5239
tetradic
#398E52 #394B8E #8E3975 #8E7D39
square
#398E52 #394B8E #8E3975 #8E7D39
split-complementary
#398E52 #7D398E #8E394B
monochromatic
#163720 #276239 #398E52 #4DB76C #78C990

Accessibility & contrast

On white

4.07
#398E52 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#398E52 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398E52
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398E52#FFFFFF#000000##000000
##398E521.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F834E
Deuteranopia (green-blind)
#837B56
Tritanopia (blue-blind)
#218C7F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #398e52;
/* rgb */ color: rgb(57, 142, 82);
/* oklch */ color: oklch(57.9% 0.123 150.4);
Tailwind
colors: {
  custom: {
    50: '#78b083',
    500: '#398e52',
    950: '#000000',
  },
}
SCSS
$custom: #398e52;
$custom-light: #78b083;
$custom-dark: #000000;
JSON
{
  "hex": "#398e52",
  "rgb": {
    "r": 57,
    "g": 142,
    "b": 82
  },
  "hsl": {
    "h": 137.647,
    "s": 42.714,
    "l": 39.02
  },
  "oklch": {
    "l": 0.57919,
    "c": 0.12296,
    "h": 150.4
  },
  "luminance": 0.20825
}

Semantic roles & 50–950 ramp

primary
#398E52
secondary
#B2719F
accent
#55AED2
background
#F7FAF8
surface
#EEF5EF
border
#C9CFCA
text
#09100A
muted
#7B7F7C

Preview Lab

Preview with #398E52

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

Preview Lab → · Contrast checker → · Palette generator →

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