#397E26#397E26

#397E26 is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.9% C 0.141 H 139.6°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#397E26
RGBrgb(57, 126, 38)
HSLhsl(107, 54%, 32%)
HSVhsv(107, 70%, 49%)
CMYKcmyk(54.8%, 0%, 69.8%, 50.6%)
CIE-LABlab(46.88, -39.03, 39.75)
CIE-LCHlch(46.88, 55.70, 134.48°)
OKLaboklab(52.91% -0.1072 0.0911)
OKLCHoklch(52.91% 0.141 139.6)
XYZxyz(9.4977, 15.9308, 4.4078)
Luminance0.1593 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397E26 #6B267E
analogous
#657E26 #397E26 #267E3F
triadic
#397E26 #26397E #7E2639
tetradic
#397E26 #26657E #6B267E #7E3F26
square
#397E26 #26657E #6B267E #7E3F26
split-complementary
#397E26 #3F267E #7E2665
monochromatic
#0E200A #244F18 #397E26 #4EAD34 #6DCB53

Accessibility & contrast

On white

5.02
#397E26 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#397E26 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397E26
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397E26#FFFFFF#000000##FFFFFF
##397E261.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82731A
Deuteranopia (green-blind)
#796D2E
Tritanopia (blue-blind)
#327A6C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #397e26;
/* rgb */ color: rgb(57, 126, 38);
/* oklch */ color: oklch(52.9% 0.141 139.6);
Tailwind
colors: {
  custom: {
    50: '#77a465',
    500: '#397e26',
    950: '#000000',
  },
}
SCSS
$custom: #397e26;
$custom-light: #77a465;
$custom-dark: #000000;
JSON
{
  "hex": "#397e26",
  "rgb": {
    "r": 57,
    "g": 126,
    "b": 38
  },
  "hsl": {
    "h": 107.045,
    "s": 53.659,
    "l": 32.157
  },
  "oklch": {
    "l": 0.52909,
    "c": 0.1407,
    "h": 139.6
  },
  "luminance": 0.15932
}

Semantic roles & 50–950 ramp

primary
#397E26
secondary
#9B50B0
accent
#4BDDBD
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #397E26

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

Preview Lab → · Contrast checker → · Palette generator →

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