#397E18#397E18

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

Color values

HEX#397E18
RGBrgb(57, 126, 24)
HSLhsl(101, 68%, 29%)
HSVhsv(101, 81%, 49%)
CMYKcmyk(54.8%, 0%, 81%, 50.6%)
CIE-LABlab(46.79, -40.12, 45.06)
CIE-LCHlch(46.79, 60.34, 131.68°)
OKLaboklab(52.8% -0.1111 0.1002)
OKLCHoklch(52.8% 0.15 137.9)
XYZxyz(9.3127, 15.8568, 3.4339)
Luminance0.1586 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397E18 #5D187E
analogous
#6C7E18 #397E18 #187E2A
triadic
#397E18 #18397E #7E1839
tetradic
#397E18 #186C7E #5D187E #7E2A18
square
#397E18 #186C7E #5D187E #7E2A18
split-complementary
#397E18 #2A187E #7E186C
monochromatic
#0C1A05 #224B0E #397E18 #50B122 #6CD937

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##397E18#FFFFFF#000000##FFFFFF
##397E181.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)
#827200
Deuteranopia (green-blind)
#796D24
Tritanopia (blue-blind)
#34796B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #397e18;
/* rgb */ color: rgb(57, 126, 24);
/* oklch */ color: oklch(52.8% 0.150 137.9);
Tailwind
colors: {
  custom: {
    50: '#77a45e',
    500: '#397e18',
    950: '#000000',
  },
}
SCSS
$custom: #397e18;
$custom-light: #77a45e;
$custom-dark: #000000;
JSON
{
  "hex": "#397e18",
  "rgb": {
    "r": 57,
    "g": 126,
    "b": 24
  },
  "hsl": {
    "h": 100.588,
    "s": 68,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52797,
    "c": 0.14961,
    "h": 137.9
  },
  "luminance": 0.15858
}

Semantic roles & 50–950 ramp

primary
#397E18
secondary
#8D3FB2
accent
#3DEBB3
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #397E18

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

Preview Lab → · Contrast checker → · Palette generator →

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