#397B26#397B26

#397B26 is a mid, vivid green. Relative luminance 0.152; OKLCH L 52.1% C 0.137 H 139.4°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#397B26
RGBrgb(57, 123, 38)
HSLhsl(107, 53%, 32%)
HSVhsv(107, 69%, 48%)
CMYKcmyk(53.7%, 0%, 69.1%, 51.8%)
CIE-LABlab(45.87, -37.79, 38.67)
CIE-LCHlch(45.87, 54.07, 134.34°)
OKLaboklab(52.08% -0.1038 0.0889)
OKLCHoklch(52.08% 0.137 139.4)
XYZxyz(9.1198, 15.1750, 4.2818)
Luminance0.1518 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397B26 #68267B
analogous
#647B26 #397B26 #267B3E
triadic
#397B26 #26397B #7B2639
tetradic
#397B26 #26647B #68267B #7B3E26
square
#397B26 #26647B #68267B #7B3E26
split-complementary
#397B26 #3E267B #7B2664
monochromatic
#0E1D09 #234C18 #397B26 #4FAA34 #6DCA52

Accessibility & contrast

On white

5.20
#397B26 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#397B26 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397B26
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397B26#FFFFFF#000000##FFFFFF
##397B261.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F701B
Deuteranopia (green-blind)
#766B2E
Tritanopia (blue-blind)
#33776A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #397b26;
/* rgb */ color: rgb(57, 123, 38);
/* oklch */ color: oklch(52.1% 0.137 139.4);
Tailwind
colors: {
  custom: {
    50: '#76a265',
    500: '#397b26',
    950: '#000000',
  },
}
SCSS
$custom: #397b26;
$custom-light: #76a265;
$custom-dark: #000000;
JSON
{
  "hex": "#397b26",
  "rgb": {
    "r": 57,
    "g": 123,
    "b": 38
  },
  "hsl": {
    "h": 106.588,
    "s": 52.795,
    "l": 31.569
  },
  "oklch": {
    "l": 0.52077,
    "c": 0.13668,
    "h": 139.4
  },
  "luminance": 0.15176
}

Semantic roles & 50–950 ramp

primary
#397B26
secondary
#9850AD
accent
#4CDCBC
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #397B26

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

Preview Lab → · Contrast checker → · Palette generator →

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