#397B22#397B22

#397B22 is a mid, vivid green. Relative luminance 0.152; OKLCH L 52.0% C 0.140 H 138.8°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#397B22
RGBrgb(57, 123, 34)
HSLhsl(104, 57%, 31%)
HSVhsv(104, 72%, 48%)
CMYKcmyk(53.7%, 0%, 72.4%, 51.8%)
CIE-LABlab(45.84, -38.16, 40.36)
CIE-LCHlch(45.84, 55.54, 133.40°)
OKLaboklab(52.04% -0.1051 0.0919)
OKLCHoklch(52.04% 0.14 138.8)
XYZxyz(9.0587, 15.1506, 3.9601)
Luminance0.1515 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397B22 #64227B
analogous
#657B22 #397B22 #227B37
triadic
#397B22 #22397B #7B2239
tetradic
#397B22 #22657B #64227B #7B3722
square
#397B22 #22657B #64227B #7B3722
split-complementary
#397B22 #37227B #7B2265
monochromatic
#0D1B07 #234B15 #397B22 #4FAB2F #6CCD4A

Accessibility & contrast

On white

5.21
#397B22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#397B22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397B22
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397B22#FFFFFF#000000##FFFFFF
##397B221.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7014
Deuteranopia (green-blind)
#766A2A
Tritanopia (blue-blind)
#337769
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #397b22;
/* rgb */ color: rgb(57, 123, 34);
/* oklch */ color: oklch(52.0% 0.140 138.8);
Tailwind
colors: {
  custom: {
    50: '#76a263',
    500: '#397b22',
    950: '#000000',
  },
}
SCSS
$custom: #397b22;
$custom-light: #76a263;
$custom-dark: #000000;
JSON
{
  "hex": "#397b22",
  "rgb": {
    "r": 57,
    "g": 123,
    "b": 34
  },
  "hsl": {
    "h": 104.494,
    "s": 56.688,
    "l": 30.784
  },
  "oklch": {
    "l": 0.52039,
    "c": 0.13962,
    "h": 138.8
  },
  "luminance": 0.15151
}

Semantic roles & 50–950 ramp

primary
#397B22
secondary
#944BAE
accent
#48E0B9
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#090F05
muted
#7B7F7A

Preview Lab

Preview with #397B22

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

Preview Lab → · Contrast checker → · Palette generator →

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