#398E4A#398E4A

#398E4A is a mid, vivid green. Relative luminance 0.207; OKLCH L 57.8% C 0.131 H 147.7°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#398E4A
RGBrgb(57, 142, 74)
HSLhsl(132, 43%, 39%)
HSVhsv(132, 60%, 56%)
CMYKcmyk(59.9%, 0%, 47.9%, 44.3%)
CIE-LABlab(52.63, -40.90, 28.66)
CIE-LCHlch(52.63, 49.95, 144.98°)
OKLaboklab(57.77% -0.1106 0.07)
OKLCHoklch(57.77% 0.131 147.7)
XYZxyz(12.5955, 20.7091, 9.8107)
Luminance0.2071 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398E4A #8E397D
analogous
#538E39 #398E4A #398E75
triadic
#398E4A #4A398E #8E4A39
tetradic
#398E4A #39538E #8E397D #8E7539
square
#398E4A #39538E #8E397D #8E7539
split-complementary
#398E4A #75398E #8E3953
monochromatic
#16371C #276233 #398E4A #4DB762 #78C989

Accessibility & contrast

On white

4.08
#398E4A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#398E4A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398E4A
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398E4A#FFFFFF#000000##000000
##398E4A1.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#908245
Deuteranopia (green-blind)
#847B4F
Tritanopia (blue-blind)
#258B7E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #398e4a;
/* rgb */ color: rgb(57, 142, 74);
/* oklch */ color: oklch(57.8% 0.131 147.7);
Tailwind
colors: {
  custom: {
    50: '#78b07e',
    500: '#398e4a',
    950: '#000000',
  },
}
SCSS
$custom: #398e4a;
$custom-light: #78b07e;
$custom-dark: #000000;
JSON
{
  "hex": "#398e4a",
  "rgb": {
    "r": 57,
    "g": 142,
    "b": 74
  },
  "hsl": {
    "h": 132,
    "s": 42.714,
    "l": 39.02
  },
  "oklch": {
    "l": 0.57774,
    "c": 0.13091,
    "h": 147.7
  },
  "luminance": 0.2071
}

Semantic roles & 50–950 ramp

primary
#398E4A
secondary
#B271A5
accent
#55B9D2
background
#F7FAF7
surface
#EEF5EE
border
#C9CFC9
text
#09100A
muted
#7B7F7C

Preview Lab

Preview with #398E4A

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

Preview Lab → · Contrast checker → · Palette generator →

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