#397E1B#397E1B

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

Color values

HEX#397E1B
RGBrgb(57, 126, 27)
HSLhsl(102, 65%, 30%)
HSVhsv(102, 79%, 49%)
CMYKcmyk(54.8%, 0%, 78.6%, 50.6%)
CIE-LABlab(46.80, -39.93, 44.05)
CIE-LCHlch(46.80, 59.45, 132.19°)
OKLaboklab(52.82% -0.1103 0.0986)
OKLCHoklch(52.82% 0.148 138.2)
XYZxyz(9.3457, 15.8700, 3.6074)
Luminance0.1587 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397E1B #601B7E
analogous
#6B7E1B #397E1B #1B7E2E
triadic
#397E1B #1B397E #7E1B39
tetradic
#397E1B #1B6B7E #601B7E #7E2E1B
square
#397E1B #1B6B7E #601B7E #7E2E1B
split-complementary
#397E1B #2E1B7E #7E1B6B
monochromatic
#0B1905 #224C10 #397E1B #50B026 #6CD63E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##397E1B#FFFFFF#000000##FFFFFF
##397E1B1.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)
#827204
Deuteranopia (green-blind)
#796D26
Tritanopia (blue-blind)
#33796B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #397e1b;
/* rgb */ color: rgb(57, 126, 27);
/* oklch */ color: oklch(52.8% 0.148 138.2);
Tailwind
colors: {
  custom: {
    50: '#77a45f',
    500: '#397e1b',
    950: '#000000',
  },
}
SCSS
$custom: #397e1b;
$custom-light: #77a45f;
$custom-dark: #000000;
JSON
{
  "hex": "#397e1b",
  "rgb": {
    "r": 57,
    "g": 126,
    "b": 27
  },
  "hsl": {
    "h": 101.818,
    "s": 64.706,
    "l": 30
  },
  "oklch": {
    "l": 0.52817,
    "c": 0.14796,
    "h": 138.2
  },
  "luminance": 0.15871
}

Semantic roles & 50–950 ramp

primary
#397E1B
secondary
#9043B2
accent
#40E8B5
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #397E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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