#397936#397936

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

Color values

HEX#397936
RGBrgb(57, 121, 54)
HSLhsl(117, 38%, 34%)
HSVhsv(117, 55%, 47%)
CMYKcmyk(52.9%, 0%, 55.4%, 52.5%)
CIE-LABlab(45.37, -35.05, 30.29)
CIE-LCHlch(45.37, 46.32, 139.17°)
OKLaboklab(51.72% -0.0954 0.0725)
OKLCHoklch(51.72% 0.12 142.8)
XYZxyz(9.1901, 14.8102, 5.8637)
Luminance0.1481 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397936 #763679
analogous
#5B7936 #397936 #367955
triadic
#397936 #363979 #793639
tetradic
#397936 #365B79 #763679 #795536
square
#397936 #365B79 #763679 #795536
split-complementary
#397936 #553679 #79365B
monochromatic
#112410 #254F23 #397936 #4DA349 #70BD6C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##397936#FFFFFF#000000##FFFFFF
##3979361.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)
#7C6F30
Deuteranopia (green-blind)
#73693B
Tritanopia (blue-blind)
#30766A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #397936;
/* rgb */ color: rgb(57, 121, 54);
/* oklch */ color: oklch(51.7% 0.120 142.8);
Tailwind
colors: {
  custom: {
    50: '#75a06f',
    500: '#397936',
    950: '#000000',
  },
}
SCSS
$custom: #397936;
$custom-light: #75a06f;
$custom-dark: #000000;
JSON
{
  "hex": "#397936",
  "rgb": {
    "r": 57,
    "g": 121,
    "b": 54
  },
  "hsl": {
    "h": 117.313,
    "s": 38.286,
    "l": 34.314
  },
  "oklch": {
    "l": 0.51722,
    "c": 0.11984,
    "h": 142.8
  },
  "luminance": 0.14811
}

Semantic roles & 50–950 ramp

primary
#397936
secondary
#A365A6
accent
#5ACEC9
background
#F7F9F6
surface
#EDF2EC
border
#C8CCC7
text
#090F07
muted
#7B7E7A

Preview Lab

Preview with #397936

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

Preview Lab → · Contrast checker → · Palette generator →

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