#397A25#397A25

#397A25 is a mid, vivid green. Relative luminance 0.149; OKLCH L 51.8% C 0.136 H 139.2°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#397A25
RGBrgb(57, 122, 37)
HSLhsl(106, 53%, 31%)
HSVhsv(106, 70%, 48%)
CMYKcmyk(53.3%, 0%, 69.7%, 52.2%)
CIE-LABlab(45.53, -37.47, 38.74)
CIE-LCHlch(45.53, 53.89, 134.05°)
OKLaboklab(51.79% -0.103 0.0889)
OKLCHoklch(51.79% 0.136 139.2)
XYZxyz(8.9805, 14.9218, 4.1569)
Luminance0.1492 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397A25 #66257A
analogous
#637A25 #397A25 #257A3B
triadic
#397A25 #25397A #7A2539
tetradic
#397A25 #25637A #66257A #7A3B25
square
#397A25 #25637A #66257A #7A3B25
split-complementary
#397A25 #3B257A #7A2563
monochromatic
#0D1C09 #234B17 #397A25 #4FA933 #6CCA50

Accessibility & contrast

On white

5.27
#397A25 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#397A25 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397A25
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397A25#FFFFFF#000000##FFFFFF
##397A251.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F19
Deuteranopia (green-blind)
#756A2D
Tritanopia (blue-blind)
#337669
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #397a25;
/* rgb */ color: rgb(57, 122, 37);
/* oklch */ color: oklch(51.8% 0.136 139.2);
Tailwind
colors: {
  custom: {
    50: '#76a164',
    500: '#397a25',
    950: '#000000',
  },
}
SCSS
$custom: #397a25;
$custom-light: #76a164;
$custom-dark: #000000;
JSON
{
  "hex": "#397a25",
  "rgb": {
    "r": 57,
    "g": 122,
    "b": 37
  },
  "hsl": {
    "h": 105.882,
    "s": 53.459,
    "l": 31.176
  },
  "oklch": {
    "l": 0.51789,
    "c": 0.13608,
    "h": 139.2
  },
  "luminance": 0.14922
}

Semantic roles & 50–950 ramp

primary
#397A25
secondary
#964EAC
accent
#4BDDBB
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #397A25

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

Preview Lab → · Contrast checker → · Palette generator →

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