#397C20#397C20

#397C20 is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.3% C 0.142 H 138.6°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#397C20
RGBrgb(57, 124, 32)
HSLhsl(104, 59%, 31%)
HSVhsv(104, 74%, 49%)
CMYKcmyk(54%, 0%, 74.2%, 51.4%)
CIE-LABlab(46.16, -38.74, 41.51)
CIE-LCHlch(46.16, 56.78, 133.02°)
OKLaboklab(52.3% -0.1068 0.094)
OKLCHoklch(52.3% 0.142 138.6)
XYZxyz(9.1554, 15.3887, 3.8541)
Luminance0.1539 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397C20 #63207C
analogous
#677C20 #397C20 #207C35
triadic
#397C20 #20397C #7C2039
tetradic
#397C20 #20677C #63207C #7C3520
square
#397C20 #20677C #63207C #7C3520
split-complementary
#397C20 #35207C #7C2067
monochromatic
#0C1B07 #234B13 #397C20 #4FAD2D #6CCF47

Accessibility & contrast

On white

5.15
#397C20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#397C20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397C20
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397C20#FFFFFF#000000##FFFFFF
##397C201.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807110
Deuteranopia (green-blind)
#776B29
Tritanopia (blue-blind)
#33786A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #397c20;
/* rgb */ color: rgb(57, 124, 32);
/* oklch */ color: oklch(52.3% 0.142 138.6);
Tailwind
colors: {
  custom: {
    50: '#77a262',
    500: '#397c20',
    950: '#000000',
  },
}
SCSS
$custom: #397c20;
$custom-light: #77a262;
$custom-dark: #000000;
JSON
{
  "hex": "#397c20",
  "rgb": {
    "r": 57,
    "g": 124,
    "b": 32
  },
  "hsl": {
    "h": 103.696,
    "s": 58.974,
    "l": 30.588
  },
  "oklch": {
    "l": 0.52299,
    "c": 0.1423,
    "h": 138.6
  },
  "luminance": 0.15389
}

Semantic roles & 50–950 ramp

primary
#397C20
secondary
#9349AF
accent
#46E2B8
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#090F05
muted
#7B7F7A

Preview Lab

Preview with #397C20

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

Preview Lab → · Contrast checker → · Palette generator →

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