#397C28#397C28

#397C28 is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.4% C 0.136 H 139.8°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#397C28
RGBrgb(57, 124, 40)
HSLhsl(108, 51%, 32%)
HSVhsv(108, 68%, 49%)
CMYKcmyk(54%, 0%, 67.7%, 51.4%)
CIE-LABlab(46.23, -38.01, 38.15)
CIE-LCHlch(46.23, 53.85, 134.89°)
OKLaboklab(52.38% -0.1043 0.088)
OKLCHoklch(52.38% 0.136 139.8)
XYZxyz(9.2776, 15.4376, 4.4979)
Luminance0.1544 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397C28 #6B287C
analogous
#637C28 #397C28 #287C41
triadic
#397C28 #28397C #7C2839
tetradic
#397C28 #28637C #6B287C #7C4128
square
#397C28 #28637C #6B287C #7C4128
split-complementary
#397C28 #41287C #7C2863
monochromatic
#0E1F0A #244E19 #397C28 #4EAA37 #6DC856

Accessibility & contrast

On white

5.14
#397C28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#397C28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397C28
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397C28#FFFFFF#000000##FFFFFF
##397C281.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F711D
Deuteranopia (green-blind)
#776B2F
Tritanopia (blue-blind)
#32786B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #397c28;
/* rgb */ color: rgb(57, 124, 40);
/* oklch */ color: oklch(52.4% 0.136 139.8);
Tailwind
colors: {
  custom: {
    50: '#76a266',
    500: '#397c28',
    950: '#000000',
  },
}
SCSS
$custom: #397c28;
$custom-light: #76a266;
$custom-dark: #000000;
JSON
{
  "hex": "#397c28",
  "rgb": {
    "r": 57,
    "g": 124,
    "b": 40
  },
  "hsl": {
    "h": 107.857,
    "s": 51.22,
    "l": 32.157
  },
  "oklch": {
    "l": 0.52375,
    "c": 0.13648,
    "h": 139.8
  },
  "luminance": 0.15438
}

Semantic roles & 50–950 ramp

primary
#397C28
secondary
#9B52AD
accent
#4DDBBE
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #397C28

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

Preview Lab → · Contrast checker → · Palette generator →

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