#397937#397937

#397937 is a mid, moderate green. Relative luminance 0.148; OKLCH L 51.7% C 0.119 H 143.1°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#397937
RGBrgb(57, 121, 55)
HSLhsl(118, 38%, 35%)
HSVhsv(118, 55%, 47%)
CMYKcmyk(52.9%, 0%, 54.5%, 52.5%)
CIE-LABlab(45.39, -34.91, 29.78)
CIE-LCHlch(45.39, 45.88, 139.53°)
OKLaboklab(51.74% -0.095 0.0714)
OKLCHoklch(51.74% 0.119 143.1)
XYZxyz(9.2138, 14.8197, 5.9887)
Luminance0.1482 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397937 #773779
analogous
#5A7937 #397937 #377956
triadic
#397937 #373979 #793739
tetradic
#397937 #375A79 #773779 #795637
square
#397937 #375A79 #773779 #795637
split-complementary
#397937 #563779 #79375A
monochromatic
#112511 #254F24 #397937 #4DA34A #70BD6E

Accessibility & contrast

On white

5.30
#397937 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#397937 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397937
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397937#FFFFFF#000000##FFFFFF
##3979371.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6F31
Deuteranopia (green-blind)
#73693C
Tritanopia (blue-blind)
#30766A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #397937;
/* rgb */ color: rgb(57, 121, 55);
/* oklch */ color: oklch(51.7% 0.119 143.1);
Tailwind
colors: {
  custom: {
    50: '#75a06f',
    500: '#397937',
    950: '#000000',
  },
}
SCSS
$custom: #397937;
$custom-light: #75a06f;
$custom-dark: #000000;
JSON
{
  "hex": "#397937",
  "rgb": {
    "r": 57,
    "g": 121,
    "b": 55
  },
  "hsl": {
    "h": 118.182,
    "s": 37.5,
    "l": 34.51
  },
  "oklch": {
    "l": 0.51737,
    "c": 0.11885,
    "h": 143.1
  },
  "luminance": 0.1482
}

Semantic roles & 50–950 ramp

primary
#397937
secondary
#A466A6
accent
#5ACDCA
background
#F7F9F6
surface
#EDF2EC
border
#C8CCC7
text
#090F07
muted
#7B7E7A

Preview Lab

Preview with #397937

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

Preview Lab → · Contrast checker → · Palette generator →

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