#397B25#397B25

#397B25 is a mid, vivid green. Relative luminance 0.152; OKLCH L 52.1% C 0.137 H 139.3°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#397B25
RGBrgb(57, 123, 37)
HSLhsl(106, 54%, 31%)
HSVhsv(106, 70%, 48%)
CMYKcmyk(53.7%, 0%, 69.9%, 51.8%)
CIE-LABlab(45.86, -37.89, 39.10)
CIE-LCHlch(45.86, 54.44, 134.10°)
OKLaboklab(52.07% -0.1042 0.0896)
OKLCHoklch(52.07% 0.137 139.3)
XYZxyz(9.1039, 15.1687, 4.1980)
Luminance0.1517 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397B25 #67257B
analogous
#647B25 #397B25 #257B3C
triadic
#397B25 #25397B #7B2539
tetradic
#397B25 #25647B #67257B #7B3C25
square
#397B25 #25647B #67257B #7B3C25
split-complementary
#397B25 #3C257B #7B2564
monochromatic
#0D1D09 #234C17 #397B25 #4FAA33 #6CCA50

Accessibility & contrast

On white

5.21
#397B25 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#397B25 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397B25
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397B25#FFFFFF#000000##FFFFFF
##397B251.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F7019
Deuteranopia (green-blind)
#766A2D
Tritanopia (blue-blind)
#33776A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #397b25;
/* rgb */ color: rgb(57, 123, 37);
/* oklch */ color: oklch(52.1% 0.137 139.3);
Tailwind
colors: {
  custom: {
    50: '#76a264',
    500: '#397b25',
    950: '#000000',
  },
}
SCSS
$custom: #397b25;
$custom-light: #76a264;
$custom-dark: #000000;
JSON
{
  "hex": "#397b25",
  "rgb": {
    "r": 57,
    "g": 123,
    "b": 37
  },
  "hsl": {
    "h": 106.047,
    "s": 53.75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.52067,
    "c": 0.13744,
    "h": 139.3
  },
  "luminance": 0.15169
}

Semantic roles & 50–950 ramp

primary
#397B25
secondary
#974FAD
accent
#4BDDBB
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #397B25

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

Preview Lab → · Contrast checker → · Palette generator →

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