#398D3D#398D3D

#398D3D is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.3% C 0.142 H 144.3°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#398D3D
RGBrgb(57, 141, 61)
HSLhsl(123, 42%, 39%)
HSVhsv(123, 60%, 55%)
CMYKcmyk(59.6%, 0%, 56.7%, 44.7%)
CIE-LABlab(52.12, -42.43, 34.79)
CIE-LCHlch(52.12, 54.87, 140.65°)
OKLaboklab(57.3% -0.1151 0.0829)
OKLCHoklch(57.3% 0.142 144.3)
XYZxyz(12.0538, 20.2554, 7.6885)
Luminance0.2026 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398D3D #8D3989
analogous
#5F8D39 #398D3D #398D67
triadic
#398D3D #3D398D #8D3D39
tetradic
#398D3D #395F8D #8D3989 #8D6739
square
#398D3D #395F8D #8D3989 #8D6739
split-complementary
#398D3D #67398D #8D395F
monochromatic
#163617 #27612A #398D3D #4CB751 #78C87C

Accessibility & contrast

On white

4.16
#398D3D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#398D3D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398D3D
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398D3D#FFFFFF#000000##000000
##398D3D1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#908135
Deuteranopia (green-blind)
#857943
Tritanopia (blue-blind)
#29897B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #398d3d;
/* rgb */ color: rgb(57, 141, 61);
/* oklch */ color: oklch(57.3% 0.142 144.3);
Tailwind
colors: {
  custom: {
    50: '#78af75',
    500: '#398d3d',
    950: '#000000',
  },
}
SCSS
$custom: #398d3d;
$custom-light: #78af75;
$custom-dark: #000000;
JSON
{
  "hex": "#398d3d",
  "rgb": {
    "r": 57,
    "g": 141,
    "b": 61
  },
  "hsl": {
    "h": 122.857,
    "s": 42.424,
    "l": 38.824
  },
  "oklch": {
    "l": 0.57302,
    "c": 0.14185,
    "h": 144.3
  },
  "luminance": 0.20257
}

Semantic roles & 50–950 ramp

primary
#398D3D
secondary
#B270AE
accent
#56CCD2
background
#F7FAF7
surface
#EEF5ED
border
#C9CFC8
text
#0A1008
muted
#7C7F7B

Preview Lab

Preview with #398D3D

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

Preview Lab → · Contrast checker → · Palette generator →

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