#3F7838#3F7838

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

Color values

HEX#3F7838
RGBrgb(63, 120, 56)
HSLhsl(113, 36%, 35%)
HSVhsv(113, 53%, 47%)
CMYKcmyk(47.5%, 0%, 53.3%, 52.9%)
CIE-LABlab(45.32, -32.45, 29.23)
CIE-LCHlch(45.32, 43.68, 137.99°)
OKLaboklab(51.76% -0.0886 0.0702)
OKLCHoklch(51.76% 0.113 141.6)
XYZxyz(9.4798, 14.7746, 6.0929)
Luminance0.1477 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7838 #713878
analogous
#5F7838 #3F7838 #387851
triadic
#3F7838 #383F78 #78383F
tetradic
#3F7838 #385F78 #713878 #785138
square
#3F7838 #385F78 #713878 #785138
split-complementary
#3F7838 #513878 #78385F
monochromatic
#132511 #294E25 #3F7838 #55A24B #77BC6F

Accessibility & contrast

On white

5.31
#3F7838 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#3F7838 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3F7838#FFFFFF#000000##FFFFFF
##3F78381.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6E32
Deuteranopia (green-blind)
#73693C
Tritanopia (blue-blind)
#397569
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #3f7838;
/* rgb */ color: rgb(63, 120, 56);
/* oklch */ color: oklch(51.8% 0.113 141.6);
Tailwind
colors: {
  custom: {
    50: '#789f70',
    500: '#3f7838',
    950: '#000000',
  },
}
SCSS
$custom: #3f7838;
$custom-light: #789f70;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7838",
  "rgb": {
    "r": 63,
    "g": 120,
    "b": 56
  },
  "hsl": {
    "h": 113.438,
    "s": 36.364,
    "l": 34.51
  },
  "oklch": {
    "l": 0.51762,
    "c": 0.11304,
    "h": 141.6
  },
  "luminance": 0.14775
}

Semantic roles & 50–950 ramp

primary
#3F7838
secondary
#9E67A5
accent
#5BCCC0
background
#F7F9F6
surface
#EEF2EC
border
#C9CCC7
text
#090E07
muted
#7B7E7A

Preview Lab

Preview with #3F7838

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

Preview Lab → · Contrast checker → · Palette generator →

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