#397420#397420

#397420 is a mid, vivid green. Relative luminance 0.135; OKLCH L 50.1% C 0.132 H 138.0°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#397420
RGBrgb(57, 116, 32)
HSLhsl(102, 57%, 29%)
HSVhsv(102, 72%, 45%)
CMYKcmyk(50.9%, 0%, 72.4%, 54.5%)
CIE-LABlab(43.45, -35.40, 38.72)
CIE-LCHlch(43.45, 52.46, 132.44°)
OKLaboklab(50.07% -0.0978 0.0882)
OKLCHoklch(50.07% 0.132 138)
XYZxyz(8.1932, 13.4644, 3.5334)
Luminance0.1346 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397420 #5B2074
analogous
#637420 #397420 #207431
triadic
#397420 #203974 #742039
tetradic
#397420 #206374 #5B2074 #743120
square
#397420 #206374 #5B2074 #743120
split-complementary
#397420 #312074 #742063
monochromatic
#0C1807 #214413 #397420 #51A42D #6CCB43

Accessibility & contrast

On white

5.69
#397420 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#397420 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397420
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397420#FFFFFF#000000##FFFFFF
##3974201.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A13
Deuteranopia (green-blind)
#706528
Tritanopia (blue-blind)
#357063
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #397420;
/* rgb */ color: rgb(57, 116, 32);
/* oklch */ color: oklch(50.1% 0.132 138.0);
Tailwind
colors: {
  custom: {
    50: '#759c61',
    500: '#397420',
    950: '#000000',
  },
}
SCSS
$custom: #397420;
$custom-light: #759c61;
$custom-dark: #000000;
JSON
{
  "hex": "#397420",
  "rgb": {
    "r": 57,
    "g": 116,
    "b": 32
  },
  "hsl": {
    "h": 102.143,
    "s": 56.757,
    "l": 29.02
  },
  "oklch": {
    "l": 0.50072,
    "c": 0.13167,
    "h": 138
  },
  "luminance": 0.13465
}

Semantic roles & 50–950 ramp

primary
#397420
secondary
#8B48A8
accent
#48E0B3
background
#F7F9F5
surface
#EDF2EA
border
#C8CCC6
text
#090E05
muted
#7B7E79

Preview Lab

Preview with #397420

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

Preview Lab → · Contrast checker → · Palette generator →

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