#397F25#397F25

#397F25 is a mid, vivid green. Relative luminance 0.162; OKLCH L 53.2% C 0.143 H 139.5°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#397F25
RGBrgb(57, 127, 37)
HSLhsl(107, 55%, 32%)
HSVhsv(107, 71%, 50%)
CMYKcmyk(55.1%, 0%, 70.9%, 50.2%)
CIE-LABlab(47.21, -39.53, 40.53)
CIE-LCHlch(47.21, 56.61, 134.29°)
OKLaboklab(53.18% -0.1086 0.0927)
OKLCHoklch(53.18% 0.143 139.5)
XYZxyz(9.6103, 16.1814, 4.3668)
Luminance0.1618 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397F25 #6B257F
analogous
#667F25 #397F25 #257F3E
triadic
#397F25 #25397F #7F2539
tetradic
#397F25 #25667F #6B257F #7F3E25
square
#397F25 #25667F #6B257F #7F3E25
split-complementary
#397F25 #3E257F #7F2566
monochromatic
#0E2009 #245017 #397F25 #4EAE33 #6DCD52

Accessibility & contrast

On white

4.96
#397F25 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#397F25 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397F25
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397F25#FFFFFF#000000##FFFFFF
##397F251.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837418
Deuteranopia (green-blind)
#7A6E2D
Tritanopia (blue-blind)
#327B6D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #397f25;
/* rgb */ color: rgb(57, 127, 37);
/* oklch */ color: oklch(53.2% 0.143 139.5);
Tailwind
colors: {
  custom: {
    50: '#77a565',
    500: '#397f25',
    950: '#000000',
  },
}
SCSS
$custom: #397f25;
$custom-light: #77a565;
$custom-dark: #000000;
JSON
{
  "hex": "#397f25",
  "rgb": {
    "r": 57,
    "g": 127,
    "b": 37
  },
  "hsl": {
    "h": 106.667,
    "s": 54.878,
    "l": 32.157
  },
  "oklch": {
    "l": 0.53176,
    "c": 0.14277,
    "h": 139.5
  },
  "luminance": 0.16182
}

Semantic roles & 50–950 ramp

primary
#397F25
secondary
#9B4FB1
accent
#4ADEBD
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #397F25

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

Preview Lab → · Contrast checker → · Palette generator →

#397F25 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva