#398148#398148

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

Color values

HEX#398148
RGBrgb(57, 129, 72)
HSLhsl(133, 39%, 36%)
HSVhsv(133, 56%, 51%)
CMYKcmyk(55.8%, 0%, 44.2%, 49.4%)
CIE-LABlab(48.31, -35.71, 24.23)
CIE-LCHlch(48.31, 43.15, 145.85°)
OKLaboklab(54.22% -0.0967 0.0597)
OKLCHoklch(54.22% 0.114 148.3)
XYZxyz(10.7066, 17.0373, 8.8540)
Luminance0.1704 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398148 #813972
analogous
#4E8139 #398148 #39816C
triadic
#398148 #483981 #814839
tetradic
#398148 #394E81 #813972 #816C39
square
#398148 #394E81 #813972 #816C39
split-complementary
#398148 #6C3981 #81394E
monochromatic
#132C19 #265730 #398148 #4CAB60 #73C183

Accessibility & contrast

On white

4.76
#398148 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#398148 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #398148
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398148#FFFFFF#000000##FFFFFF
##3981481.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827744
Deuteranopia (green-blind)
#78704C
Tritanopia (blue-blind)
#2A7F73
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #398148;
/* rgb */ color: rgb(57, 129, 72);
/* oklch */ color: oklch(54.2% 0.114 148.3);
Tailwind
colors: {
  custom: {
    50: '#76a67c',
    500: '#398148',
    950: '#000000',
  },
}
SCSS
$custom: #398148;
$custom-light: #76a67c;
$custom-dark: #000000;
JSON
{
  "hex": "#398148",
  "rgb": {
    "r": 57,
    "g": 129,
    "b": 72
  },
  "hsl": {
    "h": 132.5,
    "s": 38.71,
    "l": 36.471
  },
  "oklch": {
    "l": 0.54215,
    "c": 0.1137,
    "h": 148.3
  },
  "luminance": 0.17038
}

Semantic roles & 50–950 ramp

primary
#398148
secondary
#AA6B9D
accent
#59B6CF
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#090F09
muted
#7B7F7B

Preview Lab

Preview with #398148

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

Preview Lab → · Contrast checker → · Palette generator →

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