#397938#397938

#397938 is a mid, moderate green. Relative luminance 0.148; OKLCH L 51.8% C 0.118 H 143.4°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#397938
RGBrgb(57, 121, 56)
HSLhsl(119, 37%, 35%)
HSVhsv(119, 54%, 47%)
CMYKcmyk(52.9%, 0%, 53.7%, 52.5%)
CIE-LABlab(45.40, -34.76, 29.27)
CIE-LCHlch(45.40, 45.44, 139.91°)
OKLaboklab(51.75% -0.0946 0.0703)
OKLCHoklch(51.75% 0.118 143.4)
XYZxyz(9.2381, 14.8294, 6.1162)
Luminance0.1483 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397938 #783879
analogous
#5A7938 #397938 #387958
triadic
#397938 #383979 #793839
tetradic
#397938 #385A79 #783879 #795838
square
#397938 #385A79 #783879 #795838
split-complementary
#397938 #583879 #79385A
monochromatic
#122511 #254F25 #397938 #4DA34B #70BC6F

Accessibility & contrast

On white

5.30
#397938 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#397938 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397938
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397938#FFFFFF#000000##FFFFFF
##3979381.005.303.975.30
#FFFFFF5.301.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6F32
Deuteranopia (green-blind)
#73693D
Tritanopia (blue-blind)
#30766A
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #397938;
/* rgb */ color: rgb(57, 121, 56);
/* oklch */ color: oklch(51.8% 0.118 143.4);
Tailwind
colors: {
  custom: {
    50: '#75a070',
    500: '#397938',
    950: '#000000',
  },
}
SCSS
$custom: #397938;
$custom-light: #75a070;
$custom-dark: #000000;
JSON
{
  "hex": "#397938",
  "rgb": {
    "r": 57,
    "g": 121,
    "b": 56
  },
  "hsl": {
    "h": 119.077,
    "s": 36.723,
    "l": 34.706
  },
  "oklch": {
    "l": 0.51752,
    "c": 0.11787,
    "h": 143.4
  },
  "luminance": 0.1483
}

Semantic roles & 50–950 ramp

primary
#397938
secondary
#A467A5
accent
#5BCDCB
background
#F7F9F6
surface
#EDF2EC
border
#C8CCC7
text
#090F07
muted
#7B7E7A

Preview Lab

Preview with #397938

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

Preview Lab → · Contrast checker → · Palette generator →

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