#397252#397252

#397252 is a mid, moderate green. Relative luminance 0.135; OKLCH L 50.4% C 0.080 H 157.3°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#397252
RGBrgb(57, 114, 82)
HSLhsl(146, 33%, 34%)
HSVhsv(146, 50%, 45%)
CMYKcmyk(50%, 0%, 28.1%, 55.3%)
CIE-LABlab(43.53, -26.78, 12.09)
CIE-LCHlch(43.53, 29.38, 155.71°)
OKLaboklab(50.37% -0.0735 0.0308)
OKLCHoklch(50.37% 0.08 157.3)
XYZxyz(9.2269, 13.5130, 10.1030)
Luminance0.1351 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397252 #723959
analogous
#3C7239 #397252 #39726E
triadic
#397252 #523972 #725239
tetradic
#397252 #393C72 #723959 #726E39
square
#397252 #393C72 #723959 #726E39
split-complementary
#397252 #6E3972 #72393C
monochromatic
#102017 #254935 #397252 #4D9B6F #6FB78E

Accessibility & contrast

On white

5.67
#397252 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#397252 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397252
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397252#FFFFFF#000000##FFFFFF
##3972521.005.673.705.67
#FFFFFF5.671.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716A50
Deuteranopia (green-blind)
#696454
Tritanopia (blue-blind)
#2A7169
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #397252;
/* rgb */ color: rgb(57, 114, 82);
/* oklch */ color: oklch(50.4% 0.080 157.3);
Tailwind
colors: {
  custom: {
    50: '#739b82',
    500: '#397252',
    950: '#000000',
  },
}
SCSS
$custom: #397252;
$custom-light: #739b82;
$custom-dark: #000000;
JSON
{
  "hex": "#397252",
  "rgb": {
    "r": 57,
    "g": 114,
    "b": 82
  },
  "hsl": {
    "h": 146.316,
    "s": 33.333,
    "l": 33.529
  },
  "oklch": {
    "l": 0.50372,
    "c": 0.07967,
    "h": 157.3
  },
  "luminance": 0.13514
}

Semantic roles & 50–950 ramp

primary
#397252
secondary
#A06787
accent
#5E9AC9
background
#F7F9F7
surface
#EDF2EE
border
#C8CCC9
text
#080E0A
muted
#7B7E7C

Preview Lab

Preview with #397252

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

Preview Lab → · Contrast checker → · Palette generator →

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