#397919#397919

#397919 is a mid, vivid green. Relative luminance 0.146; OKLCH L 51.4% C 0.143 H 137.6°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#397919
RGBrgb(57, 121, 25)
HSLhsl(100, 66%, 29%)
HSVhsv(100, 79%, 47%)
CMYKcmyk(52.9%, 0%, 79.3%, 52.5%)
CIE-LABlab(45.10, -38.03, 43.10)
CIE-LCHlch(45.10, 57.48, 131.42°)
OKLaboklab(51.41% -0.1054 0.0963)
OKLCHoklch(51.41% 0.143 137.6)
XYZxyz(8.6999, 14.6141, 3.2819)
Luminance0.1462 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397919 #591979
analogous
#697919 #397919 #197929
triadic
#397919 #193979 #791939
tetradic
#397919 #196979 #591979 #792919
square
#397919 #196979 #591979 #792919
split-complementary
#397919 #291979 #791969
monochromatic
#0C1905 #21460F #397919 #51AC23 #6CD637

Accessibility & contrast

On white

5.35
#397919 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#397919 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397919
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397919#FFFFFF#000000##FFFFFF
##3979191.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E03
Deuteranopia (green-blind)
#756923
Tritanopia (blue-blind)
#347467
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #397919;
/* rgb */ color: rgb(57, 121, 25);
/* oklch */ color: oklch(51.4% 0.143 137.6);
Tailwind
colors: {
  custom: {
    50: '#77a05e',
    500: '#397919',
    950: '#000000',
  },
}
SCSS
$custom: #397919;
$custom-light: #77a05e;
$custom-dark: #000000;
JSON
{
  "hex": "#397919",
  "rgb": {
    "r": 57,
    "g": 121,
    "b": 25
  },
  "hsl": {
    "h": 100,
    "s": 65.753,
    "l": 28.627
  },
  "oklch": {
    "l": 0.51411,
    "c": 0.14275,
    "h": 137.6
  },
  "luminance": 0.14615
}

Semantic roles & 50–950 ramp

primary
#397919
secondary
#8940AE
accent
#3FE9B0
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090F05
muted
#7B7E79

Preview Lab

Preview with #397919

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

Preview Lab → · Contrast checker → · Palette generator →

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