#397B19#397B19

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

Color values

HEX#397B19
RGBrgb(57, 123, 25)
HSLhsl(100, 66%, 29%)
HSVhsv(100, 80%, 48%)
CMYKcmyk(53.7%, 0%, 79.7%, 51.8%)
CIE-LABlab(45.78, -38.85, 43.76)
CIE-LCHlch(45.78, 58.52, 131.60°)
OKLaboklab(51.97% -0.1076 0.0977)
OKLCHoklch(51.97% 0.145 137.8)
XYZxyz(8.9455, 15.1053, 3.3637)
Luminance0.1511 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397B19 #5B197B
analogous
#6A7B19 #397B19 #197B2A
triadic
#397B19 #19397B #7B1939
tetradic
#397B19 #196A7B #5B197B #7B2A19
square
#397B19 #196A7B #5B197B #7B2A19
split-complementary
#397B19 #2A197B #7B196A
monochromatic
#0C1905 #21480F #397B19 #51AE23 #6CD738

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #397b19;
/* rgb */ color: rgb(57, 123, 25);
/* oklch */ color: oklch(52.0% 0.145 137.8);
Tailwind
colors: {
  custom: {
    50: '#77a25e',
    500: '#397b19',
    950: '#000000',
  },
}
SCSS
$custom: #397b19;
$custom-light: #77a25e;
$custom-dark: #000000;
JSON
{
  "hex": "#397b19",
  "rgb": {
    "r": 57,
    "g": 123,
    "b": 25
  },
  "hsl": {
    "h": 100.408,
    "s": 66.216,
    "l": 29.02
  },
  "oklch": {
    "l": 0.51968,
    "c": 0.1453,
    "h": 137.8
  },
  "luminance": 0.15106
}

Semantic roles & 50–950 ramp

primary
#397B19
secondary
#8B40AF
accent
#3FE9B1
background
#F7FAF5
surface
#EEF3E9
border
#C9CDC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #397B19

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

Preview Lab → · Contrast checker → · Palette generator →

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