#3B7828#3B7828

#3B7828 is a mid, vivid green. Relative luminance 0.145; OKLCH L 51.4% C 0.130 H 139.1°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#3B7828
RGBrgb(59, 120, 40)
HSLhsl(106, 50%, 31%)
HSVhsv(106, 67%, 47%)
CMYKcmyk(50.8%, 0%, 66.7%, 52.9%)
CIE-LABlab(44.96, -35.70, 36.79)
CIE-LCHlch(44.96, 51.26, 134.14°)
OKLaboklab(51.36% -0.0982 0.0851)
OKLCHoklch(51.36% 0.13 139.1)
XYZxyz(8.9028, 14.5153, 4.3397)
Luminance0.1452 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3B7828 #652878
analogous
#637828 #3B7828 #28783D
triadic
#3B7828 #283B78 #78283B
tetradic
#3B7828 #286378 #652878 #783D28
square
#3B7828 #286378 #652878 #783D28
split-complementary
#3B7828 #3D2878 #782863
monochromatic
#0E1C09 #244A19 #3B7828 #52A637 #6FC654

Accessibility & contrast

On white

5.38
#3B7828 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#3B7828 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3B7828
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3B7828#FFFFFF#000000##FFFFFF
##3B78281.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7C6E1E
Deuteranopia (green-blind)
#73682F
Tritanopia (blue-blind)
#367467
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #3b7828;
/* rgb */ color: rgb(59, 120, 40);
/* oklch */ color: oklch(51.4% 0.130 139.1);
Tailwind
colors: {
  custom: {
    50: '#779f66',
    500: '#3b7828',
    950: '#000000',
  },
}
SCSS
$custom: #3b7828;
$custom-light: #779f66;
$custom-dark: #000000;
JSON
{
  "hex": "#3b7828",
  "rgb": {
    "r": 59,
    "g": 120,
    "b": 40
  },
  "hsl": {
    "h": 105.75,
    "s": 50,
    "l": 31.373
  },
  "oklch": {
    "l": 0.51358,
    "c": 0.12994,
    "h": 139.1
  },
  "luminance": 0.14516
}

Semantic roles & 50–950 ramp

primary
#3B7828
secondary
#9552AA
accent
#4EDAB8
background
#F7F9F6
surface
#EDF2EB
border
#C8CCC6
text
#090E06
muted
#7B7E7A

Preview Lab

Preview with #3B7828

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

Preview Lab → · Contrast checker → · Palette generator →

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