#398B37#398B37

#398B37 is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.7% C 0.144 H 143.0°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#398B37
RGBrgb(57, 139, 55)
HSLhsl(119, 43%, 38%)
HSVhsv(119, 60%, 55%)
CMYKcmyk(59%, 0%, 60.4%, 45.5%)
CIE-LABlab(51.39, -42.41, 36.90)
CIE-LCHlch(51.39, 56.21, 138.98°)
OKLaboklab(56.68% -0.1153 0.0869)
OKLCHoklch(56.68% 0.144 143)
XYZxyz(11.6089, 19.6099, 6.7870)
Luminance0.1961 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398B37 #89378B
analogous
#638B37 #398B37 #378B5F
triadic
#398B37 #37398B #8B3739
tetradic
#398B37 #37638B #89378B #8B5F37
square
#398B37 #37638B #89378B #8B5F37
split-complementary
#398B37 #5F378B #8B3763
monochromatic
#153314 #275F26 #398B37 #4BB748 #76C874

Accessibility & contrast

On white

4.27
#398B37 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#398B37 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398B37
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398B37#FFFFFF#000000##000000
##398B371.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7F2E
Deuteranopia (green-blind)
#83783E
Tritanopia (blue-blind)
#2C8779
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #398b37;
/* rgb */ color: rgb(57, 139, 55);
/* oklch */ color: oklch(56.7% 0.144 143.0);
Tailwind
colors: {
  custom: {
    50: '#78ae71',
    500: '#398b37',
    950: '#000000',
  },
}
SCSS
$custom: #398b37;
$custom-light: #78ae71;
$custom-dark: #000000;
JSON
{
  "hex": "#398b37",
  "rgb": {
    "r": 57,
    "g": 139,
    "b": 55
  },
  "hsl": {
    "h": 118.571,
    "s": 43.299,
    "l": 38.039
  },
  "oklch": {
    "l": 0.56677,
    "c": 0.14444,
    "h": 143
  },
  "luminance": 0.19611
}

Semantic roles & 50–950 ramp

primary
#398B37
secondary
#AF6DB1
accent
#55D3D0
background
#F7FAF6
surface
#EEF4EC
border
#C9CEC7
text
#0A1008
muted
#7C7F7B

Preview Lab

Preview with #398B37

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

Preview Lab → · Contrast checker → · Palette generator →

#398B37 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva