#398F4C#398F4C

#398F4C is a mid, vivid green. Relative luminance 0.210; OKLCH L 58.1% C 0.130 H 148.2°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#398F4C
RGBrgb(57, 143, 76)
HSLhsl(133, 43%, 39%)
HSVhsv(133, 60%, 56%)
CMYKcmyk(60.1%, 0%, 46.9%, 43.9%)
CIE-LABlab(52.99, -40.99, 28.05)
CIE-LCHlch(52.99, 49.67, 145.61°)
OKLaboklab(58.08% -0.1108 0.0687)
OKLCHoklch(58.08% 0.13 148.2)
XYZxyz(12.8134, 21.0354, 10.2211)
Luminance0.2104 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#398F4C #8F397C
analogous
#518F39 #398F4C #398F77
triadic
#398F4C #4C398F #8F4C39
tetradic
#398F4C #39518F #8F397C #8F7739
square
#398F4C #39518F #8F397C #8F7739
split-complementary
#398F4C #77398F #8F3951
monochromatic
#16371D #286335 #398F4C #4DB865 #79CA8B

Accessibility & contrast

On white

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

On black

5.21
#398F4C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #398F4C
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##398F4C#FFFFFF#000000##000000
##398F4C1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#908347
Deuteranopia (green-blind)
#857B51
Tritanopia (blue-blind)
#248C7F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #398f4c;
/* rgb */ color: rgb(57, 143, 76);
/* oklch */ color: oklch(58.1% 0.130 148.2);
Tailwind
colors: {
  custom: {
    50: '#78b07f',
    500: '#398f4c',
    950: '#000000',
  },
}
SCSS
$custom: #398f4c;
$custom-light: #78b07f;
$custom-dark: #000000;
JSON
{
  "hex": "#398f4c",
  "rgb": {
    "r": 57,
    "g": 143,
    "b": 76
  },
  "hsl": {
    "h": 133.256,
    "s": 43,
    "l": 39.216
  },
  "oklch": {
    "l": 0.58079,
    "c": 0.13039,
    "h": 148.2
  },
  "luminance": 0.21037
}

Semantic roles & 50–950 ramp

primary
#398F4C
secondary
#B371A4
accent
#55B7D3
background
#F7FAF7
surface
#EEF5EE
border
#C9CFC9
text
#09110A
muted
#7B807C

Preview Lab

Preview with #398F4C

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

Preview Lab → · Contrast checker → · Palette generator →

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