#398147#398147

#398147 is a mid, moderate green. Relative luminance 0.170; OKLCH L 54.2% C 0.115 H 147.9°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#398147
RGBrgb(57, 129, 71)
HSLhsl(132, 39%, 36%)
HSVhsv(132, 56%, 51%)
CMYKcmyk(55.8%, 0%, 45%, 49.4%)
CIE-LABlab(48.29, -35.88, 24.76)
CIE-LCHlch(48.29, 43.60, 145.40°)
OKLaboklab(54.2% -0.0972 0.0609)
OKLCHoklch(54.2% 0.115 147.9)
XYZxyz(10.6742, 17.0244, 8.6835)
Luminance0.1703 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398147 #813973
analogous
#4F8139 #398147 #39816B
triadic
#398147 #473981 #814739
tetradic
#398147 #394F81 #813973 #816B39
square
#398147 #394F81 #813973 #816B39
split-complementary
#398147 #6B3981 #81394F
monochromatic
#132C18 #265730 #398147 #4CAB5E #73C182

Accessibility & contrast

On white

4.77
#398147 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#398147 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #398147
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398147#FFFFFF#000000##FFFFFF
##3981471.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827743
Deuteranopia (green-blind)
#79704B
Tritanopia (blue-blind)
#2A7E73
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #398147;
/* rgb */ color: rgb(57, 129, 71);
/* oklch */ color: oklch(54.2% 0.115 147.9);
Tailwind
colors: {
  custom: {
    50: '#76a67b',
    500: '#398147',
    950: '#000000',
  },
}
SCSS
$custom: #398147;
$custom-light: #76a67b;
$custom-dark: #000000;
JSON
{
  "hex": "#398147",
  "rgb": {
    "r": 57,
    "g": 129,
    "b": 71
  },
  "hsl": {
    "h": 131.667,
    "s": 38.71,
    "l": 36.471
  },
  "oklch": {
    "l": 0.54196,
    "c": 0.11472,
    "h": 147.9
  },
  "luminance": 0.17025
}

Semantic roles & 50–950 ramp

primary
#398147
secondary
#AA6B9E
accent
#59B8CF
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#090F09
muted
#7B7F7B

Preview Lab

Preview with #398147

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

Preview Lab → · Contrast checker → · Palette generator →

#398147 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva