#398C2F#398C2F

#398C2F is a mid, vivid green. Relative luminance 0.198; OKLCH L 56.9% C 0.152 H 141.6°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#398C2F
RGBrgb(57, 140, 47)
HSLhsl(114, 50%, 37%)
HSVhsv(114, 66%, 55%)
CMYKcmyk(59.3%, 0%, 66.4%, 45.1%)
CIE-LABlab(51.64, -43.72, 40.92)
CIE-LCHlch(51.64, 59.88, 136.89°)
OKLaboklab(56.86% -0.1193 0.0947)
OKLCHoklch(56.86% 0.152 141.6)
XYZxyz(11.5779, 19.8302, 5.9063)
Luminance0.1983 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398C2F #822F8C
analogous
#688C2F #398C2F #2F8C54
triadic
#398C2F #2F398C #8C2F39
tetradic
#398C2F #2F688C #822F8C #8C542F
square
#398C2F #2F688C #822F8C #8C542F
split-complementary
#398C2F #542F8C #8C2F68
monochromatic
#143010 #265E20 #398C2F #4CBA3E #74CD69

Accessibility & contrast

On white

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

On black

4.97
#398C2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398C2F
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398C2F#FFFFFF#000000##000000
##398C2F1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #398c2f;
/* rgb */ color: rgb(57, 140, 47);
/* oklch */ color: oklch(56.9% 0.152 141.6);
Tailwind
colors: {
  custom: {
    50: '#79ae6c',
    500: '#398c2f',
    950: '#000000',
  },
}
SCSS
$custom: #398c2f;
$custom-light: #79ae6c;
$custom-dark: #000000;
JSON
{
  "hex": "#398c2f",
  "rgb": {
    "r": 57,
    "g": 140,
    "b": 47
  },
  "hsl": {
    "h": 113.548,
    "s": 49.733,
    "l": 36.667
  },
  "oklch": {
    "l": 0.56858,
    "c": 0.15235,
    "h": 141.6
  },
  "luminance": 0.19831
}

Semantic roles & 50–950 ramp

primary
#398C2F
secondary
#AB63B4
accent
#4FD9CA
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#0A1007
muted
#7C7F7A

Preview Lab

Preview with #398C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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