#398C2E#398C2E

#398C2E is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.8% C 0.153 H 141.4°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#398C2E
RGBrgb(57, 140, 46)
HSLhsl(113, 51%, 36%)
HSVhsv(113, 67%, 55%)
CMYKcmyk(59.3%, 0%, 67.1%, 45.1%)
CIE-LABlab(51.64, -43.82, 41.36)
CIE-LCHlch(51.64, 60.25, 136.66°)
OKLaboklab(56.85% -0.1197 0.0955)
OKLCHoklch(56.85% 0.153 141.4)
XYZxyz(11.5580, 19.8223, 5.8012)
Luminance0.1982 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398C2E #812E8C
analogous
#688C2E #398C2E #2E8C52
triadic
#398C2E #2E398C #8C2E39
tetradic
#398C2E #2E688C #812E8C #8C522E
square
#398C2E #2E688C #812E8C #8C522E
split-complementary
#398C2E #522E8C #8C2E68
monochromatic
#133010 #265E1F #398C2E #4CBA3D #73CD67

Accessibility & contrast

On white

4.23
#398C2E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#398C2E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398C2E
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398C2E#FFFFFF#000000##000000
##398C2E1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F22
Deuteranopia (green-blind)
#857836
Tritanopia (blue-blind)
#2D8879
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #398c2e;
/* rgb */ color: rgb(57, 140, 46);
/* oklch */ color: oklch(56.8% 0.153 141.4);
Tailwind
colors: {
  custom: {
    50: '#79ae6b',
    500: '#398c2e',
    950: '#000000',
  },
}
SCSS
$custom: #398c2e;
$custom-light: #79ae6b;
$custom-dark: #000000;
JSON
{
  "hex": "#398c2e",
  "rgb": {
    "r": 57,
    "g": 140,
    "b": 46
  },
  "hsl": {
    "h": 112.979,
    "s": 50.538,
    "l": 36.471
  },
  "oklch": {
    "l": 0.56848,
    "c": 0.15311,
    "h": 141.4
  },
  "luminance": 0.19823
}

Semantic roles & 50–950 ramp

primary
#398C2E
secondary
#AA62B4
accent
#4EDACA
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1007
muted
#7C7F7A

Preview Lab

Preview with #398C2E

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

Preview Lab → · Contrast checker → · Palette generator →

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