#398841#398841

#398841 is a mid, vivid green. Relative luminance 0.189; OKLCH L 56.0% C 0.131 H 145.5°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#398841
RGBrgb(57, 136, 65)
HSLhsl(126, 41%, 38%)
HSVhsv(126, 58%, 53%)
CMYKcmyk(58.1%, 0%, 52.2%, 46.7%)
CIE-LABlab(50.52, -39.83, 30.80)
CIE-LCHlch(50.52, 50.35, 142.29°)
OKLaboklab(56% -0.1079 0.0743)
OKLCHoklch(56% 0.131 145.5)
XYZxyz(11.4449, 18.8588, 8.0370)
Luminance0.1886 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398841 #883980
analogous
#588839 #398841 #398868
triadic
#398841 #413988 #884139
tetradic
#398841 #395888 #883980 #886839
square
#398841 #395888 #883980 #886839
split-complementary
#398841 #683988 #883958
monochromatic
#153218 #275D2C #398841 #4BB356 #76C67E

Accessibility & contrast

On white

4.40
#398841 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#398841 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398841
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398841#FFFFFF#000000##000000
##3988411.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7D3B
Deuteranopia (green-blind)
#807646
Tritanopia (blue-blind)
#2A8578
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #398841;
/* rgb */ color: rgb(57, 136, 65);
/* oklch */ color: oklch(56.0% 0.131 145.5);
Tailwind
colors: {
  custom: {
    50: '#77ab77',
    500: '#398841',
    950: '#000000',
  },
}
SCSS
$custom: #398841;
$custom-light: #77ab77;
$custom-dark: #000000;
JSON
{
  "hex": "#398841",
  "rgb": {
    "r": 57,
    "g": 136,
    "b": 65
  },
  "hsl": {
    "h": 126.076,
    "s": 40.933,
    "l": 37.843
  },
  "oklch": {
    "l": 0.55999,
    "c": 0.13105,
    "h": 145.5
  },
  "luminance": 0.1886
}

Semantic roles & 50–950 ramp

primary
#398841
secondary
#AF6EA8
accent
#57C4D1
background
#F7FAF7
surface
#EEF4ED
border
#C9CEC8
text
#091009
muted
#7B7F7B

Preview Lab

Preview with #398841

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

Preview Lab → · Contrast checker → · Palette generator →

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