#397F34#397F34

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

Color values

HEX#397F34
RGBrgb(57, 127, 52)
HSLhsl(116, 42%, 35%)
HSVhsv(116, 59%, 50%)
CMYKcmyk(55.1%, 0%, 59.1%, 50.2%)
CIE-LABlab(47.36, -37.88, 33.68)
CIE-LCHlch(47.36, 50.69, 138.36°)
OKLaboklab(53.35% -0.1032 0.0797)
OKLCHoklch(53.35% 0.13 142.3)
XYZxyz(9.8961, 16.2957, 5.8721)
Luminance0.1630 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397F34 #7A347F
analogous
#5E7F34 #397F34 #347F54
triadic
#397F34 #34397F #7F3439
tetradic
#397F34 #345E7F #7A347F #7F5434
square
#397F34 #345E7F #7A347F #7F5434
split-complementary
#397F34 #54347F #7F345E
monochromatic
#122810 #265422 #397F34 #4CAA46 #71C26B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##397F34#FFFFFF#000000##FFFFFF
##397F341.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)
#82742D
Deuteranopia (green-blind)
#796E3A
Tritanopia (blue-blind)
#2F7B6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #397f34;
/* rgb */ color: rgb(57, 127, 52);
/* oklch */ color: oklch(53.3% 0.130 142.3);
Tailwind
colors: {
  custom: {
    50: '#76a56e',
    500: '#397f34',
    950: '#000000',
  },
}
SCSS
$custom: #397f34;
$custom-light: #76a56e;
$custom-dark: #000000;
JSON
{
  "hex": "#397f34",
  "rgb": {
    "r": 57,
    "g": 127,
    "b": 52
  },
  "hsl": {
    "h": 116,
    "s": 41.899,
    "l": 35.098
  },
  "oklch": {
    "l": 0.53346,
    "c": 0.13042,
    "h": 142.3
  },
  "luminance": 0.16297
}

Semantic roles & 50–950 ramp

primary
#397F34
secondary
#A664AA
accent
#56D2C9
background
#F7FAF6
surface
#EDF4EC
border
#C8CEC7
text
#090F07
muted
#7B7F7A

Preview Lab

Preview with #397F34

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

Preview Lab → · Contrast checker → · Palette generator →

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