#397730#397730

#397730 is a mid, vivid green. Relative luminance 0.143; OKLCH L 51.1% C 0.123 H 141.2°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#397730
RGBrgb(57, 119, 48)
HSLhsl(112, 43%, 33%)
HSVhsv(112, 60%, 47%)
CMYKcmyk(52.1%, 0%, 59.7%, 53.3%)
CIE-LABlab(44.63, -34.98, 32.50)
CIE-LCHlch(44.63, 47.74, 137.11°)
OKLaboklab(51.09% -0.0956 0.0768)
OKLCHoklch(51.09% 0.123 141.2)
XYZxyz(8.8173, 14.2763, 5.0867)
Luminance0.1428 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397730 #6E3077
analogous
#5D7730 #397730 #30774A
triadic
#397730 #303977 #773039
tetradic
#397730 #305D77 #6E3077 #774A30
square
#397730 #305D77 #6E3077 #774A30
split-complementary
#397730 #4A3077 #77305D
monochromatic
#0F200D #244B1E #397730 #4EA342 #6EC062

Accessibility & contrast

On white

5.45
#397730 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#397730 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397730
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397730#FFFFFF#000000##FFFFFF
##3977301.005.453.865.45
#FFFFFF5.451.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7A6D29
Deuteranopia (green-blind)
#726735
Tritanopia (blue-blind)
#327367
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #397730;
/* rgb */ color: rgb(57, 119, 48);
/* oklch */ color: oklch(51.1% 0.123 141.2);
Tailwind
colors: {
  custom: {
    50: '#759f6b',
    500: '#397730',
    950: '#000000',
  },
}
SCSS
$custom: #397730;
$custom-light: #759f6b;
$custom-dark: #000000;
JSON
{
  "hex": "#397730",
  "rgb": {
    "r": 57,
    "g": 119,
    "b": 48
  },
  "hsl": {
    "h": 112.394,
    "s": 42.515,
    "l": 32.745
  },
  "oklch": {
    "l": 0.51085,
    "c": 0.1226,
    "h": 141.2
  },
  "luminance": 0.14277
}

Semantic roles & 50–950 ramp

primary
#397730
secondary
#9D5CA7
accent
#55D2C2
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#090E07
muted
#7B7E7A

Preview Lab

Preview with #397730

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

Preview Lab → · Contrast checker → · Palette generator →

#397730 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva