#397128#397128

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

Color values

HEX#397128
RGBrgb(57, 113, 40)
HSLhsl(106, 48%, 30%)
HSVhsv(106, 65%, 44%)
CMYKcmyk(49.6%, 0%, 64.6%, 55.7%)
CIE-LABlab(42.51, -33.30, 34.04)
CIE-LCHlch(42.51, 47.62, 134.37°)
OKLaboklab(49.32% -0.0915 0.0793)
OKLCHoklch(49.32% 0.121 139.1)
XYZxyz(7.9752, 12.8328, 4.0638)
Luminance0.1283 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397128 #602871
analogous
#5E7128 #397128 #28713B
triadic
#397128 #283971 #712839
tetradic
#397128 #285E71 #602871 #713B28
square
#397128 #285E71 #602871 #713B28
split-complementary
#397128 #3B2871 #71285E
monochromatic
#0B1708 #224418 #397128 #509E38 #6CC252

Accessibility & contrast

On white

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

On black

3.57
#397128 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##397128#FFFFFF#000000##FFFFFF
##3971281.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746720
Deuteranopia (green-blind)
#6D632E
Tritanopia (blue-blind)
#346D61
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #397128;
/* rgb */ color: rgb(57, 113, 40);
/* oklch */ color: oklch(49.3% 0.121 139.1);
Tailwind
colors: {
  custom: {
    50: '#749a65',
    500: '#397128',
    950: '#000000',
  },
}
SCSS
$custom: #397128;
$custom-light: #749a65;
$custom-dark: #000000;
JSON
{
  "hex": "#397128",
  "rgb": {
    "r": 57,
    "g": 113,
    "b": 40
  },
  "hsl": {
    "h": 106.027,
    "s": 47.712,
    "l": 30
  },
  "oklch": {
    "l": 0.4932,
    "c": 0.1211,
    "h": 139.1
  },
  "luminance": 0.12833
}

Semantic roles & 50–950 ramp

primary
#397128
secondary
#9052A3
accent
#50D7B8
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#090E06
muted
#7B7E7A

Preview Lab

Preview with #397128

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

Preview Lab → · Contrast checker → · Palette generator →

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