#397D25#397D25

#397D25 is a mid, vivid green. Relative luminance 0.157; OKLCH L 52.6% C 0.140 H 139.4°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#397D25
RGBrgb(57, 125, 37)
HSLhsl(106, 54%, 32%)
HSVhsv(106, 70%, 49%)
CMYKcmyk(54.4%, 0%, 70.4%, 51%)
CIE-LABlab(46.54, -38.71, 39.81)
CIE-LCHlch(46.54, 55.53, 134.20°)
OKLaboklab(52.62% -0.1064 0.0912)
OKLCHoklch(52.62% 0.14 139.4)
XYZxyz(9.3545, 15.6699, 4.2816)
Luminance0.1567 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397D25 #69257D
analogous
#657D25 #397D25 #257D3D
triadic
#397D25 #25397D #7D2539
tetradic
#397D25 #25657D #69257D #7D3D25
square
#397D25 #25657D #69257D #7D3D25
split-complementary
#397D25 #3D257D #7D2565
monochromatic
#0E1F09 #234E17 #397D25 #4FAC33 #6DCB51

Accessibility & contrast

On white

5.08
#397D25 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#397D25 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397D25
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397D25#FFFFFF#000000##FFFFFF
##397D251.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817219
Deuteranopia (green-blind)
#786C2D
Tritanopia (blue-blind)
#32796B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #397d25;
/* rgb */ color: rgb(57, 125, 37);
/* oklch */ color: oklch(52.6% 0.140 139.4);
Tailwind
colors: {
  custom: {
    50: '#77a364',
    500: '#397d25',
    950: '#000000',
  },
}
SCSS
$custom: #397d25;
$custom-light: #77a364;
$custom-dark: #000000;
JSON
{
  "hex": "#397d25",
  "rgb": {
    "r": 57,
    "g": 125,
    "b": 37
  },
  "hsl": {
    "h": 106.364,
    "s": 54.321,
    "l": 31.765
  },
  "oklch": {
    "l": 0.52622,
    "c": 0.1401,
    "h": 139.4
  },
  "luminance": 0.15671
}

Semantic roles & 50–950 ramp

primary
#397D25
secondary
#994FAF
accent
#4ADEBC
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #397D25

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

Preview Lab → · Contrast checker → · Palette generator →

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