#398D32#398D32

#398D32 is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.2% C 0.151 H 142.1°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#398D32
RGBrgb(57, 141, 50)
HSLhsl(115, 48%, 37%)
HSVhsv(115, 65%, 55%)
CMYKcmyk(59.6%, 0%, 64.5%, 44.7%)
CIE-LABlab(52.01, -43.78, 39.96)
CIE-LCHlch(52.01, 59.27, 137.62°)
OKLaboklab(57.16% -0.1193 0.093)
OKLCHoklch(57.16% 0.151 142.1)
XYZxyz(11.7873, 20.1488, 6.2849)
Luminance0.2015 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398D32 #86328D
analogous
#668D32 #398D32 #328D59
triadic
#398D32 #32398D #8D3239
tetradic
#398D32 #32668D #86328D #8D5932
square
#398D32 #32668D #86328D #8D5932
split-complementary
#398D32 #59328D #8D3266
monochromatic
#143312 #276022 #398D32 #4BBA42 #75CC6E

Accessibility & contrast

On white

4.17
#398D32 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#398D32 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398D32
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398D32#FFFFFF#000000##000000
##398D321.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#908027
Deuteranopia (green-blind)
#86793A
Tritanopia (blue-blind)
#2C897A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #398d32;
/* rgb */ color: rgb(57, 141, 50);
/* oklch */ color: oklch(57.2% 0.151 142.1);
Tailwind
colors: {
  custom: {
    50: '#79af6e',
    500: '#398d32',
    950: '#000000',
  },
}
SCSS
$custom: #398d32;
$custom-light: #79af6e;
$custom-dark: #000000;
JSON
{
  "hex": "#398d32",
  "rgb": {
    "r": 57,
    "g": 141,
    "b": 50
  },
  "hsl": {
    "h": 115.385,
    "s": 47.644,
    "l": 37.451
  },
  "oklch": {
    "l": 0.57164,
    "c": 0.1513,
    "h": 142.1
  },
  "luminance": 0.2015
}

Semantic roles & 50–950 ramp

primary
#398D32
secondary
#AD68B3
accent
#51D7CD
background
#F7FAF6
surface
#EEF5EC
border
#C9CFC7
text
#0A1007
muted
#7C7F7A

Preview Lab

Preview with #398D32

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

Preview Lab → · Contrast checker → · Palette generator →

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