#397E23#397E23

#397E23 is a mid, vivid green. Relative luminance 0.159; OKLCH L 52.9% C 0.143 H 139.2°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#397E23
RGBrgb(57, 126, 35)
HSLhsl(105, 57%, 32%)
HSVhsv(105, 72%, 49%)
CMYKcmyk(54.8%, 0%, 72.2%, 50.6%)
CIE-LABlab(46.86, -39.30, 41.00)
CIE-LCHlch(46.86, 56.79, 133.79°)
OKLaboklab(52.88% -0.1081 0.0934)
OKLCHoklch(52.88% 0.143 139.2)
XYZxyz(9.4512, 15.9122, 4.1631)
Luminance0.1591 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397E23 #68237E
analogous
#677E23 #397E23 #237E3B
triadic
#397E23 #23397E #7E2339
tetradic
#397E23 #23677E #68237E #7E3B23
square
#397E23 #23677E #68237E #7E3B23
split-complementary
#397E23 #3B237E #7E2367
monochromatic
#0E1E08 #234E16 #397E23 #4FAE30 #6DCE4E

Accessibility & contrast

On white

5.02
#397E23 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#397E23 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397E23
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397E23#FFFFFF#000000##FFFFFF
##397E231.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827315
Deuteranopia (green-blind)
#796D2C
Tritanopia (blue-blind)
#327A6C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #397e23;
/* rgb */ color: rgb(57, 126, 35);
/* oklch */ color: oklch(52.9% 0.143 139.2);
Tailwind
colors: {
  custom: {
    50: '#77a463',
    500: '#397e23',
    950: '#000000',
  },
}
SCSS
$custom: #397e23;
$custom-light: #77a463;
$custom-dark: #000000;
JSON
{
  "hex": "#397e23",
  "rgb": {
    "r": 57,
    "g": 126,
    "b": 35
  },
  "hsl": {
    "h": 105.495,
    "s": 56.522,
    "l": 31.569
  },
  "oklch": {
    "l": 0.52881,
    "c": 0.14286,
    "h": 139.2
  },
  "luminance": 0.15913
}

Semantic roles & 50–950 ramp

primary
#397E23
secondary
#984CB0
accent
#48E0BB
background
#F7FAF6
surface
#EEF4EB
border
#C9CEC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #397E23

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

Preview Lab → · Contrast checker → · Palette generator →

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