#397A23#397A23

#397A23 is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.8% C 0.138 H 138.9°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#397A23
RGBrgb(57, 122, 35)
HSLhsl(105, 55%, 31%)
HSVhsv(105, 71%, 48%)
CMYKcmyk(53.3%, 0%, 71.3%, 52.2%)
CIE-LABlab(45.51, -37.66, 39.59)
CIE-LCHlch(45.51, 54.64, 133.57°)
OKLaboklab(51.77% -0.1037 0.0904)
OKLCHoklch(51.77% 0.138 138.9)
XYZxyz(8.9499, 14.9096, 3.9960)
Luminance0.1491 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397A23 #64237A
analogous
#647A23 #397A23 #237A39
triadic
#397A23 #23397A #7A2339
tetradic
#397A23 #23647A #64237A #7A3923
square
#397A23 #23647A #64237A #7A3923
split-complementary
#397A23 #39237A #7A2364
monochromatic
#0D1B08 #234A15 #397A23 #4FAA31 #6CCC4C

Accessibility & contrast

On white

5.27
#397A23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#397A23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397A23
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397A23#FFFFFF#000000##FFFFFF
##397A231.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F16
Deuteranopia (green-blind)
#756A2B
Tritanopia (blue-blind)
#337669
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #397a23;
/* rgb */ color: rgb(57, 122, 35);
/* oklch */ color: oklch(51.8% 0.138 138.9);
Tailwind
colors: {
  custom: {
    50: '#76a163',
    500: '#397a23',
    950: '#000000',
  },
}
SCSS
$custom: #397a23;
$custom-light: #76a163;
$custom-dark: #000000;
JSON
{
  "hex": "#397a23",
  "rgb": {
    "r": 57,
    "g": 122,
    "b": 35
  },
  "hsl": {
    "h": 104.828,
    "s": 55.414,
    "l": 30.784
  },
  "oklch": {
    "l": 0.5177,
    "c": 0.13757,
    "h": 138.9
  },
  "luminance": 0.1491
}

Semantic roles & 50–950 ramp

primary
#397A23
secondary
#944CAD
accent
#49DFB9
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#090F05
muted
#7B7F7A

Preview Lab

Preview with #397A23

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

Preview Lab → · Contrast checker → · Palette generator →

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