#397E1E#397E1E

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

Color values

HEX#397E1E
RGBrgb(57, 126, 30)
HSLhsl(103, 62%, 31%)
HSVhsv(103, 76%, 49%)
CMYKcmyk(54.8%, 0%, 76.2%, 50.6%)
CIE-LABlab(46.82, -39.71, 42.96)
CIE-LCHlch(46.82, 58.50, 132.75°)
OKLaboklab(52.84% -0.1096 0.0968)
OKLCHoklch(52.84% 0.146 138.6)
XYZxyz(9.3822, 15.8846, 3.7997)
Luminance0.1588 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397E1E #631E7E
analogous
#697E1E #397E1E #1E7E33
triadic
#397E1E #1E397E #7E1E39
tetradic
#397E1E #1E697E #631E7E #7E331E
square
#397E1E #1E697E #631E7E #7E331E
split-complementary
#397E1E #331E7E #7E1E69
monochromatic
#0C1B06 #234D12 #397E1E #4FAF2A #6CD244

Accessibility & contrast

On white

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

On black

4.18
#397E1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##397E1E#FFFFFF#000000##FFFFFF
##397E1E1.005.034.185.03
#FFFFFF5.031.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#82730B
Deuteranopia (green-blind)
#796D28
Tritanopia (blue-blind)
#337A6B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #397e1e;
/* rgb */ color: rgb(57, 126, 30);
/* oklch */ color: oklch(52.8% 0.146 138.6);
Tailwind
colors: {
  custom: {
    50: '#77a461',
    500: '#397e1e',
    950: '#000000',
  },
}
SCSS
$custom: #397e1e;
$custom-light: #77a461;
$custom-dark: #000000;
JSON
{
  "hex": "#397e1e",
  "rgb": {
    "r": 57,
    "g": 126,
    "b": 30
  },
  "hsl": {
    "h": 103.125,
    "s": 61.538,
    "l": 30.588
  },
  "oklch": {
    "l": 0.52839,
    "c": 0.14617,
    "h": 138.6
  },
  "luminance": 0.15885
}

Semantic roles & 50–950 ramp

primary
#397E1E
secondary
#9347B1
accent
#43E5B7
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #397E1E

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

Preview Lab → · Contrast checker → · Palette generator →

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