#397126#397126

#397126 is a mid, vivid green. Relative luminance 0.128; OKLCH L 49.3% C 0.123 H 138.7°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#397126
RGBrgb(57, 113, 38)
HSLhsl(105, 50%, 30%)
HSVhsv(105, 66%, 44%)
CMYKcmyk(49.6%, 0%, 66.4%, 55.7%)
CIE-LABlab(42.49, -33.52, 34.98)
CIE-LCHlch(42.49, 48.45, 133.78°)
OKLaboklab(49.3% -0.0923 0.0811)
OKLCHoklch(49.3% 0.123 138.7)
XYZxyz(7.9420, 12.8195, 3.8893)
Luminance0.1282 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397126 #5E2671
analogous
#5F7126 #397126 #267139
triadic
#397126 #263971 #712639
tetradic
#397126 #265F71 #5E2671 #713926
square
#397126 #265F71 #5E2671 #713926
split-complementary
#397126 #392671 #71265F
monochromatic
#0C1708 #224317 #397126 #509F35 #6CC34E

Accessibility & contrast

On white

5.89
#397126 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#397126 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397126
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397126#FFFFFF#000000##FFFFFF
##3971261.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#74671D
Deuteranopia (green-blind)
#6D622C
Tritanopia (blue-blind)
#356D61
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #397126;
/* rgb */ color: rgb(57, 113, 38);
/* oklch */ color: oklch(49.3% 0.123 138.7);
Tailwind
colors: {
  custom: {
    50: '#759a64',
    500: '#397126',
    950: '#000000',
  },
}
SCSS
$custom: #397126;
$custom-light: #759a64;
$custom-dark: #000000;
JSON
{
  "hex": "#397126",
  "rgb": {
    "r": 57,
    "g": 113,
    "b": 38
  },
  "hsl": {
    "h": 104.8,
    "s": 49.669,
    "l": 29.608
  },
  "oklch": {
    "l": 0.49297,
    "c": 0.12282,
    "h": 138.7
  },
  "luminance": 0.1282
}

Semantic roles & 50–950 ramp

primary
#397126
secondary
#8E4FA4
accent
#4FD9B6
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#090E05
muted
#7B7E7A

Preview Lab

Preview with #397126

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

Preview Lab → · Contrast checker → · Palette generator →

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