#397C1B#397C1B

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

Color values

HEX#397C1B
RGBrgb(57, 124, 27)
HSLhsl(101, 64%, 30%)
HSVhsv(101, 78%, 49%)
CMYKcmyk(54%, 0%, 78.2%, 51.4%)
CIE-LABlab(46.13, -39.12, 43.39)
CIE-LCHlch(46.13, 58.42, 132.04°)
OKLaboklab(52.26% -0.1082 0.0972)
OKLCHoklch(52.26% 0.145 138.1)
XYZxyz(9.0925, 15.3636, 3.5230)
Luminance0.1536 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397C1B #5E1B7C
analogous
#6A7C1B #397C1B #1B7C2D
triadic
#397C1B #1B397C #7C1B39
tetradic
#397C1B #1B6A7C #5E1B7C #7C2D1B
square
#397C1B #1B6A7C #5E1B7C #7C2D1B
split-complementary
#397C1B #2D1B7C #7C1B6A
monochromatic
#0C1905 #224A10 #397C1B #50AE26 #6CD53D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##397C1B#FFFFFF#000000##FFFFFF
##397C1B1.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)
#807106
Deuteranopia (green-blind)
#776B25
Tritanopia (blue-blind)
#34776A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #397c1b;
/* rgb */ color: rgb(57, 124, 27);
/* oklch */ color: oklch(52.3% 0.145 138.1);
Tailwind
colors: {
  custom: {
    50: '#77a25f',
    500: '#397c1b',
    950: '#000000',
  },
}
SCSS
$custom: #397c1b;
$custom-light: #77a25f;
$custom-dark: #000000;
JSON
{
  "hex": "#397c1b",
  "rgb": {
    "r": 57,
    "g": 124,
    "b": 27
  },
  "hsl": {
    "h": 101.443,
    "s": 64.238,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52261,
    "c": 0.14543,
    "h": 138.1
  },
  "luminance": 0.15364
}

Semantic roles & 50–950 ramp

primary
#397C1B
secondary
#8E43B0
accent
#41E7B4
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #397C1B

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

Preview Lab → · Contrast checker → · Palette generator →

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