#397F23#397F23

#397F23 is a mid, vivid green. Relative luminance 0.162; OKLCH L 53.2% C 0.144 H 139.3°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#397F23
RGBrgb(57, 127, 35)
HSLhsl(106, 57%, 32%)
HSVhsv(106, 72%, 50%)
CMYKcmyk(55.1%, 0%, 72.4%, 50.2%)
CIE-LABlab(47.20, -39.71, 41.35)
CIE-LCHlch(47.20, 57.33, 133.84°)
OKLaboklab(53.16% -0.1092 0.0941)
OKLCHoklch(53.16% 0.144 139.3)
XYZxyz(9.5797, 16.1692, 4.2059)
Luminance0.1617 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397F23 #69237F
analogous
#677F23 #397F23 #237F3B
triadic
#397F23 #23397F #7F2339
tetradic
#397F23 #23677F #69237F #7F3B23
square
#397F23 #23677F #69237F #7F3B23
split-complementary
#397F23 #3B237F #7F2367
monochromatic
#0E1F09 #234F16 #397F23 #4FAF30 #6DCE4E

Accessibility & contrast

On white

4.96
#397F23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#397F23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397F23
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397F23#FFFFFF#000000##FFFFFF
##397F231.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837415
Deuteranopia (green-blind)
#7A6E2C
Tritanopia (blue-blind)
#327B6D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #397f23;
/* rgb */ color: rgb(57, 127, 35);
/* oklch */ color: oklch(53.2% 0.144 139.3);
Tailwind
colors: {
  custom: {
    50: '#77a564',
    500: '#397f23',
    950: '#000000',
  },
}
SCSS
$custom: #397f23;
$custom-light: #77a564;
$custom-dark: #000000;
JSON
{
  "hex": "#397f23",
  "rgb": {
    "r": 57,
    "g": 127,
    "b": 35
  },
  "hsl": {
    "h": 105.652,
    "s": 56.79,
    "l": 31.765
  },
  "oklch": {
    "l": 0.53158,
    "c": 0.14418,
    "h": 139.3
  },
  "luminance": 0.1617
}

Semantic roles & 50–950 ramp

primary
#397F23
secondary
#994CB1
accent
#48E0BC
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #397F23

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

Preview Lab → · Contrast checker → · Palette generator →

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