#397939#397939

#397939 is a mid, moderate green. Relative luminance 0.148; OKLCH L 51.8% C 0.117 H 143.7°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#397939
RGBrgb(57, 121, 57)
HSLhsl(120, 36%, 35%)
HSVhsv(120, 53%, 47%)
CMYKcmyk(52.9%, 0%, 52.9%, 52.5%)
CIE-LABlab(45.41, -34.62, 28.75)
CIE-LCHlch(45.41, 45.00, 140.29°)
OKLaboklab(51.77% -0.0941 0.0693)
OKLCHoklch(51.77% 0.117 143.7)
XYZxyz(9.2628, 14.8393, 6.2463)
Luminance0.1484 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397939 #793979
analogous
#597939 #397939 #397959
triadic
#397939 #393979 #793939
tetradic
#397939 #395979 #793979 #795939
square
#397939 #395979 #793979 #795939
split-complementary
#397939 #593979 #793959
monochromatic
#122612 #254F25 #397939 #4DA34D #71BC71

Accessibility & contrast

On white

5.29
#397939 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#397939 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397939
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397939#FFFFFF#000000##FFFFFF
##3979391.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #397939;
/* rgb */ color: rgb(57, 121, 57);
/* oklch */ color: oklch(51.8% 0.117 143.7);
Tailwind
colors: {
  custom: {
    50: '#75a071',
    500: '#397939',
    950: '#000000',
  },
}
SCSS
$custom: #397939;
$custom-light: #75a071;
$custom-dark: #000000;
JSON
{
  "hex": "#397939",
  "rgb": {
    "r": 57,
    "g": 121,
    "b": 57
  },
  "hsl": {
    "h": 120,
    "s": 35.955,
    "l": 34.902
  },
  "oklch": {
    "l": 0.51768,
    "c": 0.11687,
    "h": 143.7
  },
  "luminance": 0.1484
}

Semantic roles & 50–950 ramp

primary
#397939
secondary
#A569A5
accent
#5CCCCC
background
#F7F9F6
surface
#EDF2EC
border
#C8CCC7
text
#090F08
muted
#7B7E7B

Preview Lab

Preview with #397939

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

Preview Lab → · Contrast checker → · Palette generator →

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