#397820#397820

#397820 is a mid, vivid green. Relative luminance 0.144; OKLCH L 51.2% C 0.137 H 138.3°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#397820
RGBrgb(57, 120, 32)
HSLhsl(103, 58%, 30%)
HSVhsv(103, 73%, 47%)
CMYKcmyk(52.5%, 0%, 73.3%, 52.9%)
CIE-LABlab(44.81, -37.09, 40.12)
CIE-LCHlch(44.81, 54.64, 132.75°)
OKLaboklab(51.19% -0.1023 0.0911)
OKLCHoklch(51.19% 0.137 138.3)
XYZxyz(8.6642, 14.4064, 3.6904)
Luminance0.1441 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397820 #5F2078
analogous
#657820 #397820 #207833
triadic
#397820 #203978 #782039
tetradic
#397820 #206578 #5F2078 #783320
square
#397820 #206578 #5F2078 #783320
split-complementary
#397820 #332078 #782065
monochromatic
#0B1806 #224813 #397820 #50A82D #6CCD45

Accessibility & contrast

On white

5.41
#397820 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#397820 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397820
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397820#FFFFFF#000000##FFFFFF
##3978201.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6D12
Deuteranopia (green-blind)
#746828
Tritanopia (blue-blind)
#347467
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #397820;
/* rgb */ color: rgb(57, 120, 32);
/* oklch */ color: oklch(51.2% 0.137 138.3);
Tailwind
colors: {
  custom: {
    50: '#769f61',
    500: '#397820',
    950: '#000000',
  },
}
SCSS
$custom: #397820;
$custom-light: #769f61;
$custom-dark: #000000;
JSON
{
  "hex": "#397820",
  "rgb": {
    "r": 57,
    "g": 120,
    "b": 32
  },
  "hsl": {
    "h": 102.955,
    "s": 57.895,
    "l": 29.804
  },
  "oklch": {
    "l": 0.51187,
    "c": 0.13703,
    "h": 138.3
  },
  "luminance": 0.14407
}

Semantic roles & 50–950 ramp

primary
#397820
secondary
#8F48AB
accent
#47E1B5
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#090E05
muted
#7B7E79

Preview Lab

Preview with #397820

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

Preview Lab → · Contrast checker → · Palette generator →

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