#397428#397428

#397428 is a mid, vivid green. Relative luminance 0.135; OKLCH L 50.2% C 0.125 H 139.3°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#397428
RGBrgb(57, 116, 40)
HSLhsl(107, 49%, 31%)
HSVhsv(107, 66%, 45%)
CMYKcmyk(50.9%, 0%, 65.5%, 54.5%)
CIE-LABlab(43.53, -34.62, 35.18)
CIE-LCHlch(43.53, 49.35, 134.54°)
OKLaboklab(50.15% -0.0951 0.0817)
OKLCHoklch(50.15% 0.125 139.3)
XYZxyz(8.3154, 13.5133, 4.1772)
Luminance0.1351 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397428 #632874
analogous
#5F7428 #397428 #28743D
triadic
#397428 #283974 #742839
tetradic
#397428 #285F74 #632874 #743D28
square
#397428 #285F74 #632874 #743D28
split-complementary
#397428 #3D2874 #74285F
monochromatic
#0C1909 #234618 #397428 #4FA238 #6CC453

Accessibility & contrast

On white

5.67
#397428 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#397428 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397428
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397428#FFFFFF#000000##FFFFFF
##3974281.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#776A1F
Deuteranopia (green-blind)
#70652E
Tritanopia (blue-blind)
#347064
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #397428;
/* rgb */ color: rgb(57, 116, 40);
/* oklch */ color: oklch(50.2% 0.125 139.3);
Tailwind
colors: {
  custom: {
    50: '#759c65',
    500: '#397428',
    950: '#000000',
  },
}
SCSS
$custom: #397428;
$custom-light: #759c65;
$custom-dark: #000000;
JSON
{
  "hex": "#397428",
  "rgb": {
    "r": 57,
    "g": 116,
    "b": 40
  },
  "hsl": {
    "h": 106.579,
    "s": 48.718,
    "l": 30.588
  },
  "oklch": {
    "l": 0.50154,
    "c": 0.12539,
    "h": 139.3
  },
  "luminance": 0.13514
}

Semantic roles & 50–950 ramp

primary
#397428
secondary
#9352A6
accent
#50D8BA
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#090E06
muted
#7B7E7A

Preview Lab

Preview with #397428

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

Preview Lab → · Contrast checker → · Palette generator →

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