#397F31#397F31

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

Color values

HEX#397F31
RGBrgb(57, 127, 49)
HSLhsl(114, 44%, 35%)
HSVhsv(114, 61%, 50%)
CMYKcmyk(55.1%, 0%, 61.4%, 50.2%)
CIE-LABlab(47.33, -38.26, 35.13)
CIE-LCHlch(47.33, 51.94, 137.44°)
OKLaboklab(53.31% -0.1044 0.0826)
OKLCHoklch(53.31% 0.133 141.7)
XYZxyz(9.8306, 16.2696, 5.5274)
Luminance0.1627 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397F31 #77317F
analogous
#607F31 #397F31 #317F50
triadic
#397F31 #31397F #7F3139
tetradic
#397F31 #31607F #77317F #7F5031
square
#397F31 #31607F #77317F #7F5031
split-complementary
#397F31 #50317F #7F3160
monochromatic
#11270F #255320 #397F31 #4DAB42 #70C466

Accessibility & contrast

On white

4.94
#397F31 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#397F31 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397F31
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397F31#FFFFFF#000000##FFFFFF
##397F311.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827429
Deuteranopia (green-blind)
#796E37
Tritanopia (blue-blind)
#307B6E
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #397f31;
/* rgb */ color: rgb(57, 127, 49);
/* oklch */ color: oklch(53.3% 0.133 141.7);
Tailwind
colors: {
  custom: {
    50: '#76a56c',
    500: '#397f31',
    950: '#000000',
  },
}
SCSS
$custom: #397f31;
$custom-light: #76a56c;
$custom-dark: #000000;
JSON
{
  "hex": "#397f31",
  "rgb": {
    "r": 57,
    "g": 127,
    "b": 49
  },
  "hsl": {
    "h": 113.846,
    "s": 44.318,
    "l": 34.51
  },
  "oklch": {
    "l": 0.53307,
    "c": 0.13311,
    "h": 141.7
  },
  "luminance": 0.1627
}

Semantic roles & 50–950 ramp

primary
#397F31
secondary
#A460AB
accent
#54D4C7
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F07
muted
#7B7F7A

Preview Lab

Preview with #397F31

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

Preview Lab → · Contrast checker → · Palette generator →

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