#397638#397638

#397638 is a mid, moderate green. Relative luminance 0.141; OKLCH L 50.9% C 0.113 H 143.4°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#397638
RGBrgb(57, 118, 56)
HSLhsl(119, 36%, 34%)
HSVhsv(119, 53%, 46%)
CMYKcmyk(51.7%, 0%, 52.5%, 53.7%)
CIE-LABlab(44.39, -33.44, 28.03)
CIE-LCHlch(44.39, 43.64, 140.03°)
OKLaboklab(50.93% -0.091 0.0676)
OKLCHoklch(50.93% 0.113 143.4)
XYZxyz(8.8791, 14.1116, 5.9965)
Luminance0.1411 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397638 #753876
analogous
#587638 #397638 #387656
triadic
#397638 #383976 #763839
tetradic
#397638 #385876 #753876 #765638
square
#397638 #385876 #753876 #765638
split-complementary
#397638 #563876 #763858
monochromatic
#112311 #254C24 #397638 #4DA04C #6FBA6E

Accessibility & contrast

On white

5.49
#397638 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#397638 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397638
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397638#FFFFFF#000000##FFFFFF
##3976381.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786C33
Deuteranopia (green-blind)
#70673C
Tritanopia (blue-blind)
#317368
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #397638;
/* rgb */ color: rgb(57, 118, 56);
/* oklch */ color: oklch(50.9% 0.113 143.4);
Tailwind
colors: {
  custom: {
    50: '#749e70',
    500: '#397638',
    950: '#000000',
  },
}
SCSS
$custom: #397638;
$custom-light: #749e70;
$custom-dark: #000000;
JSON
{
  "hex": "#397638",
  "rgb": {
    "r": 57,
    "g": 118,
    "b": 56
  },
  "hsl": {
    "h": 119.032,
    "s": 35.632,
    "l": 34.118
  },
  "oklch": {
    "l": 0.50926,
    "c": 0.11335,
    "h": 143.4
  },
  "luminance": 0.14112
}

Semantic roles & 50–950 ramp

primary
#397638
secondary
#A266A3
accent
#5CCCCA
background
#F7F9F6
surface
#EDF2EC
border
#C8CCC7
text
#090E07
muted
#7B7E7A

Preview Lab

Preview with #397638

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

Preview Lab → · Contrast checker → · Palette generator →

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