#398152#398152

#398152 is a mid, moderate green. Relative luminance 0.172; OKLCH L 54.4% C 0.103 H 152.8°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#398152
RGBrgb(57, 129, 82)
HSLhsl(141, 39%, 36%)
HSVhsv(141, 56%, 51%)
CMYKcmyk(55.8%, 0%, 36.4%, 49.4%)
CIE-LABlab(48.48, -33.85, 18.85)
CIE-LCHlch(48.48, 38.74, 150.89°)
OKLaboklab(54.42% -0.0919 0.0473)
OKLCHoklch(54.42% 0.103 152.8)
XYZxyz(11.0598, 17.1786, 10.7140)
Luminance0.1718 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398152 #813968
analogous
#448139 #398152 #398176
triadic
#398152 #523981 #815239
tetradic
#398152 #394481 #813968 #817639
square
#398152 #394481 #813968 #817639
split-complementary
#398152 #763981 #813944
monochromatic
#132C1C #265737 #398152 #4CAB6D #73C18E

Accessibility & contrast

On white

4.73
#398152 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#398152 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #398152
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398152#FFFFFF#000000##FFFFFF
##3981521.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#81774F
Deuteranopia (green-blind)
#777055
Tritanopia (blue-blind)
#267F75
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #398152;
/* rgb */ color: rgb(57, 129, 82);
/* oklch */ color: oklch(54.4% 0.103 152.8);
Tailwind
colors: {
  custom: {
    50: '#76a683',
    500: '#398152',
    950: '#000000',
  },
}
SCSS
$custom: #398152;
$custom-light: #76a683;
$custom-dark: #000000;
JSON
{
  "hex": "#398152",
  "rgb": {
    "r": 57,
    "g": 129,
    "b": 82
  },
  "hsl": {
    "h": 140.833,
    "s": 38.71,
    "l": 36.471
  },
  "oklch": {
    "l": 0.54418,
    "c": 0.1034,
    "h": 152.8
  },
  "luminance": 0.1718
}

Semantic roles & 50–950 ramp

primary
#398152
secondary
#AA6B95
accent
#59A6CF
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#090F0A
muted
#7B7F7C

Preview Lab

Preview with #398152

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

Preview Lab → · Contrast checker → · Palette generator →

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