#397F35#397F35

#397F35 is a mid, vivid green. Relative luminance 0.163; OKLCH L 53.4% C 0.130 H 142.6°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#397F35
RGBrgb(57, 127, 53)
HSLhsl(117, 41%, 35%)
HSVhsv(117, 58%, 50%)
CMYKcmyk(55.1%, 0%, 58.3%, 50.2%)
CIE-LABlab(47.37, -37.75, 33.19)
CIE-LCHlch(47.37, 50.27, 138.68°)
OKLaboklab(53.36% -0.1028 0.0787)
OKLCHoklch(53.36% 0.13 142.6)
XYZxyz(9.9188, 16.3048, 5.9919)
Luminance0.1631 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397F35 #7B357F
analogous
#5E7F35 #397F35 #357F56
triadic
#397F35 #35397F #7F3539
tetradic
#397F35 #355E7F #7B357F #7F5635
square
#397F35 #355E7F #7B357F #7F5635
split-complementary
#397F35 #56357F #7F355E
monochromatic
#122911 #265423 #397F35 #4CAA47 #71C26D

Accessibility & contrast

On white

4.93
#397F35 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#397F35 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397F35
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397F35#FFFFFF#000000##FFFFFF
##397F351.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82742E
Deuteranopia (green-blind)
#796E3B
Tritanopia (blue-blind)
#2F7B6F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #397f35;
/* rgb */ color: rgb(57, 127, 53);
/* oklch */ color: oklch(53.4% 0.130 142.6);
Tailwind
colors: {
  custom: {
    50: '#76a56e',
    500: '#397f35',
    950: '#000000',
  },
}
SCSS
$custom: #397f35;
$custom-light: #76a56e;
$custom-dark: #000000;
JSON
{
  "hex": "#397f35",
  "rgb": {
    "r": 57,
    "g": 127,
    "b": 53
  },
  "hsl": {
    "h": 116.757,
    "s": 41.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.5336,
    "c": 0.12951,
    "h": 142.6
  },
  "luminance": 0.16306
}

Semantic roles & 50–950 ramp

primary
#397F35
secondary
#A666AA
accent
#57D1CA
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#090F07
muted
#7B7F7A

Preview Lab

Preview with #397F35

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

Preview Lab → · Contrast checker → · Palette generator →

#397F35 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva