#398140#398140

#398140 is a mid, vivid green. Relative luminance 0.169; OKLCH L 54.1% C 0.122 H 145.5°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#398140
RGBrgb(57, 129, 64)
HSLhsl(126, 39%, 36%)
HSVhsv(126, 56%, 51%)
CMYKcmyk(55.8%, 0%, 50.4%, 49.4%)
CIE-LABlab(48.18, -37.03, 28.43)
CIE-LCHlch(48.18, 46.68, 142.48°)
OKLaboklab(54.07% -0.1004 0.069)
OKLCHoklch(54.07% 0.122 145.5)
XYZxyz(10.4624, 16.9397, 7.5678)
Luminance0.1694 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398140 #81397A
analogous
#568139 #398140 #398164
triadic
#398140 #403981 #814039
tetradic
#398140 #395681 #81397A #816439
square
#398140 #395681 #81397A #816439
split-complementary
#398140 #643981 #813956
monochromatic
#132C16 #26572B #398140 #4CAB55 #73C17B

Accessibility & contrast

On white

4.79
#398140 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#398140 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #398140
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398140#FFFFFF#000000##FFFFFF
##3981401.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#83763B
Deuteranopia (green-blind)
#797044
Tritanopia (blue-blind)
#2C7E72
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #398140;
/* rgb */ color: rgb(57, 129, 64);
/* oklch */ color: oklch(54.1% 0.122 145.5);
Tailwind
colors: {
  custom: {
    50: '#76a676',
    500: '#398140',
    950: '#000000',
  },
}
SCSS
$custom: #398140;
$custom-light: #76a676;
$custom-dark: #000000;
JSON
{
  "hex": "#398140",
  "rgb": {
    "r": 57,
    "g": 129,
    "b": 64
  },
  "hsl": {
    "h": 125.833,
    "s": 38.71,
    "l": 36.471
  },
  "oklch": {
    "l": 0.54074,
    "c": 0.12182,
    "h": 145.5
  },
  "luminance": 0.16941
}

Semantic roles & 50–950 ramp

primary
#398140
secondary
#AA6BA4
accent
#59C3CF
background
#F7FAF7
surface
#EDF4ED
border
#C8CEC8
text
#090F08
muted
#7B7F7B

Preview Lab

Preview with #398140

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

Preview Lab → · Contrast checker → · Palette generator →

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