#398B19#398B19

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

Color values

HEX#398B19
RGBrgb(57, 139, 25)
HSLhsl(103, 70%, 32%)
HSVhsv(103, 82%, 55%)
CMYKcmyk(59%, 0%, 82%, 45.5%)
CIE-LABlab(51.16, -45.11, 48.86)
CIE-LCHlch(51.16, 66.50, 132.71°)
OKLaboklab(56.41% -0.1244 0.1083)
OKLCHoklch(56.41% 0.165 139)
XYZxyz(11.0950, 19.4043, 4.0802)
Luminance0.1941 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398B19 #6B198B
analogous
#728B19 #398B19 #198B32
triadic
#398B19 #19398B #8B1939
tetradic
#398B19 #19728B #6B198B #8B3219
square
#398B19 #19728B #6B198B #8B3219
split-complementary
#398B19 #32198B #8B1972
monochromatic
#0E2306 #245710 #398B19 #4EBF22 #6DDD41

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##398B19#FFFFFF#000000##000000
##398B191.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)
#8F7E00
Deuteranopia (green-blind)
#857727
Tritanopia (blue-blind)
#308676
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #398b19;
/* rgb */ color: rgb(57, 139, 25);
/* oklch */ color: oklch(56.4% 0.165 139.0);
Tailwind
colors: {
  custom: {
    50: '#7aae60',
    500: '#398b19',
    950: '#000000',
  },
}
SCSS
$custom: #398b19;
$custom-light: #7aae60;
$custom-dark: #000000;
JSON
{
  "hex": "#398b19",
  "rgb": {
    "r": 57,
    "g": 139,
    "b": 25
  },
  "hsl": {
    "h": 103.158,
    "s": 69.512,
    "l": 32.157
  },
  "oklch": {
    "l": 0.56406,
    "c": 0.16496,
    "h": 139
  },
  "luminance": 0.19405
}

Semantic roles & 50–950 ramp

primary
#398B19
secondary
#9B42BE
accent
#3BECBB
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1005
muted
#7C7F7A

Preview Lab

Preview with #398B19

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

Preview Lab → · Contrast checker → · Palette generator →

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