#398347#398347

#398347 is a mid, moderate green. Relative luminance 0.176; OKLCH L 54.7% C 0.118 H 147.7°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#398347
RGBrgb(57, 131, 71)
HSLhsl(131, 39%, 37%)
HSVhsv(131, 56%, 51%)
CMYKcmyk(56.5%, 0%, 45.8%, 48.6%)
CIE-LABlab(48.95, -36.75, 25.61)
CIE-LCHlch(48.95, 44.79, 145.13°)
OKLaboklab(54.74% -0.0995 0.0629)
OKLCHoklch(54.74% 0.118 147.7)
XYZxyz(10.9403, 17.5564, 8.7722)
Luminance0.1756 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398347 #833975
analogous
#508339 #398347 #39836C
triadic
#398347 #473983 #834739
tetradic
#398347 #395083 #833975 #836C39
square
#398347 #395083 #833975 #836C39
split-complementary
#398347 #6C3983 #833950
monochromatic
#142E19 #265830 #398347 #4CAE5E #74C283

Accessibility & contrast

On white

4.65
#398347 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#398347 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #398347
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398347#FFFFFF#000000##FFFFFF
##3983471.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847842
Deuteranopia (green-blind)
#7A724B
Tritanopia (blue-blind)
#2A8074
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #398347;
/* rgb */ color: rgb(57, 131, 71);
/* oklch */ color: oklch(54.7% 0.118 147.7);
Tailwind
colors: {
  custom: {
    50: '#76a87b',
    500: '#398347',
    950: '#000000',
  },
}
SCSS
$custom: #398347;
$custom-light: #76a87b;
$custom-dark: #000000;
JSON
{
  "hex": "#398347",
  "rgb": {
    "r": 57,
    "g": 131,
    "b": 71
  },
  "hsl": {
    "h": 131.351,
    "s": 39.362,
    "l": 36.863
  },
  "oklch": {
    "l": 0.5474,
    "c": 0.11774,
    "h": 147.7
  },
  "luminance": 0.17557
}

Semantic roles & 50–950 ramp

primary
#398347
secondary
#AC6CA0
accent
#59B9CF
background
#F7FAF7
surface
#EDF4EE
border
#C8CEC9
text
#090F09
muted
#7B7F7B

Preview Lab

Preview with #398347

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

Preview Lab → · Contrast checker → · Palette generator →

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