#397327#397327

#397327 is a mid, vivid green. Relative luminance 0.133; OKLCH L 49.9% C 0.125 H 139.1°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#397327
RGBrgb(57, 115, 39)
HSLhsl(106, 49%, 30%)
HSVhsv(106, 66%, 45%)
CMYKcmyk(50.4%, 0%, 66.1%, 54.9%)
CIE-LABlab(43.18, -34.29, 35.27)
CIE-LCHlch(43.18, 49.19, 134.19°)
OKLaboklab(49.86% -0.0943 0.0818)
OKLCHoklch(49.86% 0.125 139.1)
XYZxyz(8.1840, 13.2772, 4.0506)
Luminance0.1328 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397327 #612773
analogous
#5F7327 #397327 #27733B
triadic
#397327 #273973 #732739
tetradic
#397327 #275F73 #612773 #733B27
square
#397327 #275F73 #612773 #733B27
split-complementary
#397327 #3B2773 #73275F
monochromatic
#0C1808 #224518 #397327 #50A136 #6CC451

Accessibility & contrast

On white

5.74
#397327 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#397327 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397327
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397327#FFFFFF#000000##FFFFFF
##3973271.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#76691E
Deuteranopia (green-blind)
#6F642D
Tritanopia (blue-blind)
#346F63
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #397327;
/* rgb */ color: rgb(57, 115, 39);
/* oklch */ color: oklch(49.9% 0.125 139.1);
Tailwind
colors: {
  custom: {
    50: '#759c65',
    500: '#397327',
    950: '#000000',
  },
}
SCSS
$custom: #397327;
$custom-light: #759c65;
$custom-dark: #000000;
JSON
{
  "hex": "#397327",
  "rgb": {
    "r": 57,
    "g": 115,
    "b": 39
  },
  "hsl": {
    "h": 105.789,
    "s": 49.351,
    "l": 30.196
  },
  "oklch": {
    "l": 0.49865,
    "c": 0.12481,
    "h": 139.1
  },
  "luminance": 0.13278
}

Semantic roles & 50–950 ramp

primary
#397327
secondary
#9150A5
accent
#4FD9B8
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#090E06
muted
#7B7E7A

Preview Lab

Preview with #397327

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

Preview Lab → · Contrast checker → · Palette generator →

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