#397127#397127

#397127 is a mid, vivid green. Relative luminance 0.128; OKLCH L 49.3% C 0.122 H 138.9°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#397127
RGBrgb(57, 113, 39)
HSLhsl(105, 49%, 30%)
HSVhsv(105, 65%, 44%)
CMYKcmyk(49.6%, 0%, 65.5%, 55.7%)
CIE-LABlab(42.50, -33.41, 34.51)
CIE-LCHlch(42.50, 48.04, 134.07°)
OKLaboklab(49.31% -0.0919 0.0802)
OKLCHoklch(49.31% 0.122 138.9)
XYZxyz(7.9584, 12.8261, 3.9754)
Luminance0.1283 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397127 #5F2771
analogous
#5E7127 #397127 #27713A
triadic
#397127 #273971 #712739
tetradic
#397127 #275E71 #5F2771 #713A27
square
#397127 #275E71 #5F2771 #713A27
split-complementary
#397127 #3A2771 #71275E
monochromatic
#0B1708 #224417 #397127 #509E37 #6CC350

Accessibility & contrast

On white

5.89
#397127 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#397127 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397127
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397127#FFFFFF#000000##FFFFFF
##3971271.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74671E
Deuteranopia (green-blind)
#6D632D
Tritanopia (blue-blind)
#356D61
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #397127;
/* rgb */ color: rgb(57, 113, 39);
/* oklch */ color: oklch(49.3% 0.122 138.9);
Tailwind
colors: {
  custom: {
    50: '#759a64',
    500: '#397127',
    950: '#000000',
  },
}
SCSS
$custom: #397127;
$custom-light: #759a64;
$custom-dark: #000000;
JSON
{
  "hex": "#397127",
  "rgb": {
    "r": 57,
    "g": 113,
    "b": 39
  },
  "hsl": {
    "h": 105.405,
    "s": 48.684,
    "l": 29.804
  },
  "oklch": {
    "l": 0.49308,
    "c": 0.12197,
    "h": 138.9
  },
  "luminance": 0.12827
}

Semantic roles & 50–950 ramp

primary
#397127
secondary
#8F50A3
accent
#50D8B7
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#090E06
muted
#7B7E7A

Preview Lab

Preview with #397127

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

Preview Lab → · Contrast checker → · Palette generator →

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