#397C21#397C21

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

Color values

HEX#397C21
RGBrgb(57, 124, 33)
HSLhsl(104, 58%, 31%)
HSVhsv(104, 73%, 49%)
CMYKcmyk(54%, 0%, 73.4%, 51.4%)
CIE-LABlab(46.17, -38.66, 41.11)
CIE-LCHlch(46.17, 56.43, 133.24°)
OKLaboklab(52.31% -0.1065 0.0933)
OKLCHoklch(52.31% 0.142 138.8)
XYZxyz(9.1692, 15.3943, 3.9268)
Luminance0.1540 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397C21 #64217C
analogous
#667C21 #397C21 #217C36
triadic
#397C21 #21397C #7C2139
tetradic
#397C21 #21667C #64217C #7C3621
square
#397C21 #21667C #64217C #7C3621
split-complementary
#397C21 #36217C #7C2166
monochromatic
#0D1B07 #234C14 #397C21 #4FAC2E #6CCF49

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##397C21#FFFFFF#000000##FFFFFF
##397C211.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)
#807112
Deuteranopia (green-blind)
#776B2A
Tritanopia (blue-blind)
#33786A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #397c21;
/* rgb */ color: rgb(57, 124, 33);
/* oklch */ color: oklch(52.3% 0.142 138.8);
Tailwind
colors: {
  custom: {
    50: '#77a262',
    500: '#397c21',
    950: '#000000',
  },
}
SCSS
$custom: #397c21;
$custom-light: #77a262;
$custom-dark: #000000;
JSON
{
  "hex": "#397c21",
  "rgb": {
    "r": 57,
    "g": 124,
    "b": 33
  },
  "hsl": {
    "h": 104.176,
    "s": 57.962,
    "l": 30.784
  },
  "oklch": {
    "l": 0.52308,
    "c": 0.14163,
    "h": 138.8
  },
  "luminance": 0.15395
}

Semantic roles & 50–950 ramp

primary
#397C21
secondary
#944AAF
accent
#47E1B8
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#090F05
muted
#7B7F7A

Preview Lab

Preview with #397C21

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

Preview Lab → · Contrast checker → · Palette generator →

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