#397B1C#397B1C

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

Color values

HEX#397B1C
RGBrgb(57, 123, 28)
HSLhsl(102, 63%, 30%)
HSVhsv(102, 77%, 48%)
CMYKcmyk(53.7%, 0%, 77.2%, 51.8%)
CIE-LABlab(45.80, -38.64, 42.69)
CIE-LCHlch(45.80, 57.58, 132.15°)
OKLaboklab(51.99% -0.1068 0.0959)
OKLCHoklch(51.99% 0.144 138.1)
XYZxyz(8.9796, 15.1189, 3.5434)
Luminance0.1512 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397B1C #5E1C7B
analogous
#697B1C #397B1C #1C7B2E
triadic
#397B1C #1C397B #7B1C39
tetradic
#397B1C #1C697B #5E1C7B #7B2E1C
square
#397B1C #1C697B #5E1C7B #7B2E1C
split-complementary
#397B1C #2E1C7B #7B1C69
monochromatic
#0C1906 #224911 #397B1C #50AD27 #6CD33E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##397B1C#FFFFFF#000000##FFFFFF
##397B1C1.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)
#7F7008
Deuteranopia (green-blind)
#776A26
Tritanopia (blue-blind)
#347769
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #397b1c;
/* rgb */ color: rgb(57, 123, 28);
/* oklch */ color: oklch(52.0% 0.144 138.1);
Tailwind
colors: {
  custom: {
    50: '#77a25f',
    500: '#397b1c',
    950: '#000000',
  },
}
SCSS
$custom: #397b1c;
$custom-light: #77a25f;
$custom-dark: #000000;
JSON
{
  "hex": "#397b1c",
  "rgb": {
    "r": 57,
    "g": 123,
    "b": 28
  },
  "hsl": {
    "h": 101.684,
    "s": 62.914,
    "l": 29.608
  },
  "oklch": {
    "l": 0.5199,
    "c": 0.14355,
    "h": 138.1
  },
  "luminance": 0.1512
}

Semantic roles & 50–950 ramp

primary
#397B1C
secondary
#8E44AF
accent
#42E6B4
background
#F7FAF5
surface
#EEF3EA
border
#C9CDC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #397B1C

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

Preview Lab → · Contrast checker → · Palette generator →

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