#398E31#398E31

#398E31 is a mid, vivid green. Relative luminance 0.204; OKLCH L 57.4% C 0.153 H 141.9°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#398E31
RGBrgb(57, 142, 49)
HSLhsl(115, 49%, 37%)
HSVhsv(115, 65%, 56%)
CMYKcmyk(59.9%, 0%, 65.5%, 44.3%)
CIE-LABlab(52.33, -44.28, 40.77)
CIE-LCHlch(52.33, 60.19, 137.36°)
OKLaboklab(57.43% -0.1207 0.0946)
OKLCHoklch(57.43% 0.153 141.9)
XYZxyz(11.9141, 20.4365, 6.2219)
Luminance0.2044 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398E31 #86318E
analogous
#678E31 #398E31 #318E58
triadic
#398E31 #31398E #8E3139
tetradic
#398E31 #31678E #86318E #8E5831
square
#398E31 #31678E #86318E #8E5831
split-complementary
#398E31 #58318E #8E3167
monochromatic
#143312 #276121 #398E31 #4BBB41 #75CD6D

Accessibility & contrast

On white

4.13
#398E31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#398E31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398E31
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398E31#FFFFFF#000000##000000
##398E311.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#918126
Deuteranopia (green-blind)
#877A39
Tritanopia (blue-blind)
#2C8A7B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #398e31;
/* rgb */ color: rgb(57, 142, 49);
/* oklch */ color: oklch(57.4% 0.153 141.9);
Tailwind
colors: {
  custom: {
    50: '#79b06d',
    500: '#398e31',
    950: '#000000',
  },
}
SCSS
$custom: #398e31;
$custom-light: #79b06d;
$custom-dark: #000000;
JSON
{
  "hex": "#398e31",
  "rgb": {
    "r": 57,
    "g": 142,
    "b": 49
  },
  "hsl": {
    "h": 114.839,
    "s": 48.691,
    "l": 37.451
  },
  "oklch": {
    "l": 0.57427,
    "c": 0.1534,
    "h": 141.9
  },
  "luminance": 0.20438
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #398E31

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

Preview Lab → · Contrast checker → · Palette generator →

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