#398158#398158

#398158 is a mid, moderate green. Relative luminance 0.173; OKLCH L 54.6% C 0.097 H 156.1°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#398158
RGBrgb(57, 129, 88)
HSLhsl(146, 39%, 36%)
HSVhsv(146, 56%, 51%)
CMYKcmyk(55.8%, 0%, 31.8%, 49.4%)
CIE-LABlab(48.60, -32.62, 15.58)
CIE-LCHlch(48.60, 36.15, 154.47°)
OKLaboklab(54.56% -0.089 0.0394)
OKLCHoklch(54.56% 0.097 156.1)
XYZxyz(11.2981, 17.2740, 11.9694)
Luminance0.1727 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398158 #813962
analogous
#3E8139 #398158 #39817C
triadic
#398158 #583981 #815839
tetradic
#398158 #393E81 #813962 #817C39
square
#398158 #393E81 #813962 #817C39
split-complementary
#398158 #7C3981 #81393E
monochromatic
#132C1E #26573B #398158 #4CAB75 #73C195

Accessibility & contrast

On white

4.71
#398158 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#398158 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #398158
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398158#FFFFFF#000000##FFFFFF
##3981581.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807855
Deuteranopia (green-blind)
#76715B
Tritanopia (blue-blind)
#238076
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #398158;
/* rgb */ color: rgb(57, 129, 88);
/* oklch */ color: oklch(54.6% 0.097 156.1);
Tailwind
colors: {
  custom: {
    50: '#75a687',
    500: '#398158',
    950: '#000000',
  },
}
SCSS
$custom: #398158;
$custom-light: #75a687;
$custom-dark: #000000;
JSON
{
  "hex": "#398158",
  "rgb": {
    "r": 57,
    "g": 129,
    "b": 88
  },
  "hsl": {
    "h": 145.833,
    "s": 38.71,
    "l": 36.471
  },
  "oklch": {
    "l": 0.54555,
    "c": 0.09734,
    "h": 156.1
  },
  "luminance": 0.17275
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #398158

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

Preview Lab → · Contrast checker → · Palette generator →

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