#398340#398340

#398340 is a mid, vivid green. Relative luminance 0.175; OKLCH L 54.6% C 0.125 H 145.4°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#398340
RGBrgb(57, 131, 64)
HSLhsl(126, 39%, 37%)
HSVhsv(126, 56%, 51%)
CMYKcmyk(56.5%, 0%, 51.1%, 48.6%)
CIE-LABlab(48.85, -37.88, 29.26)
CIE-LCHlch(48.85, 47.86, 142.32°)
OKLaboklab(54.62% -0.1027 0.0708)
OKLCHoklch(54.62% 0.125 145.4)
XYZxyz(10.7284, 17.4717, 7.6565)
Luminance0.1747 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398340 #83397C
analogous
#578339 #398340 #398365
triadic
#398340 #403983 #834039
tetradic
#398340 #395783 #83397C #836539
square
#398340 #395783 #83397C #836539
split-complementary
#398340 #653983 #833957
monochromatic
#142E16 #26582B #398340 #4CAE55 #74C27B

Accessibility & contrast

On white

4.67
#398340 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#398340 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #398340
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398340#FFFFFF#000000##FFFFFF
##3983401.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#85783A
Deuteranopia (green-blind)
#7B7145
Tritanopia (blue-blind)
#2C8073
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #398340;
/* rgb */ color: rgb(57, 131, 64);
/* oklch */ color: oklch(54.6% 0.125 145.4);
Tailwind
colors: {
  custom: {
    50: '#76a876',
    500: '#398340',
    950: '#000000',
  },
}
SCSS
$custom: #398340;
$custom-light: #76a876;
$custom-dark: #000000;
JSON
{
  "hex": "#398340",
  "rgb": {
    "r": 57,
    "g": 131,
    "b": 64
  },
  "hsl": {
    "h": 125.676,
    "s": 39.362,
    "l": 36.863
  },
  "oklch": {
    "l": 0.5462,
    "c": 0.12477,
    "h": 145.4
  },
  "luminance": 0.17473
}

Semantic roles & 50–950 ramp

primary
#398340
secondary
#AC6CA6
accent
#59C4CF
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#090F08
muted
#7B7F7B

Preview Lab

Preview with #398340

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

Preview Lab → · Contrast checker → · Palette generator →

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