#397628#397628

#397628 is a mid, vivid green. Relative luminance 0.140; OKLCH L 50.7% C 0.128 H 139.5°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#397628
RGBrgb(57, 118, 40)
HSLhsl(107, 49%, 31%)
HSVhsv(107, 66%, 46%)
CMYKcmyk(51.7%, 0%, 66.1%, 53.7%)
CIE-LABlab(44.20, -35.48, 35.93)
CIE-LCHlch(44.20, 50.49, 134.64°)
OKLaboklab(50.71% -0.0974 0.0833)
OKLCHoklch(50.71% 0.128 139.5)
XYZxyz(8.5484, 13.9793, 4.2549)
Luminance0.1398 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397628 #652876
analogous
#607628 #397628 #28763E
triadic
#397628 #283976 #762839
tetradic
#397628 #286076 #652876 #763E28
square
#397628 #286076 #652876 #763E28
split-complementary
#397628 #3E2876 #762860
monochromatic
#0D1B09 #234819 #397628 #4FA437 #6CC554

Accessibility & contrast

On white

5.53
#397628 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#397628 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397628
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397628#FFFFFF#000000##FFFFFF
##3976281.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796C1F
Deuteranopia (green-blind)
#71672E
Tritanopia (blue-blind)
#337266
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #397628;
/* rgb */ color: rgb(57, 118, 40);
/* oklch */ color: oklch(50.7% 0.128 139.5);
Tailwind
colors: {
  custom: {
    50: '#759e65',
    500: '#397628',
    950: '#000000',
  },
}
SCSS
$custom: #397628;
$custom-light: #759e65;
$custom-dark: #000000;
JSON
{
  "hex": "#397628",
  "rgb": {
    "r": 57,
    "g": 118,
    "b": 40
  },
  "hsl": {
    "h": 106.923,
    "s": 49.367,
    "l": 30.98
  },
  "oklch": {
    "l": 0.5071,
    "c": 0.1282,
    "h": 139.5
  },
  "luminance": 0.1398
}

Semantic roles & 50–950 ramp

primary
#397628
secondary
#9552A8
accent
#4FD9BB
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#090E06
muted
#7B7E7A

Preview Lab

Preview with #397628

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

Preview Lab → · Contrast checker → · Palette generator →

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