#397F29#397F29

#397F29 is a mid, vivid green. Relative luminance 0.162; OKLCH L 53.2% C 0.140 H 140.2°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#397F29
RGBrgb(57, 127, 41)
HSLhsl(109, 51%, 33%)
HSVhsv(109, 68%, 50%)
CMYKcmyk(55.1%, 0%, 67.7%, 50.2%)
CIE-LABlab(47.25, -39.14, 38.81)
CIE-LCHlch(47.25, 55.12, 135.25°)
OKLaboklab(53.22% -0.1073 0.0895)
OKLCHoklch(53.22% 0.14 140.2)
XYZxyz(9.6765, 16.2079, 4.7159)
Luminance0.1621 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397F29 #6F297F
analogous
#647F29 #397F29 #297F44
triadic
#397F29 #29397F #7F2939
tetradic
#397F29 #29647F #6F297F #7F4429
square
#397F29 #29647F #6F297F #7F4429
split-complementary
#397F29 #44297F #7F2964
monochromatic
#0F220B #24511A #397F29 #4EAD38 #6EC959

Accessibility & contrast

On white

4.95
#397F29 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#397F29 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397F29
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397F29#FFFFFF#000000##FFFFFF
##397F291.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82741E
Deuteranopia (green-blind)
#796E30
Tritanopia (blue-blind)
#317B6D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #397f29;
/* rgb */ color: rgb(57, 127, 41);
/* oklch */ color: oklch(53.2% 0.140 140.2);
Tailwind
colors: {
  custom: {
    50: '#77a567',
    500: '#397f29',
    950: '#000000',
  },
}
SCSS
$custom: #397f29;
$custom-light: #77a567;
$custom-dark: #000000;
JSON
{
  "hex": "#397f29",
  "rgb": {
    "r": 57,
    "g": 127,
    "b": 41
  },
  "hsl": {
    "h": 108.837,
    "s": 51.19,
    "l": 32.941
  },
  "oklch": {
    "l": 0.53216,
    "c": 0.13976,
    "h": 140.2
  },
  "luminance": 0.16209
}

Semantic roles & 50–950 ramp

primary
#397F29
secondary
#9E55AF
accent
#4DDBC0
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #397F29

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

Preview Lab → · Contrast checker → · Palette generator →

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