#398E17#398E17

#398E17 is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.2% C 0.169 H 139.0°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#398E17
RGBrgb(57, 142, 23)
HSLhsl(103, 72%, 32%)
HSVhsv(103, 84%, 56%)
CMYKcmyk(59.9%, 0%, 83.8%, 44.3%)
CIE-LABlab(52.15, -46.34, 50.37)
CIE-LCHlch(52.15, 68.44, 132.62°)
OKLaboklab(57.22% -0.1278 0.1112)
OKLCHoklch(57.22% 0.169 139)
XYZxyz(11.5145, 20.2767, 4.1175)
Luminance0.2028 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398E17 #6C178E
analogous
#758E17 #398E17 #178E30
triadic
#398E17 #17398E #8E1739
tetradic
#398E17 #17758E #6C178E #8E3017
square
#398E17 #17758E #6C178E #8E3017
split-complementary
#398E17 #30178E #8E1775
monochromatic
#0F2506 #24590E #398E17 #4EC320 #6DE03F

Accessibility & contrast

On white

4.15
#398E17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#398E17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398E17
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398E17#FFFFFF#000000##000000
##398E171.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#928100
Deuteranopia (green-blind)
#887A26
Tritanopia (blue-blind)
#308979
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #398e17;
/* rgb */ color: rgb(57, 142, 23);
/* oklch */ color: oklch(57.2% 0.169 139.0);
Tailwind
colors: {
  custom: {
    50: '#7ab060',
    500: '#398e17',
    950: '#000000',
  },
}
SCSS
$custom: #398e17;
$custom-light: #7ab060;
$custom-dark: #000000;
JSON
{
  "hex": "#398e17",
  "rgb": {
    "r": 57,
    "g": 142,
    "b": 23
  },
  "hsl": {
    "h": 102.857,
    "s": 72.121,
    "l": 32.353
  },
  "oklch": {
    "l": 0.57222,
    "c": 0.16941,
    "h": 139
  },
  "luminance": 0.20278
}

Semantic roles & 50–950 ramp

primary
#398E17
secondary
#9C40C0
accent
#39EFBB
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#0A1005
muted
#7C7F7A

Preview Lab

Preview with #398E17

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

Preview Lab → · Contrast checker → · Palette generator →

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