#397D22#397D22

#397D22 is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.6% C 0.142 H 139.0°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#397D22
RGBrgb(57, 125, 34)
HSLhsl(105, 57%, 31%)
HSVhsv(105, 73%, 49%)
CMYKcmyk(54.4%, 0%, 72.8%, 51%)
CIE-LABlab(46.51, -38.98, 41.06)
CIE-LCHlch(46.51, 56.61, 133.51°)
OKLaboklab(52.59% -0.1073 0.0934)
OKLCHoklch(52.59% 0.142 139)
XYZxyz(9.3093, 15.6519, 4.0436)
Luminance0.1565 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397D22 #66227D
analogous
#667D22 #397D22 #227D38
triadic
#397D22 #22397D #7D2239
tetradic
#397D22 #22667D #66227D #7D3822
square
#397D22 #22667D #66227D #7D3822
split-complementary
#397D22 #38227D #7D2266
monochromatic
#0D1D08 #234D15 #397D22 #4FAD2F #6CCE4B

Accessibility & contrast

On white

5.08
#397D22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#397D22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397D22
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397D22#FFFFFF#000000##FFFFFF
##397D221.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817214
Deuteranopia (green-blind)
#786C2B
Tritanopia (blue-blind)
#33796B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #397d22;
/* rgb */ color: rgb(57, 125, 34);
/* oklch */ color: oklch(52.6% 0.142 139.0);
Tailwind
colors: {
  custom: {
    50: '#77a363',
    500: '#397d22',
    950: '#000000',
  },
}
SCSS
$custom: #397d22;
$custom-light: #77a363;
$custom-dark: #000000;
JSON
{
  "hex": "#397d22",
  "rgb": {
    "r": 57,
    "g": 125,
    "b": 34
  },
  "hsl": {
    "h": 104.835,
    "s": 57.233,
    "l": 31.176
  },
  "oklch": {
    "l": 0.52594,
    "c": 0.14225,
    "h": 139
  },
  "luminance": 0.15653
}

Semantic roles & 50–950 ramp

primary
#397D22
secondary
#964BB0
accent
#47E0BA
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#090F05
muted
#7B7F7A

Preview Lab

Preview with #397D22

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

Preview Lab → · Contrast checker → · Palette generator →

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