#398B1A#398B1A

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

Color values

HEX#398B1A
RGBrgb(57, 139, 26)
HSLhsl(104, 68%, 32%)
HSVhsv(104, 81%, 55%)
CMYKcmyk(59%, 0%, 81.3%, 45.5%)
CIE-LABlab(51.16, -45.05, 48.55)
CIE-LCHlch(51.16, 66.23, 132.86°)
OKLaboklab(56.41% -0.1242 0.1078)
OKLCHoklch(56.41% 0.164 139)
XYZxyz(11.1060, 19.4087, 4.1381)
Luminance0.1941 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398B1A #6C1A8B
analogous
#718B1A #398B1A #1A8B34
triadic
#398B1A #1A398B #8B1A39
tetradic
#398B1A #1A718B #6C1A8B #8B341A
square
#398B1A #1A718B #6C1A8B #8B341A
split-complementary
#398B1A #341A8B #8B1A71
monochromatic
#0F2407 #245710 #398B1A #4EBF24 #6DDC43

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##398B1A#FFFFFF#000000##000000
##398B1A1.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: #398b1a;
/* rgb */ color: rgb(57, 139, 26);
/* oklch */ color: oklch(56.4% 0.164 139.0);
Tailwind
colors: {
  custom: {
    50: '#7aae61',
    500: '#398b1a',
    950: '#000000',
  },
}
SCSS
$custom: #398b1a;
$custom-light: #7aae61;
$custom-dark: #000000;
JSON
{
  "hex": "#398b1a",
  "rgb": {
    "r": 57,
    "g": 139,
    "b": 26
  },
  "hsl": {
    "h": 103.54,
    "s": 68.485,
    "l": 32.353
  },
  "oklch": {
    "l": 0.56412,
    "c": 0.16447,
    "h": 139
  },
  "luminance": 0.1941
}

Semantic roles & 50–950 ramp

primary
#398B1A
secondary
#9C44BD
accent
#3CEBBB
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1005
muted
#7C7F7A

Preview Lab

Preview with #398B1A

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

Preview Lab → · Contrast checker → · Palette generator →

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