#398057#398057

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

Color values

HEX#398057
RGBrgb(57, 128, 87)
HSLhsl(145, 38%, 36%)
HSVhsv(145, 55%, 50%)
CMYKcmyk(55.5%, 0%, 32%, 49.8%)
CIE-LABlab(48.25, -32.37, 15.67)
CIE-LCHlch(48.25, 35.96, 154.16°)
OKLaboklab(54.26% -0.0883 0.0397)
OKLCHoklch(54.26% 0.097 155.8)
XYZxyz(11.1259, 16.9953, 11.7091)
Luminance0.1700 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398057 #803962
analogous
#3F8039 #398057 #39807B
triadic
#398057 #573980 #805739
tetradic
#398057 #393F80 #803962 #807B39
square
#398057 #393F80 #803962 #807B39
split-complementary
#398057 #7B3980 #80393F
monochromatic
#132B1D #26563A #398057 #4CAA74 #73C194

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##398057#FFFFFF#000000##FFFFFF
##3980571.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)
#7F7754
Deuteranopia (green-blind)
#75705A
Tritanopia (blue-blind)
#247F75
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #398057;
/* rgb */ color: rgb(57, 128, 87);
/* oklch */ color: oklch(54.3% 0.097 155.8);
Tailwind
colors: {
  custom: {
    50: '#75a586',
    500: '#398057',
    950: '#000000',
  },
}
SCSS
$custom: #398057;
$custom-light: #75a586;
$custom-dark: #000000;
JSON
{
  "hex": "#398057",
  "rgb": {
    "r": 57,
    "g": 128,
    "b": 87
  },
  "hsl": {
    "h": 145.352,
    "s": 38.378,
    "l": 36.275
  },
  "oklch": {
    "l": 0.54263,
    "c": 0.09679,
    "h": 155.8
  },
  "luminance": 0.16996
}

Semantic roles & 50–950 ramp

primary
#398057
secondary
#AA6B8F
accent
#599DCE
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#090F0B
muted
#7B7F7C

Preview Lab

Preview with #398057

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

Preview Lab → · Contrast checker → · Palette generator →

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