#397D23#397D23

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

Color values

HEX#397D23
RGBrgb(57, 125, 35)
HSLhsl(105, 56%, 31%)
HSVhsv(105, 72%, 49%)
CMYKcmyk(54.4%, 0%, 72%, 51%)
CIE-LABlab(46.52, -38.89, 40.65)
CIE-LCHlch(46.52, 56.26, 133.74°)
OKLaboklab(52.6% -0.107 0.0926)
OKLCHoklch(52.6% 0.142 139.1)
XYZxyz(9.3240, 15.6577, 4.1207)
Luminance0.1566 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397D23 #67237D
analogous
#667D23 #397D23 #237D3A
triadic
#397D23 #23397D #7D2339
tetradic
#397D23 #23667D #67237D #7D3A23
square
#397D23 #23667D #67237D #7D3A23
split-complementary
#397D23 #3A237D #7D2366
monochromatic
#0D1D08 #234D16 #397D23 #4FAD30 #6CCD4D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##397D23#FFFFFF#000000##FFFFFF
##397D231.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)
#817215
Deuteranopia (green-blind)
#786C2B
Tritanopia (blue-blind)
#33796B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #397d23;
/* rgb */ color: rgb(57, 125, 35);
/* oklch */ color: oklch(52.6% 0.142 139.1);
Tailwind
colors: {
  custom: {
    50: '#77a363',
    500: '#397d23',
    950: '#000000',
  },
}
SCSS
$custom: #397d23;
$custom-light: #77a363;
$custom-dark: #000000;
JSON
{
  "hex": "#397d23",
  "rgb": {
    "r": 57,
    "g": 125,
    "b": 35
  },
  "hsl": {
    "h": 105.333,
    "s": 56.25,
    "l": 31.373
  },
  "oklch": {
    "l": 0.52603,
    "c": 0.14155,
    "h": 139.1
  },
  "luminance": 0.15658
}

Semantic roles & 50–950 ramp

primary
#397D23
secondary
#974CAF
accent
#48E0BB
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #397D23

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

Preview Lab → · Contrast checker → · Palette generator →

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