#397B1B#397B1B

#397B1B is a mid, vivid green. Relative luminance 0.151; OKLCH L 52.0% C 0.144 H 138.0°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#397B1B
RGBrgb(57, 123, 27)
HSLhsl(101, 64%, 29%)
HSVhsv(101, 78%, 48%)
CMYKcmyk(53.7%, 0%, 78%, 51.8%)
CIE-LABlab(45.79, -38.71, 43.06)
CIE-LCHlch(45.79, 57.90, 131.96°)
OKLaboklab(51.98% -0.1071 0.0965)
OKLCHoklch(51.98% 0.144 138)
XYZxyz(8.9678, 15.1142, 3.4815)
Luminance0.1512 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397B1B #5D1B7B
analogous
#697B1B #397B1B #1B7B2D
triadic
#397B1B #1B397B #7B1B39
tetradic
#397B1B #1B697B #5D1B7B #7B2D1B
square
#397B1B #1B697B #5D1B7B #7B2D1B
split-complementary
#397B1B #2D1B7B #7B1B69
monochromatic
#0C1906 #224910 #397B1B #50AD26 #6CD43C

Accessibility & contrast

On white

5.22
#397B1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#397B1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397B1B
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397B1B#FFFFFF#000000##FFFFFF
##397B1B1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7006
Deuteranopia (green-blind)
#776A25
Tritanopia (blue-blind)
#347669
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #397b1b;
/* rgb */ color: rgb(57, 123, 27);
/* oklch */ color: oklch(52.0% 0.144 138.0);
Tailwind
colors: {
  custom: {
    50: '#77a25f',
    500: '#397b1b',
    950: '#000000',
  },
}
SCSS
$custom: #397b1b;
$custom-light: #77a25f;
$custom-dark: #000000;
JSON
{
  "hex": "#397b1b",
  "rgb": {
    "r": 57,
    "g": 123,
    "b": 27
  },
  "hsl": {
    "h": 101.25,
    "s": 64,
    "l": 29.412
  },
  "oklch": {
    "l": 0.51982,
    "c": 0.14415,
    "h": 138
  },
  "luminance": 0.15115
}

Semantic roles & 50–950 ramp

primary
#397B1B
secondary
#8D43AF
accent
#41E7B3
background
#F7FAF5
surface
#EEF3EA
border
#C9CDC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #397B1B

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

Preview Lab → · Contrast checker → · Palette generator →

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