#397727#397727

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

Color values

HEX#397727
RGBrgb(57, 119, 39)
HSLhsl(107, 51%, 31%)
HSVhsv(107, 67%, 47%)
CMYKcmyk(52.1%, 0%, 67.2%, 53.3%)
CIE-LABlab(44.53, -36.01, 36.76)
CIE-LCHlch(44.53, 51.46, 134.41°)
OKLaboklab(50.98% -0.0989 0.085)
OKLCHoklch(50.98% 0.13 139.3)
XYZxyz(8.6500, 14.2094, 4.2059)
Luminance0.1421 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397727 #652777
analogous
#617727 #397727 #27773D
triadic
#397727 #273977 #772739
tetradic
#397727 #276177 #652777 #773D27
square
#397727 #276177 #652777 #773D27
split-complementary
#397727 #3D2777 #772761
monochromatic
#0D1B09 #234918 #397727 #4FA536 #6CC652

Accessibility & contrast

On white

5.47
#397727 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #397727
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397727#FFFFFF#000000##FFFFFF
##3977271.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #397727;
/* rgb */ color: rgb(57, 119, 39);
/* oklch */ color: oklch(51.0% 0.130 139.3);
Tailwind
colors: {
  custom: {
    50: '#759f65',
    500: '#397727',
    950: '#000000',
  },
}
SCSS
$custom: #397727;
$custom-light: #759f65;
$custom-dark: #000000;
JSON
{
  "hex": "#397727",
  "rgb": {
    "r": 57,
    "g": 119,
    "b": 39
  },
  "hsl": {
    "h": 106.5,
    "s": 50.633,
    "l": 30.98
  },
  "oklch": {
    "l": 0.50977,
    "c": 0.13041,
    "h": 139.3
  },
  "luminance": 0.1421
}

Semantic roles & 50–950 ramp

primary
#397727
secondary
#9551A9
accent
#4EDABB
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#090E06
muted
#7B7E7A

Preview Lab

Preview with #397727

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

Preview Lab → · Contrast checker → · Palette generator →

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