#3F7828#3F7828

#3F7828 is a mid, vivid green. Relative luminance 0.146; OKLCH L 51.6% C 0.128 H 137.9°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#3F7828
RGBrgb(63, 120, 40)
HSLhsl(103, 50%, 31%)
HSVhsv(103, 67%, 47%)
CMYKcmyk(47.5%, 0%, 66.7%, 52.9%)
CIE-LABlab(45.14, -34.39, 37.04)
CIE-LCHlch(45.14, 50.54, 132.88°)
OKLaboklab(51.55% -0.0949 0.0856)
OKLCHoklch(51.55% 0.128 137.9)
XYZxyz(9.1491, 14.6423, 4.3512)
Luminance0.1464 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3F7828 #612878
analogous
#677828 #3F7828 #287839
triadic
#3F7828 #283F78 #78283F
tetradic
#3F7828 #286778 #612878 #783928
square
#3F7828 #286778 #612878 #783928
split-complementary
#3F7828 #392878 #782867
monochromatic
#0F1C09 #274A19 #3F7828 #57A637 #75C654

Accessibility & contrast

On white

5.35
#3F7828 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#3F7828 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3F7828
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3F7828#FFFFFF#000000##FFFFFF
##3F78281.005.353.935.35
#FFFFFF5.351.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E1E
Deuteranopia (green-blind)
#74692F
Tritanopia (blue-blind)
#3B7467
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #3f7828;
/* rgb */ color: rgb(63, 120, 40);
/* oklch */ color: oklch(51.6% 0.128 137.9);
Tailwind
colors: {
  custom: {
    50: '#799f66',
    500: '#3f7828',
    950: '#000000',
  },
}
SCSS
$custom: #3f7828;
$custom-light: #799f66;
$custom-dark: #000000;
JSON
{
  "hex": "#3f7828",
  "rgb": {
    "r": 63,
    "g": 120,
    "b": 40
  },
  "hsl": {
    "h": 102.75,
    "s": 50,
    "l": 31.373
  },
  "oklch": {
    "l": 0.51552,
    "c": 0.12779,
    "h": 137.9
  },
  "luminance": 0.14643
}

Semantic roles & 50–950 ramp

primary
#3F7828
secondary
#9152AA
accent
#4EDAB1
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#090E06
muted
#7B7E7A

Preview Lab

Preview with #3F7828

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

Preview Lab → · Contrast checker → · Palette generator →

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