#397138#397138

#397138 is a mid, moderate green. Relative luminance 0.130; OKLCH L 49.5% C 0.106 H 143.4°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#397138
RGBrgb(57, 113, 56)
HSLhsl(119, 34%, 33%)
HSVhsv(119, 50%, 44%)
CMYKcmyk(49.6%, 0%, 50.4%, 55.7%)
CIE-LABlab(42.71, -31.18, 25.95)
CIE-LCHlch(42.71, 40.57, 140.23°)
OKLaboklab(49.55% -0.0849 0.0629)
OKLCHoklch(49.55% 0.106 143.4)
XYZxyz(8.3059, 12.9650, 5.8054)
Luminance0.1297 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397138 #703871
analogous
#557138 #397138 #387153
triadic
#397138 #383971 #713839
tetradic
#397138 #385571 #703871 #715338
square
#397138 #385571 #703871 #715338
split-complementary
#397138 #533871 #713855
monochromatic
#101F0F #244824 #397138 #4E9A4C #6EB76D

Accessibility & contrast

On white

5.84
#397138 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#397138 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397138
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397138#FFFFFF#000000##FFFFFF
##3971381.005.843.595.84
#FFFFFF5.841.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#736833
Deuteranopia (green-blind)
#6B633C
Tritanopia (blue-blind)
#326E64
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #397138;
/* rgb */ color: rgb(57, 113, 56);
/* oklch */ color: oklch(49.5% 0.106 143.4);
Tailwind
colors: {
  custom: {
    50: '#749a70',
    500: '#397138',
    950: '#000000',
  },
}
SCSS
$custom: #397138;
$custom-light: #749a70;
$custom-dark: #000000;
JSON
{
  "hex": "#397138",
  "rgb": {
    "r": 57,
    "g": 113,
    "b": 56
  },
  "hsl": {
    "h": 118.947,
    "s": 33.728,
    "l": 33.137
  },
  "oklch": {
    "l": 0.49549,
    "c": 0.10566,
    "h": 143.4
  },
  "luminance": 0.12966
}

Semantic roles & 50–950 ramp

primary
#397138
secondary
#9F65A0
accent
#5ECAC8
background
#F7F9F6
surface
#EDF2EC
border
#C8CCC7
text
#080E07
muted
#7B7E7A

Preview Lab

Preview with #397138

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

Preview Lab → · Contrast checker → · Palette generator →

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