#397835#397835

#397835 is a mid, moderate green. Relative luminance 0.146; OKLCH L 51.4% C 0.119 H 142.5°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#397835
RGBrgb(57, 120, 53)
HSLhsl(116, 39%, 34%)
HSVhsv(116, 56%, 47%)
CMYKcmyk(52.5%, 0%, 55.8%, 52.9%)
CIE-LABlab(45.02, -34.75, 30.39)
CIE-LCHlch(45.02, 46.17, 138.83°)
OKLaboklab(51.43% -0.0947 0.0726)
OKLCHoklch(51.43% 0.119 142.5)
XYZxyz(9.0460, 14.5592, 5.7010)
Luminance0.1456 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#397835 #743578
analogous
#5B7835 #397835 #357853
triadic
#397835 #353978 #783539
tetradic
#397835 #355B78 #743578 #785335
square
#397835 #355B78 #743578 #785335
split-complementary
#397835 #533578 #78355B
monochromatic
#112310 #254E22 #397835 #4DA248 #6FBD6A

Accessibility & contrast

On white

5.37
#397835 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#397835 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #397835
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##397835#FFFFFF#000000##FFFFFF
##3978351.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6E2F
Deuteranopia (green-blind)
#72683A
Tritanopia (blue-blind)
#317569
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #397835;
/* rgb */ color: rgb(57, 120, 53);
/* oklch */ color: oklch(51.4% 0.119 142.5);
Tailwind
colors: {
  custom: {
    50: '#759f6e',
    500: '#397835',
    950: '#000000',
  },
}
SCSS
$custom: #397835;
$custom-light: #759f6e;
$custom-dark: #000000;
JSON
{
  "hex": "#397835",
  "rgb": {
    "r": 57,
    "g": 120,
    "b": 53
  },
  "hsl": {
    "h": 116.418,
    "s": 38.728,
    "l": 33.922
  },
  "oklch": {
    "l": 0.51432,
    "c": 0.11932,
    "h": 142.5
  },
  "luminance": 0.1456
}

Semantic roles & 50–950 ramp

primary
#397835
secondary
#A263A6
accent
#59CFC8
background
#F7F9F6
surface
#EDF2EC
border
#C8CCC7
text
#090E07
muted
#7B7E7A

Preview Lab

Preview with #397835

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

Preview Lab → · Contrast checker → · Palette generator →

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