#397F22#397F22

#397F22 is a mid, vivid green. Relative luminance 0.162; OKLCH L 53.1% C 0.145 H 139.1°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#397F22
RGBrgb(57, 127, 34)
HSLhsl(105, 58%, 32%)
HSVhsv(105, 73%, 50%)
CMYKcmyk(55.1%, 0%, 73.2%, 50.2%)
CIE-LABlab(47.19, -39.79, 41.75)
CIE-LCHlch(47.19, 57.68, 133.62°)
OKLaboklab(53.15% -0.1095 0.0948)
OKLCHoklch(53.15% 0.145 139.1)
XYZxyz(9.5651, 16.1633, 4.1289)
Luminance0.1616 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397F22 #68227F
analogous
#687F22 #397F22 #227F3A
triadic
#397F22 #22397F #7F2239
tetradic
#397F22 #22687F #68227F #7F3A22
square
#397F22 #22687F #68227F #7F3A22
split-complementary
#397F22 #3A227F #7F2268
monochromatic
#0E1E08 #234F15 #397F22 #4FAF2F #6DCF4C

Accessibility & contrast

On white

4.96
#397F22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#397F22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397F22
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397F22#FFFFFF#000000##FFFFFF
##397F221.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837413
Deuteranopia (green-blind)
#7A6E2B
Tritanopia (blue-blind)
#327B6D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #397f22;
/* rgb */ color: rgb(57, 127, 34);
/* oklch */ color: oklch(53.1% 0.145 139.1);
Tailwind
colors: {
  custom: {
    50: '#77a563',
    500: '#397f22',
    950: '#000000',
  },
}
SCSS
$custom: #397f22;
$custom-light: #77a563;
$custom-dark: #000000;
JSON
{
  "hex": "#397f22",
  "rgb": {
    "r": 57,
    "g": 127,
    "b": 34
  },
  "hsl": {
    "h": 105.161,
    "s": 57.764,
    "l": 31.569
  },
  "oklch": {
    "l": 0.53149,
    "c": 0.14486,
    "h": 139.1
  },
  "luminance": 0.16164
}

Semantic roles & 50–950 ramp

primary
#397F22
secondary
#984BB2
accent
#47E1BB
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#090F05
muted
#7B7F7A

Preview Lab

Preview with #397F22

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

Preview Lab → · Contrast checker → · Palette generator →

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