#397B24#397B24

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

Color values

HEX#397B24
RGBrgb(57, 123, 36)
HSLhsl(106, 55%, 31%)
HSVhsv(106, 71%, 48%)
CMYKcmyk(53.7%, 0%, 70.7%, 51.8%)
CIE-LABlab(45.86, -37.98, 39.52)
CIE-LCHlch(45.86, 54.81, 133.86°)
OKLaboklab(52.06% -0.1045 0.0904)
OKLCHoklch(52.06% 0.138 139.1)
XYZxyz(9.0884, 15.1625, 4.1165)
Luminance0.1516 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397B24 #66247B
analogous
#647B24 #397B24 #247B3A
triadic
#397B24 #24397B #7B2439
tetradic
#397B24 #24647B #66247B #7B3A24
square
#397B24 #24647B #66247B #7B3A24
split-complementary
#397B24 #3A247B #7B2464
monochromatic
#0D1C08 #234C16 #397B24 #4FAA32 #6CCB4E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##397B24#FFFFFF#000000##FFFFFF
##397B241.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)
#7F7018
Deuteranopia (green-blind)
#766A2C
Tritanopia (blue-blind)
#337769
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #397b24;
/* rgb */ color: rgb(57, 123, 36);
/* oklch */ color: oklch(52.1% 0.138 139.1);
Tailwind
colors: {
  custom: {
    50: '#76a264',
    500: '#397b24',
    950: '#000000',
  },
}
SCSS
$custom: #397b24;
$custom-light: #76a264;
$custom-dark: #000000;
JSON
{
  "hex": "#397b24",
  "rgb": {
    "r": 57,
    "g": 123,
    "b": 36
  },
  "hsl": {
    "h": 105.517,
    "s": 54.717,
    "l": 31.176
  },
  "oklch": {
    "l": 0.52057,
    "c": 0.13817,
    "h": 139.1
  },
  "luminance": 0.15163
}

Semantic roles & 50–950 ramp

primary
#397B24
secondary
#964DAD
accent
#4ADEBA
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #397B24

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

Preview Lab → · Contrast checker → · Palette generator →

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