#398D3E#398D3E

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

Color values

HEX#398D3E
RGBrgb(57, 141, 62)
HSLhsl(124, 42%, 39%)
HSVhsv(124, 60%, 55%)
CMYKcmyk(59.6%, 0%, 56%, 44.7%)
CIE-LABlab(52.14, -42.30, 34.30)
CIE-LCHlch(52.14, 54.46, 140.96°)
OKLaboklab(57.32% -0.1147 0.0819)
OKLCHoklch(57.32% 0.141 144.5)
XYZxyz(12.0810, 20.2663, 7.8316)
Luminance0.2027 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398D3E #8D3988
analogous
#5E8D39 #398D3E #398D68
triadic
#398D3E #3E398D #8D3E39
tetradic
#398D3E #395E8D #8D3988 #8D6839
square
#398D3E #395E8D #8D3988 #8D6839
split-complementary
#398D3E #68398D #8D395E
monochromatic
#163618 #27612B #398D3E #4CB753 #78C87D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##398D3E#FFFFFF#000000##000000
##398D3E1.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)
#8F8137
Deuteranopia (green-blind)
#857944
Tritanopia (blue-blind)
#29897B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #398d3e;
/* rgb */ color: rgb(57, 141, 62);
/* oklch */ color: oklch(57.3% 0.141 144.5);
Tailwind
colors: {
  custom: {
    50: '#78af75',
    500: '#398d3e',
    950: '#000000',
  },
}
SCSS
$custom: #398d3e;
$custom-light: #78af75;
$custom-dark: #000000;
JSON
{
  "hex": "#398d3e",
  "rgb": {
    "r": 57,
    "g": 141,
    "b": 62
  },
  "hsl": {
    "h": 123.571,
    "s": 42.424,
    "l": 38.824
  },
  "oklch": {
    "l": 0.57316,
    "c": 0.14094,
    "h": 144.5
  },
  "luminance": 0.20267
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #398D3E

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

Preview Lab → · Contrast checker → · Palette generator →

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