#397928#397928

#397928 is a mid, vivid green. Relative luminance 0.147; OKLCH L 51.5% C 0.132 H 139.7°. Best body text is #FFFFFF at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#397928
RGBrgb(57, 121, 40)
HSLhsl(107, 50%, 32%)
HSVhsv(107, 67%, 47%)
CMYKcmyk(52.9%, 0%, 66.9%, 52.5%)
CIE-LABlab(45.22, -36.75, 37.05)
CIE-LCHlch(45.22, 52.18, 134.77°)
OKLaboklab(51.54% -0.1009 0.0857)
OKLCHoklch(51.54% 0.132 139.7)
XYZxyz(8.9074, 14.6971, 4.3745)
Luminance0.1470 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397928 #682879
analogous
#627928 #397928 #287940
triadic
#397928 #283979 #792839
tetradic
#397928 #286279 #682879 #794028
square
#397928 #286279 #682879 #794028
split-complementary
#397928 #402879 #792862
monochromatic
#0E1D0A #234B19 #397928 #4FA737 #6DC755

Accessibility & contrast

On white

5.33
#397928 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#397928 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397928
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397928#FFFFFF#000000##FFFFFF
##3979281.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E1E
Deuteranopia (green-blind)
#74692F
Tritanopia (blue-blind)
#337568
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #397928;
/* rgb */ color: rgb(57, 121, 40);
/* oklch */ color: oklch(51.5% 0.132 139.7);
Tailwind
colors: {
  custom: {
    50: '#76a066',
    500: '#397928',
    950: '#000000',
  },
}
SCSS
$custom: #397928;
$custom-light: #76a066;
$custom-dark: #000000;
JSON
{
  "hex": "#397928",
  "rgb": {
    "r": 57,
    "g": 121,
    "b": 40
  },
  "hsl": {
    "h": 107.407,
    "s": 50.311,
    "l": 31.569
  },
  "oklch": {
    "l": 0.51543,
    "c": 0.13238,
    "h": 139.7
  },
  "luminance": 0.14698
}

Semantic roles & 50–950 ramp

primary
#397928
secondary
#9852AB
accent
#4EDABC
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#090F06
muted
#7B7E7A

Preview Lab

Preview with #397928

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

Preview Lab → · Contrast checker → · Palette generator →

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