#397528#397528

#397528 is a mid, vivid green. Relative luminance 0.137; OKLCH L 50.4% C 0.127 H 139.4°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#397528
RGBrgb(57, 117, 40)
HSLhsl(107, 49%, 31%)
HSVhsv(107, 66%, 46%)
CMYKcmyk(51.3%, 0%, 65.8%, 54.1%)
CIE-LABlab(43.87, -35.05, 35.55)
CIE-LCHlch(43.87, 49.92, 134.59°)
OKLaboklab(50.43% -0.0963 0.0825)
OKLCHoklch(50.43% 0.127 139.4)
XYZxyz(8.4313, 13.7450, 4.2158)
Luminance0.1375 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397528 #642875
analogous
#5F7528 #397528 #28753D
triadic
#397528 #283975 #752839
tetradic
#397528 #285F75 #642875 #753D28
square
#397528 #285F75 #642875 #753D28
split-complementary
#397528 #3D2875 #75285F
monochromatic
#0D1A09 #234718 #397528 #4FA338 #6CC453

Accessibility & contrast

On white

5.60
#397528 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#397528 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397528
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397528#FFFFFF#000000##FFFFFF
##3975281.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786B1F
Deuteranopia (green-blind)
#70662E
Tritanopia (blue-blind)
#347165
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #397528;
/* rgb */ color: rgb(57, 117, 40);
/* oklch */ color: oklch(50.4% 0.127 139.4);
Tailwind
colors: {
  custom: {
    50: '#759d65',
    500: '#397528',
    950: '#000000',
  },
}
SCSS
$custom: #397528;
$custom-light: #759d65;
$custom-dark: #000000;
JSON
{
  "hex": "#397528",
  "rgb": {
    "r": 57,
    "g": 117,
    "b": 40
  },
  "hsl": {
    "h": 106.753,
    "s": 49.045,
    "l": 30.784
  },
  "oklch": {
    "l": 0.50432,
    "c": 0.1268,
    "h": 139.4
  },
  "luminance": 0.13746
}

Semantic roles & 50–950 ramp

primary
#397528
secondary
#9452A7
accent
#4FD9BA
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#090E06
muted
#7B7E7A

Preview Lab

Preview with #397528

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

Preview Lab → · Contrast checker → · Palette generator →

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