#398137#398137

#398137 is a mid, vivid green. Relative luminance 0.168; OKLCH L 53.9% C 0.131 H 143.0°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#398137
RGBrgb(57, 129, 55)
HSLhsl(118, 40%, 36%)
HSVhsv(118, 57%, 51%)
CMYKcmyk(55.8%, 0%, 57.4%, 49.4%)
CIE-LABlab(48.06, -38.33, 32.99)
CIE-LCHlch(48.06, 50.57, 139.28°)
OKLaboklab(53.94% -0.1043 0.0785)
OKLCHoklch(53.94% 0.131 143)
XYZxyz(10.2267, 16.8454, 6.3263)
Luminance0.1685 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398137 #7F3781
analogous
#5E8137 #398137 #37815A
triadic
#398137 #373981 #813739
tetradic
#398137 #375E81 #7F3781 #815A37
square
#398137 #375E81 #7F3781 #815A37
split-complementary
#398137 #5A3781 #81375E
monochromatic
#132B12 #265625 #398137 #4CAC49 #72C270

Accessibility & contrast

On white

4.81
#398137 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#398137 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #398137
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398137#FFFFFF#000000##FFFFFF
##3981371.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847630
Deuteranopia (green-blind)
#7A703D
Tritanopia (blue-blind)
#2E7D71
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #398137;
/* rgb */ color: rgb(57, 129, 55);
/* oklch */ color: oklch(53.9% 0.131 143.0);
Tailwind
colors: {
  custom: {
    50: '#76a670',
    500: '#398137',
    950: '#000000',
  },
}
SCSS
$custom: #398137;
$custom-light: #76a670;
$custom-dark: #000000;
JSON
{
  "hex": "#398137",
  "rgb": {
    "r": 57,
    "g": 129,
    "b": 55
  },
  "hsl": {
    "h": 118.378,
    "s": 40.217,
    "l": 36.078
  },
  "oklch": {
    "l": 0.53937,
    "c": 0.13051,
    "h": 143
  },
  "luminance": 0.16846
}

Semantic roles & 50–950 ramp

primary
#398137
secondary
#A969AB
accent
#58D0CD
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#090F07
muted
#7B7F7A

Preview Lab

Preview with #398137

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

Preview Lab → · Contrast checker → · Palette generator →

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