#398B2B#398B2B

#398B2B is a mid, vivid green. Relative luminance 0.195; OKLCH L 56.5% C 0.154 H 140.9°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#398B2B
RGBrgb(57, 139, 43)
HSLhsl(111, 53%, 36%)
HSVhsv(111, 69%, 55%)
CMYKcmyk(59%, 0%, 69.1%, 45.5%)
CIE-LABlab(51.28, -43.73, 42.28)
CIE-LCHlch(51.28, 60.82, 135.97°)
OKLaboklab(56.54% -0.1196 0.0971)
OKLCHoklch(56.54% 0.154 140.9)
XYZxyz(11.3555, 19.5085, 5.4521)
Luminance0.1951 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398B2B #7D2B8B
analogous
#698B2B #398B2B #2B8B4D
triadic
#398B2B #2B398B #8B2B39
tetradic
#398B2B #2B698B #7D2B8B #8B4D2B
square
#398B2B #2B698B #7D2B8B #8B4D2B
split-complementary
#398B2B #4D2B8B #8B2B69
monochromatic
#132E0E #265C1D #398B2B #4CBA39 #72CE62

Accessibility & contrast

On white

4.28
#398B2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#398B2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398B2B
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398B2B#FFFFFF#000000##000000
##398B2B1.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E1E
Deuteranopia (green-blind)
#847834
Tritanopia (blue-blind)
#2E8777
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #398b2b;
/* rgb */ color: rgb(57, 139, 43);
/* oklch */ color: oklch(56.5% 0.154 140.9);
Tailwind
colors: {
  custom: {
    50: '#79ae69',
    500: '#398b2b',
    950: '#000000',
  },
}
SCSS
$custom: #398b2b;
$custom-light: #79ae69;
$custom-dark: #000000;
JSON
{
  "hex": "#398b2b",
  "rgb": {
    "r": 57,
    "g": 139,
    "b": 43
  },
  "hsl": {
    "h": 111.25,
    "s": 52.747,
    "l": 35.686
  },
  "oklch": {
    "l": 0.56543,
    "c": 0.15405,
    "h": 140.9
  },
  "luminance": 0.1951
}

Semantic roles & 50–950 ramp

primary
#398B2B
secondary
#A85DB5
accent
#4CDCC7
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1007
muted
#7C7F7A

Preview Lab

Preview with #398B2B

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

Preview Lab → · Contrast checker → · Palette generator →

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