#397B52#397B52

#397B52 is a mid, moderate green. Relative luminance 0.156; OKLCH L 52.8% C 0.094 H 154.3°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#397B52
RGBrgb(57, 123, 82)
HSLhsl(143, 37%, 35%)
HSVhsv(143, 54%, 48%)
CMYKcmyk(53.7%, 0%, 33.3%, 51.8%)
CIE-LABlab(46.50, -31.09, 16.17)
CIE-LCHlch(46.50, 35.05, 152.52°)
OKLaboklab(52.8% -0.0847 0.0408)
OKLCHoklch(52.8% 0.094 154.3)
XYZxyz(10.2925, 15.6441, 10.4582)
Luminance0.1565 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397B52 #7B3962
analogous
#417B39 #397B52 #397B73
triadic
#397B52 #52397B #7B5239
tetradic
#397B52 #39417B #7B3962 #7B7339
square
#397B52 #39417B #7B3962 #7B7339
split-complementary
#397B52 #73397B #7B3941
monochromatic
#12271A #265136 #397B52 #4CA56E #71BD8E

Accessibility & contrast

On white

5.09
#397B52 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#397B52 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397B52
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397B52#FFFFFF#000000##FFFFFF
##397B521.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B724F
Deuteranopia (green-blind)
#716C55
Tritanopia (blue-blind)
#287A70
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #397b52;
/* rgb */ color: rgb(57, 123, 82);
/* oklch */ color: oklch(52.8% 0.094 154.3);
Tailwind
colors: {
  custom: {
    50: '#75a283',
    500: '#397b52',
    950: '#000000',
  },
}
SCSS
$custom: #397b52;
$custom-light: #75a283;
$custom-dark: #000000;
JSON
{
  "hex": "#397b52",
  "rgb": {
    "r": 57,
    "g": 123,
    "b": 82
  },
  "hsl": {
    "h": 142.727,
    "s": 36.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.528,
    "c": 0.09405,
    "h": 154.3
  },
  "luminance": 0.15645
}

Semantic roles & 50–950 ramp

primary
#397B52
secondary
#A6698F
accent
#5BA2CD
background
#F7FAF8
surface
#EDF3EF
border
#C8CDCA
text
#090F0A
muted
#7B7F7C

Preview Lab

Preview with #397B52

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

Preview Lab → · Contrast checker → · Palette generator →

#397B52 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva