#397C22#397C22

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

Color values

HEX#397C22
RGBrgb(57, 124, 34)
HSLhsl(105, 57%, 31%)
HSVhsv(105, 73%, 49%)
CMYKcmyk(54%, 0%, 72.6%, 51.4%)
CIE-LABlab(46.18, -38.57, 40.71)
CIE-LCHlch(46.18, 56.08, 133.46°)
OKLaboklab(52.32% -0.1062 0.0926)
OKLCHoklch(52.32% 0.141 138.9)
XYZxyz(9.1834, 15.3999, 4.0016)
Luminance0.1540 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397C22 #65227C
analogous
#667C22 #397C22 #227C38
triadic
#397C22 #22397C #7C2239
tetradic
#397C22 #22667C #65227C #7C3822
square
#397C22 #22667C #65227C #7C3822
split-complementary
#397C22 #38227C #7C2266
monochromatic
#0D1C08 #234C15 #397C22 #4FAC2F #6CCE4B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##397C22#FFFFFF#000000##FFFFFF
##397C221.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)
#807114
Deuteranopia (green-blind)
#776B2B
Tritanopia (blue-blind)
#33786A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #397c22;
/* rgb */ color: rgb(57, 124, 34);
/* oklch */ color: oklch(52.3% 0.141 138.9);
Tailwind
colors: {
  custom: {
    50: '#77a263',
    500: '#397c22',
    950: '#000000',
  },
}
SCSS
$custom: #397c22;
$custom-light: #77a263;
$custom-dark: #000000;
JSON
{
  "hex": "#397c22",
  "rgb": {
    "r": 57,
    "g": 124,
    "b": 34
  },
  "hsl": {
    "h": 104.667,
    "s": 56.962,
    "l": 30.98
  },
  "oklch": {
    "l": 0.52317,
    "c": 0.14094,
    "h": 138.9
  },
  "luminance": 0.15401
}

Semantic roles & 50–950 ramp

primary
#397C22
secondary
#954BAF
accent
#48E0B9
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#090F05
muted
#7B7F7A

Preview Lab

Preview with #397C22

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

Preview Lab → · Contrast checker → · Palette generator →

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