#397726#397726

#397726 is a mid, vivid green. Relative luminance 0.142; OKLCH L 51.0% C 0.131 H 139.2°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#397726
RGBrgb(57, 119, 38)
HSLhsl(106, 52%, 31%)
HSVhsv(106, 68%, 47%)
CMYKcmyk(52.1%, 0%, 68.1%, 53.3%)
CIE-LABlab(44.52, -36.11, 37.21)
CIE-LCHlch(44.52, 51.85, 134.14°)
OKLaboklab(50.97% -0.0993 0.0858)
OKLCHoklch(50.97% 0.131 139.2)
XYZxyz(8.6337, 14.2028, 4.1198)
Luminance0.1420 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397726 #642677
analogous
#617726 #397726 #26773B
triadic
#397726 #263977 #772639
tetradic
#397726 #266177 #642677 #773B26
square
#397726 #266177 #642677 #773B26
split-complementary
#397726 #3B2677 #772661
monochromatic
#0D1A08 #234917 #397726 #4FA535 #6CC750

Accessibility & contrast

On white

5.47
#397726 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#397726 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397726
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397726#FFFFFF#000000##FFFFFF
##3977261.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6D1C
Deuteranopia (green-blind)
#72672D
Tritanopia (blue-blind)
#347366
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #397726;
/* rgb */ color: rgb(57, 119, 38);
/* oklch */ color: oklch(51.0% 0.131 139.2);
Tailwind
colors: {
  custom: {
    50: '#769f64',
    500: '#397726',
    950: '#000000',
  },
}
SCSS
$custom: #397726;
$custom-light: #769f64;
$custom-dark: #000000;
JSON
{
  "hex": "#397726",
  "rgb": {
    "r": 57,
    "g": 119,
    "b": 38
  },
  "hsl": {
    "h": 105.926,
    "s": 51.592,
    "l": 30.784
  },
  "oklch": {
    "l": 0.50966,
    "c": 0.13122,
    "h": 139.2
  },
  "luminance": 0.14203
}

Semantic roles & 50–950 ramp

primary
#397726
secondary
#944FA9
accent
#4DDBBA
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#090E06
muted
#7B7E7A

Preview Lab

Preview with #397726

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

Preview Lab → · Contrast checker → · Palette generator →

#397726 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva