#398C4E#398C4E

#398C4E is a mid, vivid green. Relative luminance 0.202; OKLCH L 57.3% C 0.124 H 149.2°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#398C4E
RGBrgb(57, 140, 78)
HSLhsl(135, 42%, 39%)
HSVhsv(135, 59%, 55%)
CMYKcmyk(59.3%, 0%, 44.3%, 45.1%)
CIE-LABlab(52.03, -39.39, 25.75)
CIE-LCHlch(52.03, 47.06, 146.83°)
OKLaboklab(57.3% -0.1066 0.0635)
OKLCHoklch(57.3% 0.124 149.2)
XYZxyz(12.4397, 20.1749, 10.4449)
Luminance0.2018 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398C4E #8C3977
analogous
#4D8C39 #398C4E #398C77
triadic
#398C4E #4E398C #8C4E39
tetradic
#398C4E #394D8C #8C3977 #8C7739
square
#398C4E #394D8C #8C3977 #8C7739
split-complementary
#398C4E #77398C #8C394D
monochromatic
#16351E #276136 #398C4E #4CB667 #78C88C

Accessibility & contrast

On white

4.17
#398C4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#398C4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398C4E
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398C4E#FFFFFF#000000##000000
##398C4E1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D8149
Deuteranopia (green-blind)
#827952
Tritanopia (blue-blind)
#24897D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #398c4e;
/* rgb */ color: rgb(57, 140, 78);
/* oklch */ color: oklch(57.3% 0.124 149.2);
Tailwind
colors: {
  custom: {
    50: '#77ae80',
    500: '#398c4e',
    950: '#000000',
  },
}
SCSS
$custom: #398c4e;
$custom-light: #77ae80;
$custom-dark: #000000;
JSON
{
  "hex": "#398c4e",
  "rgb": {
    "r": 57,
    "g": 140,
    "b": 78
  },
  "hsl": {
    "h": 135.181,
    "s": 42.132,
    "l": 38.627
  },
  "oklch": {
    "l": 0.57305,
    "c": 0.12403,
    "h": 149.2
  },
  "luminance": 0.20176
}

Semantic roles & 50–950 ramp

primary
#398C4E
secondary
#B170A1
accent
#56B3D2
background
#F7FAF7
surface
#EEF4EE
border
#C9CEC9
text
#09100A
muted
#7B7F7C

Preview Lab

Preview with #398C4E

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

Preview Lab → · Contrast checker → · Palette generator →

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