#397B1A#397B1A

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

Color values

HEX#397B1A
RGBrgb(57, 123, 26)
HSLhsl(101, 65%, 29%)
HSVhsv(101, 79%, 48%)
CMYKcmyk(53.7%, 0%, 78.9%, 51.8%)
CIE-LABlab(45.78, -38.78, 43.41)
CIE-LCHlch(45.78, 58.21, 131.78°)
OKLaboklab(51.98% -0.1073 0.0971)
OKLCHoklch(51.98% 0.145 137.9)
XYZxyz(8.9564, 15.1097, 3.4216)
Luminance0.1511 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397B1A #5C1A7B
analogous
#6A7B1A #397B1A #1A7B2C
triadic
#397B1A #1A397B #7B1A39
tetradic
#397B1A #1A6A7B #5C1A7B #7B2C1A
square
#397B1A #1A6A7B #5C1A7B #7B2C1A
split-complementary
#397B1A #2C1A7B #7B1A6A
monochromatic
#0C1905 #22480F #397B1A #50AE25 #6CD53A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##397B1A#FFFFFF#000000##FFFFFF
##397B1A1.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)
#7F7004
Deuteranopia (green-blind)
#776A24
Tritanopia (blue-blind)
#347669
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #397b1a;
/* rgb */ color: rgb(57, 123, 26);
/* oklch */ color: oklch(52.0% 0.145 137.9);
Tailwind
colors: {
  custom: {
    50: '#77a25e',
    500: '#397b1a',
    950: '#000000',
  },
}
SCSS
$custom: #397b1a;
$custom-light: #77a25e;
$custom-dark: #000000;
JSON
{
  "hex": "#397b1a",
  "rgb": {
    "r": 57,
    "g": 123,
    "b": 26
  },
  "hsl": {
    "h": 100.825,
    "s": 65.101,
    "l": 29.216
  },
  "oklch": {
    "l": 0.51975,
    "c": 0.14473,
    "h": 137.9
  },
  "luminance": 0.1511
}

Semantic roles & 50–950 ramp

primary
#397B1A
secondary
#8C42AF
accent
#40E8B2
background
#F7FAF5
surface
#EEF3E9
border
#C9CDC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #397B1A

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

Preview Lab → · Contrast checker → · Palette generator →

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