#397B1E#397B1E

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

Color values

HEX#397B1E
RGBrgb(57, 123, 30)
HSLhsl(103, 61%, 30%)
HSVhsv(103, 76%, 48%)
CMYKcmyk(53.7%, 0%, 75.6%, 51.8%)
CIE-LABlab(45.81, -38.49, 41.94)
CIE-LCHlch(45.81, 56.93, 132.54°)
OKLaboklab(52.01% -0.1063 0.0946)
OKLCHoklch(52.01% 0.142 138.3)
XYZxyz(9.0043, 15.1288, 3.6737)
Luminance0.1513 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397B1E #601E7B
analogous
#677B1E #397B1E #1E7B32
triadic
#397B1E #1E397B #7B1E39
tetradic
#397B1E #1E677B #601E7B #7B321E
square
#397B1E #1E677B #601E7B #7B321E
split-complementary
#397B1E #321E7B #7B1E67
monochromatic
#0B1906 #224A12 #397B1E #50AC2A #6CD142

Accessibility & contrast

On white

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

On black

4.03
#397B1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##397B1E#FFFFFF#000000##FFFFFF
##397B1E1.005.224.035.22
#FFFFFF5.221.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F700D
Deuteranopia (green-blind)
#766A27
Tritanopia (blue-blind)
#347769
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #397b1e;
/* rgb */ color: rgb(57, 123, 30);
/* oklch */ color: oklch(52.0% 0.142 138.3);
Tailwind
colors: {
  custom: {
    50: '#77a260',
    500: '#397b1e',
    950: '#000000',
  },
}
SCSS
$custom: #397b1e;
$custom-light: #77a260;
$custom-dark: #000000;
JSON
{
  "hex": "#397b1e",
  "rgb": {
    "r": 57,
    "g": 123,
    "b": 30
  },
  "hsl": {
    "h": 102.581,
    "s": 60.784,
    "l": 30
  },
  "oklch": {
    "l": 0.52005,
    "c": 0.1423,
    "h": 138.3
  },
  "luminance": 0.1513
}

Semantic roles & 50–950 ramp

primary
#397B1E
secondary
#9046AE
accent
#44E4B5
background
#F7FAF5
surface
#EEF3EA
border
#C9CDC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #397B1E

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

Preview Lab → · Contrast checker → · Palette generator →

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