#397B23#397B23

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

Color values

HEX#397B23
RGBrgb(57, 123, 35)
HSLhsl(105, 56%, 31%)
HSVhsv(105, 72%, 48%)
CMYKcmyk(53.7%, 0%, 71.5%, 51.8%)
CIE-LABlab(45.85, -38.07, 39.94)
CIE-LCHlch(45.85, 55.18, 133.63°)
OKLaboklab(52.05% -0.1048 0.0912)
OKLCHoklch(52.05% 0.139 139)
XYZxyz(9.0733, 15.1564, 4.0371)
Luminance0.1516 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397B23 #65237B
analogous
#657B23 #397B23 #237B39
triadic
#397B23 #23397B #7B2339
tetradic
#397B23 #23657B #65237B #7B3923
square
#397B23 #23657B #65237B #7B3923
split-complementary
#397B23 #39237B #7B2365
monochromatic
#0D1C08 #234B15 #397B23 #4FAB31 #6CCC4C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##397B23#FFFFFF#000000##FFFFFF
##397B231.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)
#7F7016
Deuteranopia (green-blind)
#766A2B
Tritanopia (blue-blind)
#337769
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #397b23;
/* rgb */ color: rgb(57, 123, 35);
/* oklch */ color: oklch(52.0% 0.139 139.0);
Tailwind
colors: {
  custom: {
    50: '#76a263',
    500: '#397b23',
    950: '#000000',
  },
}
SCSS
$custom: #397b23;
$custom-light: #76a263;
$custom-dark: #000000;
JSON
{
  "hex": "#397b23",
  "rgb": {
    "r": 57,
    "g": 123,
    "b": 35
  },
  "hsl": {
    "h": 105,
    "s": 55.696,
    "l": 30.98
  },
  "oklch": {
    "l": 0.52048,
    "c": 0.13891,
    "h": 139
  },
  "luminance": 0.15157
}

Semantic roles & 50–950 ramp

primary
#397B23
secondary
#954CAE
accent
#49DFB9
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#090F05
muted
#7B7F7A

Preview Lab

Preview with #397B23

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

Preview Lab → · Contrast checker → · Palette generator →

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