#398D31#398D31

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

Color values

HEX#398D31
RGBrgb(57, 141, 49)
HSLhsl(115, 48%, 37%)
HSVhsv(115, 65%, 55%)
CMYKcmyk(59.6%, 0%, 65.2%, 44.7%)
CIE-LABlab(52.00, -43.89, 40.40)
CIE-LCHlch(52.00, 59.66, 137.37°)
OKLaboklab(57.15% -0.1197 0.0939)
OKLCHoklch(57.15% 0.152 141.9)
XYZxyz(11.7660, 20.1403, 6.1726)
Luminance0.2014 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398D31 #85318D
analogous
#678D31 #398D31 #318D57
triadic
#398D31 #31398D #8D3139
tetradic
#398D31 #31678D #85318D #8D5731
square
#398D31 #31678D #85318D #8D5731
split-complementary
#398D31 #57318D #8D3167
monochromatic
#143211 #276021 #398D31 #4BBA41 #75CC6C

Accessibility & contrast

On white

4.18
#398D31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##398D31#FFFFFF#000000##000000
##398D311.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#908026
Deuteranopia (green-blind)
#867939
Tritanopia (blue-blind)
#2C897A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #398d31;
/* rgb */ color: rgb(57, 141, 49);
/* oklch */ color: oklch(57.2% 0.152 141.9);
Tailwind
colors: {
  custom: {
    50: '#79af6d',
    500: '#398d31',
    950: '#000000',
  },
}
SCSS
$custom: #398d31;
$custom-light: #79af6d;
$custom-dark: #000000;
JSON
{
  "hex": "#398d31",
  "rgb": {
    "r": 57,
    "g": 141,
    "b": 49
  },
  "hsl": {
    "h": 114.783,
    "s": 48.421,
    "l": 37.255
  },
  "oklch": {
    "l": 0.57153,
    "c": 0.15209,
    "h": 141.9
  },
  "luminance": 0.20141
}

Semantic roles & 50–950 ramp

primary
#398D31
secondary
#AD66B4
accent
#50D8CC
background
#F7FAF6
surface
#EEF5EC
border
#C9CFC7
text
#0A1007
muted
#7C7F7A

Preview Lab

Preview with #398D31

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

Preview Lab → · Contrast checker → · Palette generator →

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