#397640#397640

#397640 is a mid, moderate green. Relative luminance 0.142; OKLCH L 51.1% C 0.105 H 146.2°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#397640
RGBrgb(57, 118, 64)
HSLhsl(127, 35%, 34%)
HSVhsv(127, 52%, 46%)
CMYKcmyk(51.7%, 0%, 45.8%, 53.7%)
CIE-LABlab(44.51, -32.17, 23.79)
CIE-LCHlch(44.51, 40.01, 143.52°)
OKLaboklab(51.06% -0.0873 0.0584)
OKLCHoklch(51.06% 0.105 146.2)
XYZxyz(9.0907, 14.1962, 7.1106)
Luminance0.1420 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397640 #76396F
analogous
#517639 #397640 #39765F
triadic
#397640 #403976 #764039
tetradic
#397640 #395176 #76396F #765F39
square
#397640 #395176 #76396F #765F39
split-complementary
#397640 #5F3976 #763951
monochromatic
#112313 #254D2A #397640 #4D9F56 #70BA78

Accessibility & contrast

On white

5.47
#397640 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#397640 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397640
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397640#FFFFFF#000000##FFFFFF
##3976401.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786D3C
Deuteranopia (green-blind)
#6F6744
Tritanopia (blue-blind)
#2F7369
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #397640;
/* rgb */ color: rgb(57, 118, 64);
/* oklch */ color: oklch(51.1% 0.105 146.2);
Tailwind
colors: {
  custom: {
    50: '#749e75',
    500: '#397640',
    950: '#000000',
  },
}
SCSS
$custom: #397640;
$custom-light: #749e75;
$custom-dark: #000000;
JSON
{
  "hex": "#397640",
  "rgb": {
    "r": 57,
    "g": 118,
    "b": 64
  },
  "hsl": {
    "h": 126.885,
    "s": 34.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.51064,
    "c": 0.10507,
    "h": 146.2
  },
  "luminance": 0.14197
}

Semantic roles & 50–950 ramp

primary
#397640
secondary
#A3689C
accent
#5DBECB
background
#F7F9F7
surface
#EDF2ED
border
#C8CCC8
text
#080E08
muted
#7B7E7B

Preview Lab

Preview with #397640

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

Preview Lab → · Contrast checker → · Palette generator →

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