#397B28#397B28

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

Color values

HEX#397B28
RGBrgb(57, 123, 40)
HSLhsl(108, 51%, 32%)
HSVhsv(108, 67%, 48%)
CMYKcmyk(53.7%, 0%, 67.5%, 51.8%)
CIE-LABlab(45.89, -37.59, 37.78)
CIE-LCHlch(45.89, 53.30, 134.85°)
OKLaboklab(52.1% -0.1032 0.0873)
OKLCHoklch(52.1% 0.135 139.8)
XYZxyz(9.1529, 15.1883, 4.4564)
Luminance0.1519 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397B28 #6A287B
analogous
#637B28 #397B28 #287B41
triadic
#397B28 #28397B #7B2839
tetradic
#397B28 #28637B #6A287B #7B4128
square
#397B28 #28637B #6A287B #7B4128
split-complementary
#397B28 #41287B #7B2863
monochromatic
#0E1F0A #244D19 #397B28 #4EA937 #6DC856

Accessibility & contrast

On white

5.20
#397B28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#397B28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397B28
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397B28#FFFFFF#000000##FFFFFF
##397B281.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E701E
Deuteranopia (green-blind)
#766B2F
Tritanopia (blue-blind)
#32776A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #397b28;
/* rgb */ color: rgb(57, 123, 40);
/* oklch */ color: oklch(52.1% 0.135 139.8);
Tailwind
colors: {
  custom: {
    50: '#76a266',
    500: '#397b28',
    950: '#000000',
  },
}
SCSS
$custom: #397b28;
$custom-light: #76a266;
$custom-dark: #000000;
JSON
{
  "hex": "#397b28",
  "rgb": {
    "r": 57,
    "g": 123,
    "b": 40
  },
  "hsl": {
    "h": 107.711,
    "s": 50.92,
    "l": 31.961
  },
  "oklch": {
    "l": 0.52097,
    "c": 0.13512,
    "h": 139.8
  },
  "luminance": 0.15189
}

Semantic roles & 50–950 ramp

primary
#397B28
secondary
#9A52AD
accent
#4DDABE
background
#F7FAF6
surface
#EDF3EB
border
#C8CDC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #397B28

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

Preview Lab → · Contrast checker → · Palette generator →

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