#397C1C#397C1C

#397C1C is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.3% C 0.145 H 138.2°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#397C1C
RGBrgb(57, 124, 28)
HSLhsl(102, 63%, 30%)
HSVhsv(102, 77%, 49%)
CMYKcmyk(54%, 0%, 77.4%, 51.4%)
CIE-LABlab(46.13, -39.05, 43.03)
CIE-LCHlch(46.13, 58.10, 132.22°)
OKLaboklab(52.27% -0.1079 0.0966)
OKLCHoklch(52.27% 0.145 138.2)
XYZxyz(9.1043, 15.3683, 3.5850)
Luminance0.1537 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397C1C #5F1C7C
analogous
#697C1C #397C1C #1C7C2F
triadic
#397C1C #1C397C #7C1C39
tetradic
#397C1C #1C697C #5F1C7C #7C2F1C
square
#397C1C #1C697C #5F1C7C #7C2F1C
split-complementary
#397C1C #2F1C7C #7C1C69
monochromatic
#0B1906 #224A11 #397C1C #50AE27 #6CD43F

Accessibility & contrast

On white

5.15
#397C1C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#397C1C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397C1C
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397C1C#FFFFFF#000000##FFFFFF
##397C1C1.005.154.075.15
#FFFFFF5.151.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807108
Deuteranopia (green-blind)
#776B26
Tritanopia (blue-blind)
#34776A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #397c1c;
/* rgb */ color: rgb(57, 124, 28);
/* oklch */ color: oklch(52.3% 0.145 138.2);
Tailwind
colors: {
  custom: {
    50: '#77a260',
    500: '#397c1c',
    950: '#000000',
  },
}
SCSS
$custom: #397c1c;
$custom-light: #77a260;
$custom-dark: #000000;
JSON
{
  "hex": "#397c1c",
  "rgb": {
    "r": 57,
    "g": 124,
    "b": 28
  },
  "hsl": {
    "h": 101.875,
    "s": 63.158,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52268,
    "c": 0.14483,
    "h": 138.2
  },
  "luminance": 0.15369
}

Semantic roles & 50–950 ramp

primary
#397C1C
secondary
#8F44B0
accent
#42E6B4
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #397C1C

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

Preview Lab → · Contrast checker → · Palette generator →

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