#397849#397849

#397849 is a mid, moderate green. Relative luminance 0.148; OKLCH L 51.8% C 0.099 H 150.0°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#397849
RGBrgb(57, 120, 73)
HSLhsl(135, 36%, 35%)
HSVhsv(135, 53%, 47%)
CMYKcmyk(52.5%, 0%, 39.2%, 52.9%)
CIE-LABlab(45.34, -31.48, 19.78)
CIE-LCHlch(45.34, 37.18, 147.86°)
OKLaboklab(51.79% -0.0855 0.0493)
OKLCHoklch(51.79% 0.099 150)
XYZxyz(9.6058, 14.7831, 8.6493)
Luminance0.1478 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397849 #783968
analogous
#497839 #397849 #397869
triadic
#397849 #493978 #784939
tetradic
#397849 #394978 #783968 #786939
square
#397849 #394978 #783968 #786939
split-complementary
#397849 #693978 #783949
monochromatic
#122517 #254F30 #397849 #4DA162 #70BB83

Accessibility & contrast

On white

5.31
#397849 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#397849 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397849
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397849#FFFFFF#000000##FFFFFF
##3978491.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#796F46
Deuteranopia (green-blind)
#70694C
Tritanopia (blue-blind)
#2C766C
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #397849;
/* rgb */ color: rgb(57, 120, 73);
/* oklch */ color: oklch(51.8% 0.099 150.0);
Tailwind
colors: {
  custom: {
    50: '#749f7c',
    500: '#397849',
    950: '#000000',
  },
}
SCSS
$custom: #397849;
$custom-light: #749f7c;
$custom-dark: #000000;
JSON
{
  "hex": "#397849",
  "rgb": {
    "r": 57,
    "g": 120,
    "b": 73
  },
  "hsl": {
    "h": 135.238,
    "s": 35.593,
    "l": 34.706
  },
  "oklch": {
    "l": 0.51788,
    "c": 0.09869,
    "h": 150
  },
  "luminance": 0.14784
}

Semantic roles & 50–950 ramp

primary
#397849
secondary
#A46895
accent
#5CAFCC
background
#F7F9F7
surface
#EDF2EE
border
#C8CCC9
text
#080E09
muted
#7B7E7B

Preview Lab

Preview with #397849

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

Preview Lab → · Contrast checker → · Palette generator →

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