#397B39#397B39

#397B39 is a mid, moderate green. Relative luminance 0.153; OKLCH L 52.3% C 0.120 H 143.6°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#397B39
RGBrgb(57, 123, 57)
HSLhsl(120, 37%, 35%)
HSVhsv(120, 54%, 48%)
CMYKcmyk(53.7%, 0%, 53.7%, 51.8%)
CIE-LABlab(46.08, -35.49, 29.57)
CIE-LCHlch(46.08, 46.20, 140.20°)
OKLaboklab(52.32% -0.0965 0.0711)
OKLCHoklch(52.32% 0.12 143.6)
XYZxyz(9.5083, 15.3304, 6.3281)
Luminance0.1533 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397B39 #7B397B
analogous
#5A7B39 #397B39 #397B5A
triadic
#397B39 #39397B #7B3939
tetradic
#397B39 #395A7B #7B397B #7B5A39
square
#397B39 #395A7B #7B397B #7B5A39
split-complementary
#397B39 #5A397B #7B395A
monochromatic
#122712 #265126 #397B39 #4CA54C #71BD71

Accessibility & contrast

On white

5.16
#397B39 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#397B39 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397B39
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397B39#FFFFFF#000000##FFFFFF
##397B391.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D7133
Deuteranopia (green-blind)
#746B3E
Tritanopia (blue-blind)
#2F786C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #397b39;
/* rgb */ color: rgb(57, 123, 57);
/* oklch */ color: oklch(52.3% 0.120 143.6);
Tailwind
colors: {
  custom: {
    50: '#75a271',
    500: '#397b39',
    950: '#000000',
  },
}
SCSS
$custom: #397b39;
$custom-light: #75a271;
$custom-dark: #000000;
JSON
{
  "hex": "#397b39",
  "rgb": {
    "r": 57,
    "g": 123,
    "b": 57
  },
  "hsl": {
    "h": 120,
    "s": 36.667,
    "l": 35.294
  },
  "oklch": {
    "l": 0.52318,
    "c": 0.11987,
    "h": 143.6
  },
  "luminance": 0.15331
}

Semantic roles & 50–950 ramp

primary
#397B39
secondary
#A669A6
accent
#5BCDCD
background
#F7FAF6
surface
#EDF3EC
border
#C8CDC7
text
#090F08
muted
#7B7F7B

Preview Lab

Preview with #397B39

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

Preview Lab → · Contrast checker → · Palette generator →

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