#398D41#398D41

#398D41 is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.4% C 0.138 H 145.2°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#398D41
RGBrgb(57, 141, 65)
HSLhsl(126, 42%, 39%)
HSVhsv(126, 60%, 55%)
CMYKcmyk(59.6%, 0%, 53.9%, 44.7%)
CIE-LABlab(52.17, -41.88, 32.82)
CIE-LCHlch(52.17, 53.20, 141.91°)
OKLaboklab(57.36% -0.1135 0.0788)
OKLCHoklch(57.36% 0.138 145.2)
XYZxyz(12.1656, 20.3002, 8.2772)
Luminance0.2030 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398D41 #8D3985
analogous
#5B8D39 #398D41 #398D6B
triadic
#398D41 #41398D #8D4139
tetradic
#398D41 #395B8D #8D3985 #8D6B39
square
#398D41 #395B8D #8D3985 #8D6B39
split-complementary
#398D41 #6B398D #8D395B
monochromatic
#163619 #27612D #398D41 #4CB757 #78C880

Accessibility & contrast

On white

4.15
#398D41 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#398D41 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398D41
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398D41#FFFFFF#000000##000000
##398D411.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F813A
Deuteranopia (green-blind)
#847A47
Tritanopia (blue-blind)
#288A7C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #398d41;
/* rgb */ color: rgb(57, 141, 65);
/* oklch */ color: oklch(57.4% 0.138 145.2);
Tailwind
colors: {
  custom: {
    50: '#78af77',
    500: '#398d41',
    950: '#000000',
  },
}
SCSS
$custom: #398d41;
$custom-light: #78af77;
$custom-dark: #000000;
JSON
{
  "hex": "#398d41",
  "rgb": {
    "r": 57,
    "g": 141,
    "b": 65
  },
  "hsl": {
    "h": 125.714,
    "s": 42.424,
    "l": 38.824
  },
  "oklch": {
    "l": 0.57359,
    "c": 0.13815,
    "h": 145.2
  },
  "luminance": 0.20301
}

Semantic roles & 50–950 ramp

primary
#398D41
secondary
#B270AB
accent
#56C6D2
background
#F7FAF7
surface
#EEF5ED
border
#C9CFC8
text
#0A1009
muted
#7C7F7B

Preview Lab

Preview with #398D41

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

Preview Lab → · Contrast checker → · Palette generator →

#398D41 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva