#397920#397920

#397920 is a mid, vivid green. Relative luminance 0.146; OKLCH L 51.5% C 0.138 H 138.4°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#397920
RGBrgb(57, 121, 32)
HSLhsl(103, 58%, 30%)
HSVhsv(103, 74%, 47%)
CMYKcmyk(52.9%, 0%, 73.6%, 52.5%)
CIE-LABlab(45.15, -37.50, 40.47)
CIE-LCHlch(45.15, 55.17, 132.82°)
OKLaboklab(51.47% -0.1035 0.0918)
OKLCHoklch(51.47% 0.138 138.4)
XYZxyz(8.7851, 14.6482, 3.7307)
Luminance0.1465 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397920 #602079
analogous
#667920 #397920 #207933
triadic
#397920 #203979 #792039
tetradic
#397920 #206679 #602079 #793320
square
#397920 #206679 #602079 #793320
split-complementary
#397920 #332079 #792066
monochromatic
#0B1806 #224913 #397920 #50A92D #6CCE45

Accessibility & contrast

On white

5.34
#397920 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#397920 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397920
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397920#FFFFFF#000000##FFFFFF
##3979201.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E12
Deuteranopia (green-blind)
#756929
Tritanopia (blue-blind)
#347567
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #397920;
/* rgb */ color: rgb(57, 121, 32);
/* oklch */ color: oklch(51.5% 0.138 138.4);
Tailwind
colors: {
  custom: {
    50: '#76a061',
    500: '#397920',
    950: '#000000',
  },
}
SCSS
$custom: #397920;
$custom-light: #76a061;
$custom-dark: #000000;
JSON
{
  "hex": "#397920",
  "rgb": {
    "r": 57,
    "g": 121,
    "b": 32
  },
  "hsl": {
    "h": 103.146,
    "s": 58.17,
    "l": 30
  },
  "oklch": {
    "l": 0.51465,
    "c": 0.13836,
    "h": 138.4
  },
  "luminance": 0.14649
}

Semantic roles & 50–950 ramp

primary
#397920
secondary
#9049AC
accent
#46E1B6
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#090F05
muted
#7B7E79

Preview Lab

Preview with #397920

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

Preview Lab → · Contrast checker → · Palette generator →

#397920 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva