#398F17#398F17

#398F17 is a mid, vivid green. Relative luminance 0.206; OKLCH L 57.5% C 0.171 H 139.0°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#398F17
RGBrgb(57, 143, 23)
HSLhsl(103, 72%, 33%)
HSVhsv(103, 84%, 56%)
CMYKcmyk(60.1%, 0%, 83.9%, 43.9%)
CIE-LABlab(52.48, -46.71, 50.67)
CIE-LCHlch(52.48, 68.92, 132.67°)
OKLaboklab(57.5% -0.1288 0.1118)
OKLCHoklch(57.5% 0.171 139)
XYZxyz(11.6640, 20.5756, 4.1673)
Luminance0.2058 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398F17 #6D178F
analogous
#758F17 #398F17 #178F31
triadic
#398F17 #17398F #8F1739
tetradic
#398F17 #17758F #6D178F #8F3117
square
#398F17 #17758F #6D178F #8F3117
split-complementary
#398F17 #31178F #8F1775
monochromatic
#0F2606 #245A0F #398F17 #4EC41F #6DE040

Accessibility & contrast

On white

4.11
#398F17 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#398F17 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398F17
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398F17#FFFFFF#000000##000000
##398F171.004.115.125.12
#FFFFFF4.111.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#938200
Deuteranopia (green-blind)
#897B26
Tritanopia (blue-blind)
#2F8A79
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #398f17;
/* rgb */ color: rgb(57, 143, 23);
/* oklch */ color: oklch(57.5% 0.171 139.0);
Tailwind
colors: {
  custom: {
    50: '#7ab160',
    500: '#398f17',
    950: '#000000',
  },
}
SCSS
$custom: #398f17;
$custom-light: #7ab160;
$custom-dark: #000000;
JSON
{
  "hex": "#398f17",
  "rgb": {
    "r": 57,
    "g": 143,
    "b": 23
  },
  "hsl": {
    "h": 103,
    "s": 72.289,
    "l": 32.549
  },
  "oklch": {
    "l": 0.57498,
    "c": 0.17058,
    "h": 139
  },
  "luminance": 0.20577
}

Semantic roles & 50–950 ramp

primary
#398F17
secondary
#9D41C1
accent
#39EFBB
background
#F7FAF6
surface
#EEF5EB
border
#C9CFC6
text
#0A1105
muted
#7C807A

Preview Lab

Preview with #398F17

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

Preview Lab → · Contrast checker → · Palette generator →

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