#397B34#397B34

#397B34 is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.2% C 0.125 H 142.3°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#397B34
RGBrgb(57, 123, 52)
HSLhsl(116, 41%, 34%)
HSVhsv(116, 58%, 48%)
CMYKcmyk(53.7%, 0%, 57.7%, 51.8%)
CIE-LABlab(46.02, -36.19, 32.10)
CIE-LCHlch(46.02, 48.37, 138.43°)
OKLaboklab(52.24% -0.0986 0.0763)
OKLCHoklch(52.24% 0.125 142.3)
XYZxyz(9.3897, 15.2830, 5.7033)
Luminance0.1528 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397B34 #76347B
analogous
#5D7B34 #397B34 #347B53
triadic
#397B34 #34397B #7B3439
tetradic
#397B34 #345D7B #76347B #7B5334
square
#397B34 #345D7B #76347B #7B5334
split-complementary
#397B34 #53347B #7B345D
monochromatic
#112510 #255022 #397B34 #4DA646 #70C06A

Accessibility & contrast

On white

5.18
#397B34 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#397B34 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397B34
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397B34#FFFFFF#000000##FFFFFF
##397B341.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E712D
Deuteranopia (green-blind)
#756B39
Tritanopia (blue-blind)
#30786B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #397b34;
/* rgb */ color: rgb(57, 123, 52);
/* oklch */ color: oklch(52.2% 0.125 142.3);
Tailwind
colors: {
  custom: {
    50: '#75a26e',
    500: '#397b34',
    950: '#000000',
  },
}
SCSS
$custom: #397b34;
$custom-light: #75a26e;
$custom-dark: #000000;
JSON
{
  "hex": "#397b34",
  "rgb": {
    "r": 57,
    "g": 123,
    "b": 52
  },
  "hsl": {
    "h": 115.775,
    "s": 40.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.52244,
    "c": 0.12468,
    "h": 142.3
  },
  "luminance": 0.15284
}

Semantic roles & 50–950 ramp

primary
#397B34
secondary
#A363A8
accent
#57D0C8
background
#F7FAF6
surface
#EDF3EC
border
#C8CDC7
text
#090F07
muted
#7B7F7A

Preview Lab

Preview with #397B34

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

Preview Lab → · Contrast checker → · Palette generator →

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