#398A32#398A32

#398A32 is a mid, vivid green. Relative luminance 0.193; OKLCH L 56.3% C 0.147 H 142.0°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#398A32
RGBrgb(57, 138, 50)
HSLhsl(115, 47%, 37%)
HSVhsv(115, 64%, 54%)
CMYKcmyk(58.7%, 0%, 63.8%, 45.9%)
CIE-LABlab(51.01, -42.60, 38.84)
CIE-LCHlch(51.01, 57.65, 137.65°)
OKLaboklab(56.34% -0.1161 0.0906)
OKLCHoklch(56.34% 0.147 142)
XYZxyz(11.3510, 19.2761, 6.1395)
Luminance0.1928 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398A32 #83328A
analogous
#658A32 #398A32 #328A57
triadic
#398A32 #32398A #8A3239
tetradic
#398A32 #32658A #83328A #8A5732
square
#398A32 #32658A #83328A #8A5732
split-complementary
#398A32 #57328A #8A3265
monochromatic
#143011 #265D22 #398A32 #4CB742 #74CA6C

Accessibility & contrast

On white

4.33
#398A32 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#398A32 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398A32
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398A32#FFFFFF#000000##000000
##398A321.004.334.864.86
#FFFFFF4.331.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7E28
Deuteranopia (green-blind)
#837739
Tritanopia (blue-blind)
#2D8677
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #398a32;
/* rgb */ color: rgb(57, 138, 50);
/* oklch */ color: oklch(56.3% 0.147 142.0);
Tailwind
colors: {
  custom: {
    50: '#78ad6d',
    500: '#398a32',
    950: '#000000',
  },
}
SCSS
$custom: #398a32;
$custom-light: #78ad6d;
$custom-dark: #000000;
JSON
{
  "hex": "#398a32",
  "rgb": {
    "r": 57,
    "g": 138,
    "b": 50
  },
  "hsl": {
    "h": 115.227,
    "s": 46.809,
    "l": 36.863
  },
  "oklch": {
    "l": 0.56343,
    "c": 0.14732,
    "h": 142
  },
  "luminance": 0.19277
}

Semantic roles & 50–950 ramp

primary
#398A32
secondary
#AC66B2
accent
#51D6CC
background
#F7FAF6
surface
#EEF4EC
border
#C9CEC7
text
#0A1007
muted
#7C7F7A

Preview Lab

Preview with #398A32

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

Preview Lab → · Contrast checker → · Palette generator →

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