#398F4F#398F4F

#398F4F is a mid, vivid green. Relative luminance 0.211; OKLCH L 58.1% C 0.127 H 149.2°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#398F4F
RGBrgb(57, 143, 79)
HSLhsl(135, 43%, 39%)
HSVhsv(135, 60%, 56%)
CMYKcmyk(60.1%, 0%, 44.8%, 43.9%)
CIE-LABlab(53.03, -40.48, 26.49)
CIE-LCHlch(53.03, 48.38, 146.79°)
OKLaboklab(58.13% -0.1095 0.0652)
OKLCHoklch(58.13% 0.127 149.2)
XYZxyz(12.9202, 21.0781, 10.7832)
Luminance0.2108 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398F4F #8F3979
analogous
#4E8F39 #398F4F #398F7A
triadic
#398F4F #4F398F #8F4F39
tetradic
#398F4F #394E8F #8F3979 #8F7A39
square
#398F4F #394E8F #8F3979 #8F7A39
split-complementary
#398F4F #7A398F #8F394E
monochromatic
#16371F #286337 #398F4F #4DB868 #79CA8E

Accessibility & contrast

On white

4.03
#398F4F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#398F4F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398F4F
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398F4F#FFFFFF#000000##000000
##398F4F1.004.035.225.22
#FFFFFF4.031.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#90834A
Deuteranopia (green-blind)
#857C53
Tritanopia (blue-blind)
#228C7F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #398f4f;
/* rgb */ color: rgb(57, 143, 79);
/* oklch */ color: oklch(58.1% 0.127 149.2);
Tailwind
colors: {
  custom: {
    50: '#78b081',
    500: '#398f4f',
    950: '#000000',
  },
}
SCSS
$custom: #398f4f;
$custom-light: #78b081;
$custom-dark: #000000;
JSON
{
  "hex": "#398f4f",
  "rgb": {
    "r": 57,
    "g": 143,
    "b": 79
  },
  "hsl": {
    "h": 135.349,
    "s": 43,
    "l": 39.216
  },
  "oklch": {
    "l": 0.58132,
    "c": 0.12741,
    "h": 149.2
  },
  "luminance": 0.21079
}

Semantic roles & 50–950 ramp

primary
#398F4F
secondary
#B371A2
accent
#55B3D3
background
#F7FAF7
surface
#EEF5EE
border
#C9CFC9
text
#09110A
muted
#7B807C

Preview Lab

Preview with #398F4F

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

Preview Lab → · Contrast checker → · Palette generator →

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