#397E25#397E25

#397E25 is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.9% C 0.141 H 139.5°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#397E25
RGBrgb(57, 126, 37)
HSLhsl(107, 55%, 32%)
HSVhsv(107, 71%, 49%)
CMYKcmyk(54.8%, 0%, 70.6%, 50.6%)
CIE-LABlab(46.88, -39.12, 40.17)
CIE-LCHlch(46.88, 56.07, 134.24°)
OKLaboklab(52.9% -0.1075 0.0919)
OKLCHoklch(52.9% 0.141 139.5)
XYZxyz(9.4817, 15.9244, 4.3240)
Luminance0.1593 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397E25 #6A257E
analogous
#667E25 #397E25 #257E3E
triadic
#397E25 #25397E #7E2539
tetradic
#397E25 #25667E #6A257E #7E3E25
square
#397E25 #25667E #6A257E #7E3E25
split-complementary
#397E25 #3E257E #7E2566
monochromatic
#0E1F09 #244F17 #397E25 #4EAD33 #6DCC51

Accessibility & contrast

On white

5.02
#397E25 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #397E25
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397E25#FFFFFF#000000##FFFFFF
##397E251.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827318
Deuteranopia (green-blind)
#796D2D
Tritanopia (blue-blind)
#327A6C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #397e25;
/* rgb */ color: rgb(57, 126, 37);
/* oklch */ color: oklch(52.9% 0.141 139.5);
Tailwind
colors: {
  custom: {
    50: '#77a465',
    500: '#397e25',
    950: '#000000',
  },
}
SCSS
$custom: #397e25;
$custom-light: #77a465;
$custom-dark: #000000;
JSON
{
  "hex": "#397e25",
  "rgb": {
    "r": 57,
    "g": 126,
    "b": 37
  },
  "hsl": {
    "h": 106.517,
    "s": 54.601,
    "l": 31.961
  },
  "oklch": {
    "l": 0.52899,
    "c": 0.14144,
    "h": 139.5
  },
  "luminance": 0.15925
}

Semantic roles & 50–950 ramp

primary
#397E25
secondary
#9A4FB0
accent
#4ADEBD
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #397E25

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

Preview Lab → · Contrast checker → · Palette generator →

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