#398157#398157

#398157 is a mid, moderate green. Relative luminance 0.173; OKLCH L 54.5% C 0.098 H 155.5°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#398157
RGBrgb(57, 129, 87)
HSLhsl(145, 39%, 36%)
HSVhsv(145, 56%, 51%)
CMYKcmyk(55.8%, 0%, 32.6%, 49.4%)
CIE-LABlab(48.58, -32.83, 16.12)
CIE-LCHlch(48.58, 36.57, 153.84°)
OKLaboklab(54.53% -0.0895 0.0408)
OKLCHoklch(54.53% 0.098 155.5)
XYZxyz(11.2570, 17.2575, 11.7528)
Luminance0.1726 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398157 #813963
analogous
#3F8139 #398157 #39817B
triadic
#398157 #573981 #815739
tetradic
#398157 #393F81 #813963 #817B39
square
#398157 #393F81 #813963 #817B39
split-complementary
#398157 #7B3981 #81393F
monochromatic
#132C1E #26573A #398157 #4CAB74 #73C194

Accessibility & contrast

On white

4.72
#398157 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#398157 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #398157
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398157#FFFFFF#000000##FFFFFF
##3981571.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817854
Deuteranopia (green-blind)
#76715A
Tritanopia (blue-blind)
#248076
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #398157;
/* rgb */ color: rgb(57, 129, 87);
/* oklch */ color: oklch(54.5% 0.098 155.5);
Tailwind
colors: {
  custom: {
    50: '#75a686',
    500: '#398157',
    950: '#000000',
  },
}
SCSS
$custom: #398157;
$custom-light: #75a686;
$custom-dark: #000000;
JSON
{
  "hex": "#398157",
  "rgb": {
    "r": 57,
    "g": 129,
    "b": 87
  },
  "hsl": {
    "h": 145,
    "s": 38.71,
    "l": 36.471
  },
  "oklch": {
    "l": 0.54531,
    "c": 0.09834,
    "h": 155.5
  },
  "luminance": 0.17258
}

Semantic roles & 50–950 ramp

primary
#398157
secondary
#AA6B90
accent
#599ECF
background
#F7FAF8
surface
#EDF4EF
border
#C8CECA
text
#090F0B
muted
#7B7F7C

Preview Lab

Preview with #398157

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

Preview Lab → · Contrast checker → · Palette generator →

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