#397237#397237

#397237 is a mid, moderate green. Relative luminance 0.132; OKLCH L 49.8% C 0.108 H 143.1°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#397237
RGBrgb(57, 114, 55)
HSLhsl(118, 35%, 33%)
HSVhsv(118, 52%, 45%)
CMYKcmyk(50%, 0%, 51.8%, 55.3%)
CIE-LABlab(43.03, -31.79, 26.90)
CIE-LCHlch(43.03, 41.64, 139.77°)
OKLaboklab(49.81% -0.0866 0.065)
OKLCHoklch(49.81% 0.108 143.1)
XYZxyz(8.3938, 13.1797, 5.7153)
Luminance0.1318 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397237 #703772
analogous
#567237 #397237 #377252
triadic
#397237 #373972 #723739
tetradic
#397237 #375672 #703772 #725237
square
#397237 #375672 #703772 #725237
split-complementary
#397237 #523772 #723756
monochromatic
#101F0F #244923 #397237 #4E9B4B #6EB86C

Accessibility & contrast

On white

5.78
#397237 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#397237 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397237
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397237#FFFFFF#000000##FFFFFF
##3972371.005.783.645.78
#FFFFFF5.781.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746932
Deuteranopia (green-blind)
#6C643B
Tritanopia (blue-blind)
#326F64
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #397237;
/* rgb */ color: rgb(57, 114, 55);
/* oklch */ color: oklch(49.8% 0.108 143.1);
Tailwind
colors: {
  custom: {
    50: '#749b6f',
    500: '#397237',
    950: '#000000',
  },
}
SCSS
$custom: #397237;
$custom-light: #749b6f;
$custom-dark: #000000;
JSON
{
  "hex": "#397237",
  "rgb": {
    "r": 57,
    "g": 114,
    "b": 55
  },
  "hsl": {
    "h": 117.966,
    "s": 34.911,
    "l": 33.137
  },
  "oklch": {
    "l": 0.49808,
    "c": 0.10825,
    "h": 143.1
  },
  "luminance": 0.1318
}

Semantic roles & 50–950 ramp

primary
#397237
secondary
#9F64A1
accent
#5DCBC7
background
#F7F9F6
surface
#EDF2EC
border
#C8CCC7
text
#080E07
muted
#7B7E7A

Preview Lab

Preview with #397237

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

Preview Lab → · Contrast checker → · Palette generator →

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