#397E19#397E19

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

Color values

HEX#397E19
RGBrgb(57, 126, 25)
HSLhsl(101, 67%, 30%)
HSVhsv(101, 80%, 49%)
CMYKcmyk(54.8%, 0%, 80.2%, 50.6%)
CIE-LABlab(46.79, -40.06, 44.73)
CIE-LCHlch(46.79, 60.05, 131.85°)
OKLaboklab(52.8% -0.1108 0.0997)
OKLCHoklch(52.8% 0.149 138)
XYZxyz(9.3233, 15.8610, 3.4897)
Luminance0.1586 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397E19 #5E197E
analogous
#6C7E19 #397E19 #197E2C
triadic
#397E19 #19397E #7E1939
tetradic
#397E19 #196C7E #5E197E #7E2C19
square
#397E19 #196C7E #5E197E #7E2C19
split-complementary
#397E19 #2C197E #7E196C
monochromatic
#0C1A05 #224B0F #397E19 #50B123 #6CD83A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##397E19#FFFFFF#000000##FFFFFF
##397E191.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)
#33796B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #397e19;
/* rgb */ color: rgb(57, 126, 25);
/* oklch */ color: oklch(52.8% 0.149 138.0);
Tailwind
colors: {
  custom: {
    50: '#77a45e',
    500: '#397e19',
    950: '#000000',
  },
}
SCSS
$custom: #397e19;
$custom-light: #77a45e;
$custom-dark: #000000;
JSON
{
  "hex": "#397e19",
  "rgb": {
    "r": 57,
    "g": 126,
    "b": 25
  },
  "hsl": {
    "h": 100.99,
    "s": 66.887,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52803,
    "c": 0.14908,
    "h": 138
  },
  "luminance": 0.15862
}

Semantic roles & 50–950 ramp

primary
#397E19
secondary
#8E41B2
accent
#3EEAB3
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#090F05
muted
#7B7F79

Preview Lab

Preview with #397E19

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

Preview Lab → · Contrast checker → · Palette generator →

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