#3D7828#3D7828

#3D7828 is a mid, vivid green. Relative luminance 0.146; OKLCH L 51.5% C 0.129 H 138.5°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#3D7828
RGBrgb(61, 120, 40)
HSLhsl(104, 50%, 31%)
HSVhsv(104, 67%, 47%)
CMYKcmyk(49.2%, 0%, 66.7%, 52.9%)
CIE-LABlab(45.05, -35.05, 36.91)
CIE-LCHlch(45.05, 50.90, 133.52°)
OKLaboklab(51.45% -0.0965 0.0854)
OKLCHoklch(51.45% 0.129 138.5)
XYZxyz(9.0236, 14.5776, 4.3453)
Luminance0.1458 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D7828 #632878
analogous
#657828 #3D7828 #28783B
triadic
#3D7828 #283D78 #78283D
tetradic
#3D7828 #286578 #632878 #783B28
square
#3D7828 #286578 #632878 #783B28
split-complementary
#3D7828 #3B2878 #782865
monochromatic
#0E1C09 #264A19 #3D7828 #54A637 #72C654

Accessibility & contrast

On white

5.36
#3D7828 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#3D7828 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D7828
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D7828#FFFFFF#000000##FFFFFF
##3D78281.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3d7828;
/* rgb */ color: rgb(61, 120, 40);
/* oklch */ color: oklch(51.5% 0.129 138.5);
Tailwind
colors: {
  custom: {
    50: '#789f66',
    500: '#3d7828',
    950: '#000000',
  },
}
SCSS
$custom: #3d7828;
$custom-light: #789f66;
$custom-dark: #000000;
JSON
{
  "hex": "#3d7828",
  "rgb": {
    "r": 61,
    "g": 120,
    "b": 40
  },
  "hsl": {
    "h": 104.25,
    "s": 50,
    "l": 31.373
  },
  "oklch": {
    "l": 0.51453,
    "c": 0.12887,
    "h": 138.5
  },
  "luminance": 0.14578
}

Semantic roles & 50–950 ramp

primary
#3D7828
secondary
#9352AA
accent
#4EDAB5
background
#F7F9F6
surface
#EEF2EB
border
#C9CCC6
text
#090E06
muted
#7B7E7A

Preview Lab

Preview with #3D7828

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

Preview Lab → · Contrast checker → · Palette generator →

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