#397942#397942

#397942 is a mid, moderate green. Relative luminance 0.149; OKLCH L 51.9% C 0.108 H 146.8°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#397942
RGBrgb(57, 121, 66)
HSLhsl(128, 36%, 35%)
HSVhsv(128, 53%, 47%)
CMYKcmyk(52.9%, 0%, 45.5%, 52.5%)
CIE-LABlab(45.55, -33.19, 24.00)
CIE-LCHlch(45.55, 40.96, 144.13°)
OKLaboklab(51.92% -0.09 0.059)
OKLCHoklch(51.92% 0.108 146.8)
XYZxyz(9.5075, 14.9372, 7.5354)
Luminance0.1494 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397942 #793970
analogous
#507939 #397942 #397962
triadic
#397942 #423979 #794239
tetradic
#397942 #395079 #793970 #796239
square
#397942 #395079 #793970 #796239
split-complementary
#397942 #623979 #793950
monochromatic
#122615 #254F2B #397942 #4DA359 #71BC7B

Accessibility & contrast

On white

5.27
#397942 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#397942 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397942
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397942#FFFFFF#000000##FFFFFF
##3979421.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6F3E
Deuteranopia (green-blind)
#726946
Tritanopia (blue-blind)
#2E766C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #397942;
/* rgb */ color: rgb(57, 121, 66);
/* oklch */ color: oklch(51.9% 0.108 146.8);
Tailwind
colors: {
  custom: {
    50: '#75a077',
    500: '#397942',
    950: '#000000',
  },
}
SCSS
$custom: #397942;
$custom-light: #75a077;
$custom-dark: #000000;
JSON
{
  "hex": "#397942",
  "rgb": {
    "r": 57,
    "g": 121,
    "b": 66
  },
  "hsl": {
    "h": 128.438,
    "s": 35.955,
    "l": 34.902
  },
  "oklch": {
    "l": 0.51922,
    "c": 0.10765,
    "h": 146.8
  },
  "luminance": 0.14938
}

Semantic roles & 50–950 ramp

primary
#397942
secondary
#A5699D
accent
#5CBCCC
background
#F7F9F7
surface
#EDF2ED
border
#C8CCC8
text
#090F08
muted
#7B7E7B

Preview Lab

Preview with #397942

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

Preview Lab → · Contrast checker → · Palette generator →

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