#397C1F#397C1F

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

Color values

HEX#397C1F
RGBrgb(57, 124, 31)
HSLhsl(103, 60%, 30%)
HSVhsv(103, 75%, 49%)
CMYKcmyk(54%, 0%, 75%, 51.4%)
CIE-LABlab(46.15, -38.82, 41.90)
CIE-LCHlch(46.15, 57.12, 132.82°)
OKLaboklab(52.29% -0.1071 0.0947)
OKLCHoklch(52.29% 0.143 138.5)
XYZxyz(9.1420, 15.3834, 3.7836)
Luminance0.1538 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397C1F #621F7C
analogous
#677C1F #397C1F #1F7C34
triadic
#397C1F #1F397C #7C1F39
tetradic
#397C1F #1F677C #621F7C #7C341F
square
#397C1F #1F677C #621F7C #7C341F
split-complementary
#397C1F #341F7C #7C1F67
monochromatic
#0C1A07 #224B13 #397C1F #50AD2B #6CD045

Accessibility & contrast

On white

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

On black

4.08
#397C1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##397C1F#FFFFFF#000000##FFFFFF
##397C1F1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#80710E
Deuteranopia (green-blind)
#776B28
Tritanopia (blue-blind)
#33786A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #397c1f;
/* rgb */ color: rgb(57, 124, 31);
/* oklch */ color: oklch(52.3% 0.143 138.5);
Tailwind
colors: {
  custom: {
    50: '#77a261',
    500: '#397c1f',
    950: '#000000',
  },
}
SCSS
$custom: #397c1f;
$custom-light: #77a261;
$custom-dark: #000000;
JSON
{
  "hex": "#397c1f",
  "rgb": {
    "r": 57,
    "g": 124,
    "b": 31
  },
  "hsl": {
    "h": 103.226,
    "s": 60,
    "l": 30.392
  },
  "oklch": {
    "l": 0.52291,
    "c": 0.14296,
    "h": 138.5
  },
  "luminance": 0.15384
}

Semantic roles & 50–950 ramp

primary
#397C1F
secondary
#9248AF
accent
#45E3B7
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #397C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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