#3F7845#3F7845

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

Color values

HEX#3F7845
RGBrgb(63, 120, 69)
HSLhsl(126, 31%, 36%)
HSVhsv(126, 48%, 47%)
CMYKcmyk(47.5%, 0%, 42.5%, 52.9%)
CIE-LABlab(45.52, -30.41, 22.34)
CIE-LCHlch(45.52, 37.73, 143.69°)
OKLaboklab(51.99% -0.0826 0.0552)
OKLCHoklch(51.99% 0.099 146.2)
XYZxyz(9.8400, 14.9187, 7.9902)
Luminance0.1492 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7845 #783F72
analogous
#55783F #3F7845 #3F7861
triadic
#3F7845 #453F78 #78453F
tetradic
#3F7845 #3F5578 #783F72 #78613F
square
#3F7845 #3F5578 #783F72 #78613F
split-complementary
#3F7845 #613F78 #783F55
monochromatic
#152817 #2A502E #3F7845 #54A05C #79B980

Accessibility & contrast

On white

5.27
#3F7845 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#3F7845 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3F7845#FFFFFF#000000##FFFFFF
##3F78451.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)
#7A6F41
Deuteranopia (green-blind)
#716A48
Tritanopia (blue-blind)
#36766B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #3f7845;
/* rgb */ color: rgb(63, 120, 69);
/* oklch */ color: oklch(52.0% 0.099 146.2);
Tailwind
colors: {
  custom: {
    50: '#789f79',
    500: '#3f7845',
    950: '#000000',
  },
}
SCSS
$custom: #3f7845;
$custom-light: #789f79;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7845",
  "rgb": {
    "r": 63,
    "g": 120,
    "b": 69
  },
  "hsl": {
    "h": 126.316,
    "s": 31.148,
    "l": 35.882
  },
  "oklch": {
    "l": 0.51989,
    "c": 0.09941,
    "h": 146.2
  },
  "luminance": 0.14919
}

Semantic roles & 50–950 ramp

primary
#3F7845
secondary
#A3709E
accent
#60BDC7
background
#F7F9F7
surface
#EDF2ED
border
#C8CCC8
text
#090E09
muted
#7B7E7B

Preview Lab

Preview with #3F7845

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

Preview Lab → · Contrast checker → · Palette generator →

#3F7845 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva