#398F37#398F37

#398F37 is a mid, vivid green. Relative luminance 0.208; OKLCH L 57.8% C 0.150 H 143.0°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#398F37
RGBrgb(57, 143, 55)
HSLhsl(119, 44%, 39%)
HSVhsv(119, 62%, 56%)
CMYKcmyk(60.1%, 0%, 61.5%, 43.9%)
CIE-LABlab(52.72, -43.99, 38.42)
CIE-LCHlch(52.72, 58.41, 138.87°)
OKLaboklab(57.77% -0.1196 0.0902)
OKLCHoklch(57.77% 0.15 143)
XYZxyz(12.1987, 20.7895, 6.9836)
Luminance0.2079 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398F37 #8D378F
analogous
#658F37 #398F37 #378F61
triadic
#398F37 #37398F #8F3739
tetradic
#398F37 #37658F #8D378F #8F6137
square
#398F37 #37658F #8D378F #8F6137
split-complementary
#398F37 #61378F #8F3765
monochromatic
#163715 #276326 #398F37 #4CB94A #78CA76

Accessibility & contrast

On white

4.07
#398F37 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#398F37 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398F37
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398F37#FFFFFF#000000##000000
##398F371.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#92822E
Deuteranopia (green-blind)
#877B3E
Tritanopia (blue-blind)
#2A8B7C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #398f37;
/* rgb */ color: rgb(57, 143, 55);
/* oklch */ color: oklch(57.8% 0.150 143.0);
Tailwind
colors: {
  custom: {
    50: '#79b171',
    500: '#398f37',
    950: '#000000',
  },
}
SCSS
$custom: #398f37;
$custom-light: #79b171;
$custom-dark: #000000;
JSON
{
  "hex": "#398f37",
  "rgb": {
    "r": 57,
    "g": 143,
    "b": 55
  },
  "hsl": {
    "h": 118.636,
    "s": 44.444,
    "l": 38.824
  },
  "oklch": {
    "l": 0.57769,
    "c": 0.14983,
    "h": 143
  },
  "luminance": 0.20791
}

Semantic roles & 50–950 ramp

primary
#398F37
secondary
#B26FB3
accent
#54D4D1
background
#F7FAF7
surface
#EEF5ED
border
#C9CFC8
text
#0A1108
muted
#7C807B

Preview Lab

Preview with #398F37

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

Preview Lab → · Contrast checker → · Palette generator →

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