#397B31#397B31

#397B31 is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.2% C 0.127 H 141.6°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#397B31
RGBrgb(57, 123, 49)
HSLhsl(114, 43%, 34%)
HSVhsv(114, 60%, 48%)
CMYKcmyk(53.7%, 0%, 60.2%, 51.8%)
CIE-LABlab(45.98, -36.57, 33.58)
CIE-LCHlch(45.98, 49.65, 137.44°)
OKLaboklab(52.2% -0.0998 0.0792)
OKLCHoklch(52.2% 0.127 141.6)
XYZxyz(9.3242, 15.2568, 5.3586)
Luminance0.1526 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397B31 #73317B
analogous
#5E7B31 #397B31 #317B4E
triadic
#397B31 #31397B #7B3139
tetradic
#397B31 #315E7B #73317B #7B4E31
square
#397B31 #315E7B #73317B #7B4E31
split-complementary
#397B31 #4E317B #7B315E
monochromatic
#10230E #254F20 #397B31 #4DA742 #6FC265

Accessibility & contrast

On white

5.18
#397B31 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#397B31 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397B31
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397B31#FFFFFF#000000##FFFFFF
##397B311.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E7029
Deuteranopia (green-blind)
#756B37
Tritanopia (blue-blind)
#31776B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #397b31;
/* rgb */ color: rgb(57, 123, 49);
/* oklch */ color: oklch(52.2% 0.127 141.6);
Tailwind
colors: {
  custom: {
    50: '#76a26c',
    500: '#397b31',
    950: '#000000',
  },
}
SCSS
$custom: #397b31;
$custom-light: #76a26c;
$custom-dark: #000000;
JSON
{
  "hex": "#397b31",
  "rgb": {
    "r": 57,
    "g": 123,
    "b": 49
  },
  "hsl": {
    "h": 113.514,
    "s": 43.023,
    "l": 33.725
  },
  "oklch": {
    "l": 0.52204,
    "c": 0.12745,
    "h": 141.6
  },
  "luminance": 0.15258
}

Semantic roles & 50–950 ramp

primary
#397B31
secondary
#A15FA9
accent
#55D3C5
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#090F07
muted
#7B7F7A

Preview Lab

Preview with #397B31

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

Preview Lab → · Contrast checker → · Palette generator →

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