#3E7B28#3E7B28

#3E7B28 is a mid, vivid green. Relative luminance 0.153; OKLCH L 52.3% C 0.133 H 138.5°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#3E7B28
RGBrgb(62, 123, 40)
HSLhsl(104, 51%, 32%)
HSVhsv(104, 67%, 48%)
CMYKcmyk(49.6%, 0%, 67.5%, 51.8%)
CIE-LABlab(46.10, -36.02, 38.07)
CIE-LCHlch(46.10, 52.41, 133.41°)
OKLaboklab(52.33% -0.0992 0.0878)
OKLCHoklch(52.33% 0.133 138.5)
XYZxyz(9.4522, 15.3426, 4.4704)
Luminance0.1534 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E7B28 #65287B
analogous
#687B28 #3E7B28 #287B3B
triadic
#3E7B28 #283E7B #7B283E
tetradic
#3E7B28 #28687B #65287B #7B3B28
square
#3E7B28 #28687B #65287B #7B3B28
split-complementary
#3E7B28 #3B287B #7B2868
monochromatic
#0F1F0A #274D19 #3E7B28 #55A937 #74C856

Accessibility & contrast

On white

5.16
#3E7B28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#3E7B28 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E7B28
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E7B28#FFFFFF#000000##FFFFFF
##3E7B281.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7F701D
Deuteranopia (green-blind)
#776B2F
Tritanopia (blue-blind)
#39776A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #3e7b28;
/* rgb */ color: rgb(62, 123, 40);
/* oklch */ color: oklch(52.3% 0.133 138.5);
Tailwind
colors: {
  custom: {
    50: '#79a266',
    500: '#3e7b28',
    950: '#000000',
  },
}
SCSS
$custom: #3e7b28;
$custom-light: #79a266;
$custom-dark: #000000;
JSON
{
  "hex": "#3e7b28",
  "rgb": {
    "r": 62,
    "g": 123,
    "b": 40
  },
  "hsl": {
    "h": 104.096,
    "s": 50.92,
    "l": 31.961
  },
  "oklch": {
    "l": 0.52327,
    "c": 0.13251,
    "h": 138.5
  },
  "luminance": 0.15343
}

Semantic roles & 50–950 ramp

primary
#3E7B28
secondary
#9552AD
accent
#4DDAB5
background
#F7FAF6
surface
#EEF3EB
border
#C9CDC6
text
#090F06
muted
#7B7F7A

Preview Lab

Preview with #3E7B28

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

Preview Lab → · Contrast checker → · Palette generator →

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