#397950#397950

#397950 is a mid, moderate green. Relative luminance 0.151; OKLCH L 52.2% C 0.093 H 153.6°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#397950
RGBrgb(57, 121, 80)
HSLhsl(142, 36%, 35%)
HSVhsv(142, 53%, 47%)
CMYKcmyk(52.9%, 0%, 33.9%, 52.5%)
CIE-LABlab(45.80, -30.57, 16.38)
CIE-LCHlch(45.80, 34.68, 151.82°)
OKLaboklab(52.21% -0.0833 0.0413)
OKLCHoklch(52.21% 0.093 153.6)
XYZxyz(9.9720, 15.1230, 9.9814)
Luminance0.1512 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397950 #793962
analogous
#427939 #397950 #397970
triadic
#397950 #503979 #795039
tetradic
#397950 #394279 #793962 #797039
square
#397950 #394279 #793962 #797039
split-complementary
#397950 #703979 #793942
monochromatic
#122619 #254F34 #397950 #4DA36C #71BC8C

Accessibility & contrast

On white

5.22
#397950 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#397950 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397950
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397950#FFFFFF#000000##FFFFFF
##3979501.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#79704D
Deuteranopia (green-blind)
#706A53
Tritanopia (blue-blind)
#29786E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #397950;
/* rgb */ color: rgb(57, 121, 80);
/* oklch */ color: oklch(52.2% 0.093 153.6);
Tailwind
colors: {
  custom: {
    50: '#74a081',
    500: '#397950',
    950: '#000000',
  },
}
SCSS
$custom: #397950;
$custom-light: #74a081;
$custom-dark: #000000;
JSON
{
  "hex": "#397950",
  "rgb": {
    "r": 57,
    "g": 121,
    "b": 80
  },
  "hsl": {
    "h": 141.563,
    "s": 35.955,
    "l": 34.902
  },
  "oklch": {
    "l": 0.52213,
    "c": 0.09294,
    "h": 153.6
  },
  "luminance": 0.15124
}

Semantic roles & 50–950 ramp

primary
#397950
secondary
#A5698F
accent
#5CA4CC
background
#F7F9F7
surface
#EDF2EE
border
#C8CCC9
text
#090F0A
muted
#7B7E7C

Preview Lab

Preview with #397950

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

Preview Lab → · Contrast checker → · Palette generator →

#397950 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva