#397728#397728

#397728 is a mid, vivid green. Relative luminance 0.142; OKLCH L 51.0% C 0.130 H 139.5°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#397728
RGBrgb(57, 119, 40)
HSLhsl(107, 50%, 31%)
HSVhsv(107, 66%, 47%)
CMYKcmyk(52.1%, 0%, 66.4%, 53.3%)
CIE-LABlab(44.54, -35.90, 36.30)
CIE-LCHlch(44.54, 51.06, 134.68°)
OKLaboklab(50.99% -0.0986 0.0841)
OKLCHoklch(50.99% 0.13 139.5)
XYZxyz(8.6668, 14.2161, 4.2944)
Luminance0.1422 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397728 #662877
analogous
#607728 #397728 #28773E
triadic
#397728 #283977 #772839
tetradic
#397728 #286077 #662877 #773E28
square
#397728 #286077 #662877 #773E28
split-complementary
#397728 #3E2877 #772860
monochromatic
#0D1B09 #234919 #397728 #4FA537 #6CC554

Accessibility & contrast

On white

5.46
#397728 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#397728 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397728
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397728#FFFFFF#000000##FFFFFF
##3977281.005.463.845.46
#FFFFFF5.461.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6D1E
Deuteranopia (green-blind)
#72672F
Tritanopia (blue-blind)
#337366
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #397728;
/* rgb */ color: rgb(57, 119, 40);
/* oklch */ color: oklch(51.0% 0.130 139.5);
Tailwind
colors: {
  custom: {
    50: '#759f66',
    500: '#397728',
    950: '#000000',
  },
}
SCSS
$custom: #397728;
$custom-light: #759f66;
$custom-dark: #000000;
JSON
{
  "hex": "#397728",
  "rgb": {
    "r": 57,
    "g": 119,
    "b": 40
  },
  "hsl": {
    "h": 107.089,
    "s": 49.686,
    "l": 31.176
  },
  "oklch": {
    "l": 0.50988,
    "c": 0.1296,
    "h": 139.5
  },
  "luminance": 0.14217
}

Semantic roles & 50–950 ramp

primary
#397728
secondary
#9652A9
accent
#4FD9BB
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#090E06
muted
#7B7E7A

Preview Lab

Preview with #397728

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

Preview Lab → · Contrast checker → · Palette generator →

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