#397C1A#397C1A

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

Color values

HEX#397C1A
RGBrgb(57, 124, 26)
HSLhsl(101, 65%, 29%)
HSVhsv(101, 79%, 49%)
CMYKcmyk(54%, 0%, 79%, 51.4%)
CIE-LABlab(46.12, -39.19, 43.74)
CIE-LCHlch(46.12, 58.73, 131.86°)
OKLaboklab(52.25% -0.1084 0.0978)
OKLCHoklch(52.25% 0.146 138)
XYZxyz(9.0811, 15.3591, 3.4631)
Luminance0.1536 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397C1A #5D1A7C
analogous
#6A7C1A #397C1A #1A7C2C
triadic
#397C1A #1A397C #7C1A39
tetradic
#397C1A #1A6A7C #5D1A7C #7C2C1A
square
#397C1A #1A6A7C #5D1A7C #7C2C1A
split-complementary
#397C1A #2C1A7C #7C1A6A
monochromatic
#0C1905 #22490F #397C1A #50AF25 #6CD63B

Accessibility & contrast

On white

5.16
#397C1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #397C1A
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397C1A#FFFFFF#000000##FFFFFF
##397C1A1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807103
Deuteranopia (green-blind)
#776B25
Tritanopia (blue-blind)
#347769
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #397c1a;
/* rgb */ color: rgb(57, 124, 26);
/* oklch */ color: oklch(52.3% 0.146 138.0);
Tailwind
colors: {
  custom: {
    50: '#77a25f',
    500: '#397c1a',
    950: '#000000',
  },
}
SCSS
$custom: #397c1a;
$custom-light: #77a25f;
$custom-dark: #000000;
JSON
{
  "hex": "#397c1a",
  "rgb": {
    "r": 57,
    "g": 124,
    "b": 26
  },
  "hsl": {
    "h": 101.02,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52254,
    "c": 0.146,
    "h": 138
  },
  "luminance": 0.1536
}

Semantic roles & 50–950 ramp

primary
#397C1A
secondary
#8D42B0
accent
#40E8B3
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #397C1A

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

Preview Lab → · Contrast checker → · Palette generator →

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