#397642#397642

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

Color values

HEX#397642
RGBrgb(57, 118, 66)
HSLhsl(129, 35%, 34%)
HSVhsv(129, 52%, 46%)
CMYKcmyk(51.7%, 0%, 44.1%, 53.7%)
CIE-LABlab(44.55, -31.83, 22.71)
CIE-LCHlch(44.55, 39.10, 144.49°)
OKLaboklab(51.1% -0.0864 0.056)
OKLCHoklch(51.1% 0.103 147)
XYZxyz(9.1486, 14.2194, 7.4157)
Luminance0.1422 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397642 #76396D
analogous
#4F7639 #397642 #397661
triadic
#397642 #423976 #764239
tetradic
#397642 #394F76 #76396D #766139
square
#397642 #394F76 #76396D #766139
split-complementary
#397642 #613976 #76394F
monochromatic
#112314 #254D2B #397642 #4D9F59 #70BA7B

Accessibility & contrast

On white

5.46
#397642 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #397642
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397642#FFFFFF#000000##FFFFFF
##3976421.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776D3E
Deuteranopia (green-blind)
#6F6745
Tritanopia (blue-blind)
#2E7469
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #397642;
/* rgb */ color: rgb(57, 118, 66);
/* oklch */ color: oklch(51.1% 0.103 147.0);
Tailwind
colors: {
  custom: {
    50: '#749e77',
    500: '#397642',
    950: '#000000',
  },
}
SCSS
$custom: #397642;
$custom-light: #749e77;
$custom-dark: #000000;
JSON
{
  "hex": "#397642",
  "rgb": {
    "r": 57,
    "g": 118,
    "b": 66
  },
  "hsl": {
    "h": 128.852,
    "s": 34.857,
    "l": 34.314
  },
  "oklch": {
    "l": 0.51102,
    "c": 0.10295,
    "h": 147
  },
  "luminance": 0.1422
}

Semantic roles & 50–950 ramp

primary
#397642
secondary
#A3689A
accent
#5DBBCB
background
#F7F9F7
surface
#EDF2ED
border
#C8CCC8
text
#080E08
muted
#7B7E7B

Preview Lab

Preview with #397642

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

Preview Lab → · Contrast checker → · Palette generator →

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