#397731#397731

#397731 is a mid, vivid green. Relative luminance 0.143; OKLCH L 51.1% C 0.122 H 141.5°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#397731
RGBrgb(57, 119, 49)
HSLhsl(113, 42%, 33%)
HSVhsv(113, 59%, 47%)
CMYKcmyk(52.1%, 0%, 58.8%, 53.3%)
CIE-LABlab(44.64, -34.85, 32.00)
CIE-LCHlch(44.64, 47.31, 137.44°)
OKLaboklab(51.1% -0.0952 0.0758)
OKLCHoklch(51.1% 0.122 141.5)
XYZxyz(8.8381, 14.2846, 5.1966)
Luminance0.1429 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397731 #6F3177
analogous
#5C7731 #397731 #31774C
triadic
#397731 #313977 #773139
tetradic
#397731 #315C77 #6F3177 #774C31
square
#397731 #315C77 #6F3177 #774C31
split-complementary
#397731 #4C3177 #77315C
monochromatic
#0F200D #244C1F #397731 #4EA243 #6EBF63

Accessibility & contrast

On white

5.44
#397731 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#397731 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397731
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397731#FFFFFF#000000##FFFFFF
##3977311.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6D2A
Deuteranopia (green-blind)
#726736
Tritanopia (blue-blind)
#327368
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #397731;
/* rgb */ color: rgb(57, 119, 49);
/* oklch */ color: oklch(51.1% 0.122 141.5);
Tailwind
colors: {
  custom: {
    50: '#759f6b',
    500: '#397731',
    950: '#000000',
  },
}
SCSS
$custom: #397731;
$custom-light: #759f6b;
$custom-dark: #000000;
JSON
{
  "hex": "#397731",
  "rgb": {
    "r": 57,
    "g": 119,
    "b": 49
  },
  "hsl": {
    "h": 113.143,
    "s": 41.667,
    "l": 32.941
  },
  "oklch": {
    "l": 0.51099,
    "c": 0.12167,
    "h": 141.5
  },
  "luminance": 0.14285
}

Semantic roles & 50–950 ramp

primary
#397731
secondary
#9E5DA6
accent
#56D1C3
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#090E07
muted
#7B7E7A

Preview Lab

Preview with #397731

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

Preview Lab → · Contrast checker → · Palette generator →

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