#397852#397852

#397852 is a mid, moderate green. Relative luminance 0.149; OKLCH L 52.0% C 0.089 H 155.1°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#397852
RGBrgb(57, 120, 82)
HSLhsl(144, 36%, 35%)
HSVhsv(144, 53%, 47%)
CMYKcmyk(52.5%, 0%, 31.7%, 52.9%)
CIE-LABlab(45.51, -29.68, 14.82)
CIE-LCHlch(45.51, 33.17, 153.46°)
OKLaboklab(51.99% -0.081 0.0375)
OKLCHoklch(51.99% 0.089 155.1)
XYZxyz(9.9261, 14.9112, 10.3361)
Luminance0.1491 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397852 #78395F
analogous
#3F7839 #397852 #397872
triadic
#397852 #523978 #785239
tetradic
#397852 #393F78 #78395F #787239
square
#397852 #393F78 #78395F #787239
split-complementary
#397852 #723978 #78393F
monochromatic
#122519 #254F36 #397852 #4DA16E #70BB8E

Accessibility & contrast

On white

5.27
#397852 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#397852 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397852
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397852#FFFFFF#000000##FFFFFF
##3978521.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#787050
Deuteranopia (green-blind)
#6F6954
Tritanopia (blue-blind)
#29776E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #397852;
/* rgb */ color: rgb(57, 120, 82);
/* oklch */ color: oklch(52.0% 0.089 155.1);
Tailwind
colors: {
  custom: {
    50: '#749f82',
    500: '#397852',
    950: '#000000',
  },
}
SCSS
$custom: #397852;
$custom-light: #749f82;
$custom-dark: #000000;
JSON
{
  "hex": "#397852",
  "rgb": {
    "r": 57,
    "g": 120,
    "b": 82
  },
  "hsl": {
    "h": 143.81,
    "s": 35.593,
    "l": 34.706
  },
  "oklch": {
    "l": 0.5199,
    "c": 0.0893,
    "h": 155.1
  },
  "luminance": 0.14912
}

Semantic roles & 50–950 ramp

primary
#397852
secondary
#A4688D
accent
#5C9FCC
background
#F7F9F8
surface
#EDF2EF
border
#C8CCCA
text
#080E0A
muted
#7B7E7C

Preview Lab

Preview with #397852

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

Preview Lab → · Contrast checker → · Palette generator →

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