#398B31#398B31

#398B31 is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.6% C 0.149 H 141.9°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#398B31
RGBrgb(57, 139, 49)
HSLhsl(115, 48%, 37%)
HSVhsv(115, 65%, 55%)
CMYKcmyk(59%, 0%, 64.7%, 45.5%)
CIE-LABlab(51.33, -43.11, 39.66)
CIE-LCHlch(51.33, 58.58, 137.38°)
OKLaboklab(56.61% -0.1176 0.0923)
OKLCHoklch(56.61% 0.149 141.9)
XYZxyz(11.4738, 19.5558, 6.0751)
Luminance0.1956 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398B31 #83318B
analogous
#668B31 #398B31 #318B56
triadic
#398B31 #31398B #8B3139
tetradic
#398B31 #31668B #83318B #8B5631
square
#398B31 #31668B #83318B #8B5631
split-complementary
#398B31 #56318B #8B3166
monochromatic
#143111 #265E21 #398B31 #4CB841 #74CB6B

Accessibility & contrast

On white

4.28
#398B31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#398B31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398B31
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398B31#FFFFFF#000000##000000
##398B311.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7F26
Deuteranopia (green-blind)
#847839
Tritanopia (blue-blind)
#2D8778
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #398b31;
/* rgb */ color: rgb(57, 139, 49);
/* oklch */ color: oklch(56.6% 0.149 141.9);
Tailwind
colors: {
  custom: {
    50: '#78ae6d',
    500: '#398b31',
    950: '#000000',
  },
}
SCSS
$custom: #398b31;
$custom-light: #78ae6d;
$custom-dark: #000000;
JSON
{
  "hex": "#398b31",
  "rgb": {
    "r": 57,
    "g": 139,
    "b": 49
  },
  "hsl": {
    "h": 114.667,
    "s": 47.872,
    "l": 36.863
  },
  "oklch": {
    "l": 0.56606,
    "c": 0.14945,
    "h": 141.9
  },
  "luminance": 0.19557
}

Semantic roles & 50–950 ramp

primary
#398B31
secondary
#AC65B2
accent
#50D7CB
background
#F7FAF6
surface
#EEF4EC
border
#C9CEC7
text
#0A1007
muted
#7C7F7A

Preview Lab

Preview with #398B31

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

Preview Lab → · Contrast checker → · Palette generator →

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