#397E1A#397E1A

#397E1A is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.8% C 0.149 H 138.1°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#397E1A
RGBrgb(57, 126, 26)
HSLhsl(101, 66%, 30%)
HSVhsv(101, 79%, 49%)
CMYKcmyk(54.8%, 0%, 79.4%, 50.6%)
CIE-LABlab(46.80, -39.99, 44.39)
CIE-LCHlch(46.80, 59.75, 132.02°)
OKLaboklab(52.81% -0.1106 0.0991)
OKLCHoklch(52.81% 0.149 138.1)
XYZxyz(9.3343, 15.8654, 3.5475)
Luminance0.1587 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397E1A #5F1A7E
analogous
#6B7E1A #397E1A #1A7E2D
triadic
#397E1A #1A397E #7E1A39
tetradic
#397E1A #1A6B7E #5F1A7E #7E2D1A
square
#397E1A #1A6B7E #5F1A7E #7E2D1A
split-complementary
#397E1A #2D1A7E #7E1A6B
monochromatic
#0B1905 #224B10 #397E1A #50B124 #6CD73C

Accessibility & contrast

On white

5.03
#397E1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#397E1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397E1A
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397E1A#FFFFFF#000000##FFFFFF
##397E1A1.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827202
Deuteranopia (green-blind)
#796D25
Tritanopia (blue-blind)
#33796B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #397e1a;
/* rgb */ color: rgb(57, 126, 26);
/* oklch */ color: oklch(52.8% 0.149 138.1);
Tailwind
colors: {
  custom: {
    50: '#77a45f',
    500: '#397e1a',
    950: '#000000',
  },
}
SCSS
$custom: #397e1a;
$custom-light: #77a45f;
$custom-dark: #000000;
JSON
{
  "hex": "#397e1a",
  "rgb": {
    "r": 57,
    "g": 126,
    "b": 26
  },
  "hsl": {
    "h": 101.4,
    "s": 65.789,
    "l": 29.804
  },
  "oklch": {
    "l": 0.5281,
    "c": 0.14852,
    "h": 138.1
  },
  "luminance": 0.15866
}

Semantic roles & 50–950 ramp

primary
#397E1A
secondary
#8F42B2
accent
#3FE9B4
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #397E1A

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

Preview Lab → · Contrast checker → · Palette generator →

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