#397342#397342

#397342 is a mid, moderate green. Relative luminance 0.135; OKLCH L 50.3% C 0.098 H 147.4°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#397342
RGBrgb(57, 115, 66)
HSLhsl(129, 34%, 34%)
HSVhsv(129, 50%, 45%)
CMYKcmyk(50.4%, 0%, 42.6%, 54.9%)
CIE-LABlab(43.54, -30.44, 21.41)
CIE-LCHlch(43.54, 37.22, 144.88°)
OKLaboklab(50.28% -0.0827 0.053)
OKLCHoklch(50.28% 0.098 147.4)
XYZxyz(8.8009, 13.5240, 7.2998)
Luminance0.1353 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397342 #73396A
analogous
#4D7339 #397342 #39735F
triadic
#397342 #423973 #734239
tetradic
#397342 #394D73 #73396A #735F39
square
#397342 #394D73 #73396A #735F39
split-complementary
#397342 #5F3973 #73394D
monochromatic
#102113 #254A2B #397342 #4D9C59 #6FB87A

Accessibility & contrast

On white

5.67
#397342 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#397342 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397342
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397342#FFFFFF#000000##FFFFFF
##3973421.005.673.715.67
#FFFFFF5.671.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746A3E
Deuteranopia (green-blind)
#6C6545
Tritanopia (blue-blind)
#2F7167
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #397342;
/* rgb */ color: rgb(57, 115, 66);
/* oklch */ color: oklch(50.3% 0.098 147.4);
Tailwind
colors: {
  custom: {
    50: '#749c77',
    500: '#397342',
    950: '#000000',
  },
}
SCSS
$custom: #397342;
$custom-light: #749c77;
$custom-dark: #000000;
JSON
{
  "hex": "#397342",
  "rgb": {
    "r": 57,
    "g": 115,
    "b": 66
  },
  "hsl": {
    "h": 129.31,
    "s": 33.721,
    "l": 33.725
  },
  "oklch": {
    "l": 0.50282,
    "c": 0.09819,
    "h": 147.4
  },
  "luminance": 0.13525
}

Semantic roles & 50–950 ramp

primary
#397342
secondary
#A16798
accent
#5EB9CA
background
#F7F9F7
surface
#EDF2ED
border
#C8CCC8
text
#080E08
muted
#7B7E7B

Preview Lab

Preview with #397342

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

Preview Lab → · Contrast checker → · Palette generator →

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