#398A1D#398A1D

#398A1D is a mid, vivid green. Relative luminance 0.191; OKLCH L 56.2% C 0.162 H 139.2°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#398A1D
RGBrgb(57, 138, 29)
HSLhsl(105, 65%, 33%)
HSVhsv(105, 79%, 54%)
CMYKcmyk(58.7%, 0%, 79%, 45.9%)
CIE-LABlab(50.84, -44.48, 47.27)
CIE-LCHlch(50.84, 64.91, 133.26°)
OKLaboklab(56.15% -0.1225 0.1056)
OKLCHoklch(56.15% 0.162 139.2)
XYZxyz(10.9971, 19.1346, 4.2760)
Luminance0.1914 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398A1D #6E1D8A
analogous
#6F8A1D #398A1D #1D8A37
triadic
#398A1D #1D398A #8A1D39
tetradic
#398A1D #1D6F8A #6E1D8A #8A371D
square
#398A1D #1D6F8A #6E1D8A #8A371D
split-complementary
#398A1D #371D8A #8A1D6F
monochromatic
#0F2508 #245712 #398A1D #4EBD28 #6ED949

Accessibility & contrast

On white

4.35
#398A1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#398A1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398A1D
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398A1D#FFFFFF#000000##000000
##398A1D1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D02
Deuteranopia (green-blind)
#847729
Tritanopia (blue-blind)
#308576
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #398a1d;
/* rgb */ color: rgb(57, 138, 29);
/* oklch */ color: oklch(56.2% 0.162 139.2);
Tailwind
colors: {
  custom: {
    50: '#79ad62',
    500: '#398a1d',
    950: '#000000',
  },
}
SCSS
$custom: #398a1d;
$custom-light: #79ad62;
$custom-dark: #000000;
JSON
{
  "hex": "#398a1d",
  "rgb": {
    "r": 57,
    "g": 138,
    "b": 29
  },
  "hsl": {
    "h": 104.587,
    "s": 65.269,
    "l": 32.745
  },
  "oklch": {
    "l": 0.56154,
    "c": 0.16173,
    "h": 139.2
  },
  "luminance": 0.19136
}

Semantic roles & 50–950 ramp

primary
#398A1D
secondary
#9D48BB
accent
#40E8BD
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1005
muted
#7C7F7A

Preview Lab

Preview with #398A1D

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

Preview Lab → · Contrast checker → · Palette generator →

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