#397231#397231

#397231 is a mid, moderate green. Relative luminance 0.131; OKLCH L 49.7% C 0.114 H 141.3°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#397231
RGBrgb(57, 114, 49)
HSLhsl(113, 40%, 32%)
HSVhsv(113, 57%, 45%)
CMYKcmyk(50%, 0%, 57%, 55.3%)
CIE-LABlab(42.95, -32.64, 30.00)
CIE-LCHlch(42.95, 44.34, 137.41°)
OKLaboklab(49.72% -0.0892 0.0715)
OKLCHoklch(49.72% 0.114 141.3)
XYZxyz(8.2587, 13.1257, 5.0035)
Luminance0.1313 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397231 #6A3172
analogous
#5A7231 #397231 #31724A
triadic
#397231 #313972 #723139
tetradic
#397231 #315A72 #6A3172 #724A31
square
#397231 #315A72 #6A3172 #724A31
split-complementary
#397231 #4A3172 #72315A
monochromatic
#0E1C0C #24471F #397231 #4E9D43 #6DBB62

Accessibility & contrast

On white

5.79
#397231 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#397231 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397231
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397231#FFFFFF#000000##FFFFFF
##3972311.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#75692B
Deuteranopia (green-blind)
#6D6336
Tritanopia (blue-blind)
#336F63
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #397231;
/* rgb */ color: rgb(57, 114, 49);
/* oklch */ color: oklch(49.7% 0.114 141.3);
Tailwind
colors: {
  custom: {
    50: '#749b6b',
    500: '#397231',
    950: '#000000',
  },
}
SCSS
$custom: #397231;
$custom-light: #749b6b;
$custom-dark: #000000;
JSON
{
  "hex": "#397231",
  "rgb": {
    "r": 57,
    "g": 114,
    "b": 49
  },
  "hsl": {
    "h": 112.615,
    "s": 39.877,
    "l": 31.961
  },
  "oklch": {
    "l": 0.49716,
    "c": 0.11426,
    "h": 141.3
  },
  "luminance": 0.13126
}

Semantic roles & 50–950 ramp

primary
#397231
secondary
#9A5CA3
accent
#58D0C1
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#080E07
muted
#7B7E7A

Preview Lab

Preview with #397231

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

Preview Lab → · Contrast checker → · Palette generator →

#397231 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva