#397943#397943

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

Color values

HEX#397943
RGBrgb(57, 121, 67)
HSLhsl(129, 36%, 35%)
HSVhsv(129, 53%, 47%)
CMYKcmyk(52.9%, 0%, 44.6%, 52.5%)
CIE-LABlab(45.56, -33.02, 23.47)
CIE-LCHlch(45.56, 40.51, 144.60°)
OKLaboklab(51.94% -0.0896 0.0578)
OKLCHoklch(51.94% 0.107 147.2)
XYZxyz(9.5373, 14.9491, 7.6920)
Luminance0.1495 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397943 #79396F
analogous
#4F7939 #397943 #397963
triadic
#397943 #433979 #794339
tetradic
#397943 #394F79 #79396F #796339
square
#397943 #394F79 #79396F #796339
split-complementary
#397943 #633979 #79394F
monochromatic
#122615 #254F2C #397943 #4DA35A #71BC7C

Accessibility & contrast

On white

5.26
#397943 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #397943
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397943#FFFFFF#000000##FFFFFF
##3979431.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A703F
Deuteranopia (green-blind)
#726A46
Tritanopia (blue-blind)
#2D776C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #397943;
/* rgb */ color: rgb(57, 121, 67);
/* oklch */ color: oklch(51.9% 0.107 147.2);
Tailwind
colors: {
  custom: {
    50: '#75a078',
    500: '#397943',
    950: '#000000',
  },
}
SCSS
$custom: #397943;
$custom-light: #75a078;
$custom-dark: #000000;
JSON
{
  "hex": "#397943",
  "rgb": {
    "r": 57,
    "g": 121,
    "b": 67
  },
  "hsl": {
    "h": 129.375,
    "s": 35.955,
    "l": 34.902
  },
  "oklch": {
    "l": 0.51941,
    "c": 0.1066,
    "h": 147.2
  },
  "luminance": 0.1495
}

Semantic roles & 50–950 ramp

primary
#397943
secondary
#A5699C
accent
#5CBACC
background
#F7F9F7
surface
#EDF2ED
border
#C8CCC8
text
#090F09
muted
#7B7E7B

Preview Lab

Preview with #397943

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

Preview Lab → · Contrast checker → · Palette generator →

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