#398B1D#398B1D

#398B1D is a mid, vivid green. Relative luminance 0.194; OKLCH L 56.4% C 0.163 H 139.3°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#398B1D
RGBrgb(57, 139, 29)
HSLhsl(105, 65%, 33%)
HSVhsv(105, 79%, 55%)
CMYKcmyk(59%, 0%, 79.1%, 45.5%)
CIE-LABlab(51.18, -44.86, 47.59)
CIE-LCHlch(51.18, 65.40, 133.31°)
OKLaboklab(56.43% -0.1235 0.1063)
OKLCHoklch(56.43% 0.163 139.3)
XYZxyz(11.1413, 19.4228, 4.3240)
Luminance0.1942 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398B1D #6F1D8B
analogous
#708B1D #398B1D #1D8B38
triadic
#398B1D #1D398B #8B1D39
tetradic
#398B1D #1D708B #6F1D8B #8B381D
square
#398B1D #1D708B #6F1D8B #8B381D
split-complementary
#398B1D #381D8B #8B1D70
monochromatic
#0F2608 #245812 #398B1D #4EBE28 #6ED949

Accessibility & contrast

On white

4.30
#398B1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#398B1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398B1D
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398B1D#FFFFFF#000000##000000
##398B1D1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E01
Deuteranopia (green-blind)
#857729
Tritanopia (blue-blind)
#308676
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #398b1d;
/* rgb */ color: rgb(57, 139, 29);
/* oklch */ color: oklch(56.4% 0.163 139.3);
Tailwind
colors: {
  custom: {
    50: '#79ae62',
    500: '#398b1d',
    950: '#000000',
  },
}
SCSS
$custom: #398b1d;
$custom-light: #79ae62;
$custom-dark: #000000;
JSON
{
  "hex": "#398b1d",
  "rgb": {
    "r": 57,
    "g": 139,
    "b": 29
  },
  "hsl": {
    "h": 104.727,
    "s": 65.476,
    "l": 32.941
  },
  "oklch": {
    "l": 0.5643,
    "c": 0.16294,
    "h": 139.3
  },
  "luminance": 0.19424
}

Semantic roles & 50–950 ramp

primary
#398B1D
secondary
#9E49BB
accent
#3FE8BD
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1005
muted
#7C7F7A

Preview Lab

Preview with #398B1D

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

Preview Lab → · Contrast checker → · Palette generator →

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