#398641#398641

#398641 is a mid, vivid green. Relative luminance 0.183; OKLCH L 55.5% C 0.128 H 145.6°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#398641
RGBrgb(57, 134, 65)
HSLhsl(126, 40%, 37%)
HSVhsv(126, 57%, 53%)
CMYKcmyk(57.5%, 0%, 51.5%, 47.5%)
CIE-LABlab(49.86, -38.99, 29.98)
CIE-LCHlch(49.86, 49.19, 142.45°)
OKLaboklab(55.45% -0.1057 0.0725)
OKLCHoklch(55.45% 0.128 145.6)
XYZxyz(11.1659, 18.3007, 7.9440)
Luminance0.1830 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398641 #86397E
analogous
#578639 #398641 #398668
triadic
#398641 #413986 #864139
tetradic
#398641 #395786 #86397E #866839
square
#398641 #395786 #86397E #866839
split-complementary
#398641 #683986 #863957
monochromatic
#143017 #275B2C #398641 #4BB156 #75C47D

Accessibility & contrast

On white

4.51
#398641 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#398641 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398641
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398641#FFFFFF#000000##000000
##3986411.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#887B3B
Deuteranopia (green-blind)
#7E7446
Tritanopia (blue-blind)
#2A8376
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #398641;
/* rgb */ color: rgb(57, 134, 65);
/* oklch */ color: oklch(55.5% 0.128 145.6);
Tailwind
colors: {
  custom: {
    50: '#77aa77',
    500: '#398641',
    950: '#000000',
  },
}
SCSS
$custom: #398641;
$custom-light: #77aa77;
$custom-dark: #000000;
JSON
{
  "hex": "#398641",
  "rgb": {
    "r": 57,
    "g": 134,
    "b": 65
  },
  "hsl": {
    "h": 126.234,
    "s": 40.314,
    "l": 37.451
  },
  "oklch": {
    "l": 0.55454,
    "c": 0.12816,
    "h": 145.6
  },
  "luminance": 0.18302
}

Semantic roles & 50–950 ramp

primary
#398641
secondary
#AD6DA7
accent
#58C4D0
background
#F7FAF7
surface
#EEF4ED
border
#C9CEC8
text
#091009
muted
#7B7F7B

Preview Lab

Preview with #398641

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

Preview Lab → · Contrast checker → · Palette generator →

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