#397C18#397C18

#397C18 is a mid, vivid green. Relative luminance 0.154; OKLCH L 52.2% C 0.147 H 137.8°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#397C18
RGBrgb(57, 124, 24)
HSLhsl(100, 68%, 29%)
HSVhsv(100, 81%, 49%)
CMYKcmyk(54%, 0%, 80.6%, 51.4%)
CIE-LABlab(46.11, -39.32, 44.42)
CIE-LCHlch(46.11, 59.32, 131.51°)
OKLaboklab(52.24% -0.1089 0.0989)
OKLCHoklch(52.24% 0.147 137.8)
XYZxyz(9.0596, 15.3504, 3.3495)
Luminance0.1535 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397C18 #5B187C
analogous
#6B7C18 #397C18 #187C29
triadic
#397C18 #18397C #7C1839
tetradic
#397C18 #186B7C #5B187C #7C2918
square
#397C18 #186B7C #5B187C #7C2918
split-complementary
#397C18 #29187C #7C186B
monochromatic
#0C1A05 #21490E #397C18 #51AF22 #6CD836

Accessibility & contrast

On white

5.16
#397C18 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#397C18 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397C18
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397C18#FFFFFF#000000##FFFFFF
##397C181.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807100
Deuteranopia (green-blind)
#786B23
Tritanopia (blue-blind)
#347769
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #397c18;
/* rgb */ color: rgb(57, 124, 24);
/* oklch */ color: oklch(52.2% 0.147 137.8);
Tailwind
colors: {
  custom: {
    50: '#77a25e',
    500: '#397c18',
    950: '#000000',
  },
}
SCSS
$custom: #397c18;
$custom-light: #77a25e;
$custom-dark: #000000;
JSON
{
  "hex": "#397c18",
  "rgb": {
    "r": 57,
    "g": 124,
    "b": 24
  },
  "hsl": {
    "h": 100.2,
    "s": 67.568,
    "l": 29.02
  },
  "oklch": {
    "l": 0.5224,
    "c": 0.1471,
    "h": 137.8
  },
  "luminance": 0.15351
}

Semantic roles & 50–950 ramp

primary
#397C18
secondary
#8B3FB1
accent
#3DEAB1
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #397C18

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

Preview Lab → · Contrast checker → · Palette generator →

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