#397B1D#397B1D

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

Color values

HEX#397B1D
RGBrgb(57, 123, 29)
HSLhsl(102, 62%, 30%)
HSVhsv(102, 76%, 48%)
CMYKcmyk(53.7%, 0%, 76.4%, 51.8%)
CIE-LABlab(45.80, -38.57, 42.32)
CIE-LCHlch(45.80, 57.26, 132.34°)
OKLaboklab(52% -0.1065 0.0953)
OKLCHoklch(52% 0.143 138.2)
XYZxyz(8.9918, 15.1238, 3.6075)
Luminance0.1512 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397B1D #5F1D7B
analogous
#687B1D #397B1D #1D7B30
triadic
#397B1D #1D397B #7B1D39
tetradic
#397B1D #1D687B #5F1D7B #7B301D
square
#397B1D #1D687B #5F1D7B #7B301D
split-complementary
#397B1D #301D7B #7B1D68
monochromatic
#0B1906 #224911 #397B1D #50AD29 #6CD240

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##397B1D#FFFFFF#000000##FFFFFF
##397B1D1.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)
#7F700B
Deuteranopia (green-blind)
#766A27
Tritanopia (blue-blind)
#347769
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #397b1d;
/* rgb */ color: rgb(57, 123, 29);
/* oklch */ color: oklch(52.0% 0.143 138.2);
Tailwind
colors: {
  custom: {
    50: '#77a260',
    500: '#397b1d',
    950: '#000000',
  },
}
SCSS
$custom: #397b1d;
$custom-light: #77a260;
$custom-dark: #000000;
JSON
{
  "hex": "#397b1d",
  "rgb": {
    "r": 57,
    "g": 123,
    "b": 29
  },
  "hsl": {
    "h": 102.128,
    "s": 61.842,
    "l": 29.804
  },
  "oklch": {
    "l": 0.51997,
    "c": 0.14293,
    "h": 138.2
  },
  "luminance": 0.15124
}

Semantic roles & 50–950 ramp

primary
#397B1D
secondary
#8F45AF
accent
#43E5B5
background
#F7FAF5
surface
#EEF3EA
border
#C9CDC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #397B1D

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

Preview Lab → · Contrast checker → · Palette generator →

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