#397C2A#397C2A

#397C2A is a mid, vivid green. Relative luminance 0.155; OKLCH L 52.4% C 0.135 H 140.2°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#397C2A
RGBrgb(57, 124, 42)
HSLhsl(109, 49%, 33%)
HSVhsv(109, 66%, 49%)
CMYKcmyk(54%, 0%, 66.1%, 51.4%)
CIE-LABlab(46.25, -37.80, 37.25)
CIE-LCHlch(46.25, 53.07, 135.42°)
OKLaboklab(52.4% -0.1036 0.0864)
OKLCHoklch(52.4% 0.135 140.2)
XYZxyz(9.3125, 15.4516, 4.6818)
Luminance0.1545 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397C2A #6D2A7C
analogous
#627C2A #397C2A #2A7C44
triadic
#397C2A #2A397C #7C2A39
tetradic
#397C2A #2A627C #6D2A7C #7C442A
square
#397C2A #2A627C #6D2A7C #7C442A
split-complementary
#397C2A #442A7C #7C2A62
monochromatic
#0F210B #244E1B #397C2A #4EAA39 #6DC759

Accessibility & contrast

On white

5.13
#397C2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #397C2A
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397C2A#FFFFFF#000000##FFFFFF
##397C2A1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7120
Deuteranopia (green-blind)
#776B31
Tritanopia (blue-blind)
#32786B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #397c2a;
/* rgb */ color: rgb(57, 124, 42);
/* oklch */ color: oklch(52.4% 0.135 140.2);
Tailwind
colors: {
  custom: {
    50: '#76a267',
    500: '#397c2a',
    950: '#000000',
  },
}
SCSS
$custom: #397c2a;
$custom-light: #76a267;
$custom-dark: #000000;
JSON
{
  "hex": "#397c2a",
  "rgb": {
    "r": 57,
    "g": 124,
    "b": 42
  },
  "hsl": {
    "h": 109.024,
    "s": 49.398,
    "l": 32.549
  },
  "oklch": {
    "l": 0.52396,
    "c": 0.13488,
    "h": 140.2
  },
  "luminance": 0.15452
}

Semantic roles & 50–950 ramp

primary
#397C2A
secondary
#9D55AD
accent
#4FD9C0
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #397C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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