#397946#397946

#397946 is a mid, moderate green. Relative luminance 0.150; OKLCH L 52.0% C 0.103 H 148.5°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#397946
RGBrgb(57, 121, 70)
HSLhsl(132, 36%, 35%)
HSVhsv(132, 53%, 47%)
CMYKcmyk(52.9%, 0%, 42.1%, 52.5%)
CIE-LABlab(45.62, -32.49, 21.85)
CIE-LCHlch(45.62, 39.15, 146.08°)
OKLaboklab(52% -0.0882 0.0541)
OKLCHoklch(52% 0.103 148.5)
XYZxyz(9.6296, 14.9860, 8.1783)
Luminance0.1499 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397946 #79396C
analogous
#4C7939 #397946 #397966
triadic
#397946 #463979 #794639
tetradic
#397946 #394C79 #79396C #796639
square
#397946 #394C79 #79396C #796639
split-complementary
#397946 #663979 #79394C
monochromatic
#122616 #254F2E #397946 #4DA35E #71BC80

Accessibility & contrast

On white

5.25
#397946 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#397946 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397946
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397946#FFFFFF#000000##FFFFFF
##3979461.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A7042
Deuteranopia (green-blind)
#716A49
Tritanopia (blue-blind)
#2D776C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #397946;
/* rgb */ color: rgb(57, 121, 70);
/* oklch */ color: oklch(52.0% 0.103 148.5);
Tailwind
colors: {
  custom: {
    50: '#74a07a',
    500: '#397946',
    950: '#000000',
  },
}
SCSS
$custom: #397946;
$custom-light: #74a07a;
$custom-dark: #000000;
JSON
{
  "hex": "#397946",
  "rgb": {
    "r": 57,
    "g": 121,
    "b": 70
  },
  "hsl": {
    "h": 132.188,
    "s": 35.955,
    "l": 34.902
  },
  "oklch": {
    "l": 0.51999,
    "c": 0.10344,
    "h": 148.5
  },
  "luminance": 0.14987
}

Semantic roles & 50–950 ramp

primary
#397946
secondary
#A56999
accent
#5CB5CC
background
#F7F9F7
surface
#EDF2ED
border
#C8CCC8
text
#090F09
muted
#7B7E7B

Preview Lab

Preview with #397946

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

Preview Lab → · Contrast checker → · Palette generator →

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