#397A1E#397A1E

#397A1E is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.7% C 0.141 H 138.2°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#397A1E
RGBrgb(57, 122, 30)
HSLhsl(102, 61%, 30%)
HSVhsv(102, 75%, 48%)
CMYKcmyk(53.3%, 0%, 75.4%, 52.2%)
CIE-LABlab(45.47, -38.08, 41.60)
CIE-LCHlch(45.47, 56.40, 132.47°)
OKLaboklab(51.73% -0.1052 0.0939)
OKLCHoklch(51.73% 0.141 138.2)
XYZxyz(8.8809, 14.8820, 3.6326)
Luminance0.1488 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397A1E #5F1E7A
analogous
#677A1E #397A1E #1E7A31
triadic
#397A1E #1E397A #7A1E39
tetradic
#397A1E #1E677A #5F1E7A #7A311E
square
#397A1E #1E677A #5F1E7A #7A311E
split-complementary
#397A1E #311E7A #7A1E67
monochromatic
#0B1906 #224912 #397A1E #50AB2A #6CD042

Accessibility & contrast

On white

5.28
#397A1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#397A1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397A1E
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397A1E#FFFFFF#000000##FFFFFF
##397A1E1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F0D
Deuteranopia (green-blind)
#766A27
Tritanopia (blue-blind)
#347668
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #397a1e;
/* rgb */ color: rgb(57, 122, 30);
/* oklch */ color: oklch(51.7% 0.141 138.2);
Tailwind
colors: {
  custom: {
    50: '#76a160',
    500: '#397a1e',
    950: '#000000',
  },
}
SCSS
$custom: #397a1e;
$custom-light: #76a160;
$custom-dark: #000000;
JSON
{
  "hex": "#397a1e",
  "rgb": {
    "r": 57,
    "g": 122,
    "b": 30
  },
  "hsl": {
    "h": 102.391,
    "s": 60.526,
    "l": 29.804
  },
  "oklch": {
    "l": 0.51727,
    "c": 0.141,
    "h": 138.2
  },
  "luminance": 0.14883
}

Semantic roles & 50–950 ramp

primary
#397A1E
secondary
#8F46AE
accent
#44E4B5
background
#F7FAF5
surface
#EDF3EA
border
#C8CDC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #397A1E

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

Preview Lab → · Contrast checker → · Palette generator →

#397A1E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva