#397720#397720

#397720 is a mid, vivid green. Relative luminance 0.142; OKLCH L 50.9% C 0.136 H 138.2°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#397720
RGBrgb(57, 119, 32)
HSLhsl(103, 58%, 30%)
HSVhsv(103, 73%, 47%)
CMYKcmyk(52.1%, 0%, 73.1%, 53.3%)
CIE-LABlab(44.47, -36.67, 39.77)
CIE-LCHlch(44.47, 54.10, 132.68°)
OKLaboklab(50.91% -0.1012 0.0904)
OKLCHoklch(50.91% 0.136 138.2)
XYZxyz(8.5446, 14.1672, 3.6505)
Luminance0.1417 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397720 #5E2077
analogous
#657720 #397720 #207733
triadic
#397720 #203977 #772039
tetradic
#397720 #206577 #5E2077 #773320
square
#397720 #206577 #5E2077 #773320
split-complementary
#397720 #332077 #772065
monochromatic
#0C1806 #224713 #397720 #50A72D #6CCD45

Accessibility & contrast

On white

5.48
#397720 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#397720 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397720
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397720#FFFFFF#000000##FFFFFF
##3977201.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C12
Deuteranopia (green-blind)
#736728
Tritanopia (blue-blind)
#347366
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #397720;
/* rgb */ color: rgb(57, 119, 32);
/* oklch */ color: oklch(50.9% 0.136 138.2);
Tailwind
colors: {
  custom: {
    50: '#769f61',
    500: '#397720',
    950: '#000000',
  },
}
SCSS
$custom: #397720;
$custom-light: #769f61;
$custom-dark: #000000;
JSON
{
  "hex": "#397720",
  "rgb": {
    "r": 57,
    "g": 119,
    "b": 32
  },
  "hsl": {
    "h": 102.759,
    "s": 57.616,
    "l": 29.608
  },
  "oklch": {
    "l": 0.50908,
    "c": 0.1357,
    "h": 138.2
  },
  "luminance": 0.14168
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #397720

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

Preview Lab → · Contrast checker → · Palette generator →

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