#398939#398939

#398939 is a mid, vivid green. Relative luminance 0.191; OKLCH L 56.2% C 0.140 H 143.4°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#398939
RGBrgb(57, 137, 57)
HSLhsl(120, 41%, 38%)
HSVhsv(120, 58%, 54%)
CMYKcmyk(58.4%, 0%, 58.4%, 46.3%)
CIE-LABlab(50.75, -41.35, 35.16)
CIE-LCHlch(50.75, 54.28, 139.62°)
OKLaboklab(56.16% -0.1124 0.0834)
OKLCHoklch(56.16% 0.14 143.4)
XYZxyz(11.3709, 19.0556, 6.9490)
Luminance0.1906 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398939 #893989
analogous
#618939 #398939 #398961
triadic
#398939 #393989 #893939
tetradic
#398939 #396189 #893989 #896139
square
#398939 #396189 #893989 #896139
split-complementary
#398939 #613989 #893961
monochromatic
#153315 #275E27 #398939 #4BB44B #76C676

Accessibility & contrast

On white

4.36
#398939 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#398939 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398939
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398939#FFFFFF#000000##000000
##3989391.004.364.814.81
#FFFFFF4.361.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7D31
Deuteranopia (green-blind)
#81763F
Tritanopia (blue-blind)
#2C8577
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #398939;
/* rgb */ color: rgb(57, 137, 57);
/* oklch */ color: oklch(56.2% 0.140 143.4);
Tailwind
colors: {
  custom: {
    50: '#78ac72',
    500: '#398939',
    950: '#000000',
  },
}
SCSS
$custom: #398939;
$custom-light: #78ac72;
$custom-dark: #000000;
JSON
{
  "hex": "#398939",
  "rgb": {
    "r": 57,
    "g": 137,
    "b": 57
  },
  "hsl": {
    "h": 120,
    "s": 41.237,
    "l": 38.039
  },
  "oklch": {
    "l": 0.56156,
    "c": 0.13993,
    "h": 143.4
  },
  "luminance": 0.19057
}

Semantic roles & 50–950 ramp

primary
#398939
secondary
#AF6FAF
accent
#57D1D1
background
#F7FAF7
surface
#EEF4ED
border
#C9CEC8
text
#091008
muted
#7B7F7B

Preview Lab

Preview with #398939

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

Preview Lab → · Contrast checker → · Palette generator →

#398939 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva