#397846#397846

#397846 is a mid, moderate green. Relative luminance 0.147; OKLCH L 51.7% C 0.102 H 148.6°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#397846
RGBrgb(57, 120, 70)
HSLhsl(132, 36%, 35%)
HSVhsv(132, 53%, 47%)
CMYKcmyk(52.5%, 0%, 41.7%, 52.9%)
CIE-LABlab(45.28, -32.03, 21.41)
CIE-LCHlch(45.28, 38.53, 146.24°)
OKLaboklab(51.73% -0.0869 0.0531)
OKLCHoklch(51.73% 0.102 148.6)
XYZxyz(9.5087, 14.7442, 8.1380)
Luminance0.1474 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397846 #78396B
analogous
#4C7839 #397846 #397866
triadic
#397846 #463978 #784639
tetradic
#397846 #394C78 #78396B #786639
square
#397846 #394C78 #78396B #786639
split-complementary
#397846 #663978 #78394C
monochromatic
#122516 #254F2E #397846 #4DA15E #70BB80

Accessibility & contrast

On white

5.32
#397846 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#397846 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397846
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397846#FFFFFF#000000##FFFFFF
##3978461.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796F42
Deuteranopia (green-blind)
#706949
Tritanopia (blue-blind)
#2D766C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #397846;
/* rgb */ color: rgb(57, 120, 70);
/* oklch */ color: oklch(51.7% 0.102 148.6);
Tailwind
colors: {
  custom: {
    50: '#749f7a',
    500: '#397846',
    950: '#000000',
  },
}
SCSS
$custom: #397846;
$custom-light: #749f7a;
$custom-dark: #000000;
JSON
{
  "hex": "#397846",
  "rgb": {
    "r": 57,
    "g": 120,
    "b": 70
  },
  "hsl": {
    "h": 132.381,
    "s": 35.593,
    "l": 34.706
  },
  "oklch": {
    "l": 0.51726,
    "c": 0.10186,
    "h": 148.6
  },
  "luminance": 0.14745
}

Semantic roles & 50–950 ramp

primary
#397846
secondary
#A46898
accent
#5CB5CC
background
#F7F9F7
surface
#EDF2ED
border
#C8CCC8
text
#090E09
muted
#7B7E7B

Preview Lab

Preview with #397846

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

Preview Lab → · Contrast checker → · Palette generator →

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