#398D37#398D37

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

Color values

HEX#398D37
RGBrgb(57, 141, 55)
HSLhsl(119, 44%, 38%)
HSVhsv(119, 61%, 55%)
CMYKcmyk(59.6%, 0%, 61%, 44.7%)
CIE-LABlab(52.06, -43.20, 37.66)
CIE-LCHlch(52.06, 57.31, 138.92°)
OKLaboklab(57.22% -0.1175 0.0886)
OKLCHoklch(57.22% 0.147 143)
XYZxyz(11.9012, 20.1944, 6.8844)
Luminance0.2019 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398D37 #8B378D
analogous
#648D37 #398D37 #378D60
triadic
#398D37 #37398D #8D3739
tetradic
#398D37 #37648D #8B378D #8D6037
square
#398D37 #37648D #8B378D #8D6037
split-complementary
#398D37 #60378D #8D3764
monochromatic
#153515 #276126 #398D37 #4CB849 #77C975

Accessibility & contrast

On white

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

On black

5.04
#398D37 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398D37
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398D37#FFFFFF#000000##000000
##398D371.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#90812E
Deuteranopia (green-blind)
#85793E
Tritanopia (blue-blind)
#2B897A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #398d37;
/* rgb */ color: rgb(57, 141, 55);
/* oklch */ color: oklch(57.2% 0.147 143.0);
Tailwind
colors: {
  custom: {
    50: '#79af71',
    500: '#398d37',
    950: '#000000',
  },
}
SCSS
$custom: #398d37;
$custom-light: #79af71;
$custom-dark: #000000;
JSON
{
  "hex": "#398d37",
  "rgb": {
    "r": 57,
    "g": 141,
    "b": 55
  },
  "hsl": {
    "h": 118.605,
    "s": 43.878,
    "l": 38.431
  },
  "oklch": {
    "l": 0.57223,
    "c": 0.14715,
    "h": 143
  },
  "luminance": 0.20195
}

Semantic roles & 50–950 ramp

primary
#398D37
secondary
#B06EB2
accent
#54D4D1
background
#F7FAF6
surface
#EEF5EC
border
#C9CFC7
text
#0A1008
muted
#7C7F7B

Preview Lab

Preview with #398D37

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

Preview Lab → · Contrast checker → · Palette generator →

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