#3E7916#3E7916

#3E7916 is a mid, vivid yellow-green. Relative luminance 0.148; OKLCH L 51.6% C 0.142 H 136.0°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#3E7916
RGBrgb(62, 121, 22)
HSLhsl(96, 69%, 28%)
HSVhsv(96, 82%, 47%)
CMYKcmyk(48.8%, 0%, 81.8%, 52.5%)
CIE-LABlab(45.30, -36.59, 44.39)
CIE-LCHlch(45.30, 57.52, 129.50°)
OKLaboklab(51.63% -0.102 0.0984)
OKLCHoklch(51.63% 0.142 136)
XYZxyz(8.9686, 14.7562, 3.1346)
Luminance0.1476 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E7916 #511679
analogous
#6F7916 #3E7916 #167920
triadic
#3E7916 #163E79 #79163E
tetradic
#3E7916 #166F79 #511679 #792016
square
#3E7916 #166F79 #511679 #792016
split-complementary
#3E7916 #201679 #79166F
monochromatic
#0D1A05 #23450D #3E7916 #59AD1F #74D930

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3E7916#FFFFFF#000000##FFFFFF
##3E79161.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)
#7E6E00
Deuteranopia (green-blind)
#766921
Tritanopia (blue-blind)
#3B7467
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #3e7916;
/* rgb */ color: rgb(62, 121, 22);
/* oklch */ color: oklch(51.6% 0.142 136.0);
Tailwind
colors: {
  custom: {
    50: '#7aa05c',
    500: '#3e7916',
    950: '#000000',
  },
}
SCSS
$custom: #3e7916;
$custom-light: #7aa05c;
$custom-dark: #000000;
JSON
{
  "hex": "#3e7916",
  "rgb": {
    "r": 62,
    "g": 121,
    "b": 22
  },
  "hsl": {
    "h": 95.758,
    "s": 69.231,
    "l": 28.039
  },
  "oklch": {
    "l": 0.51627,
    "c": 0.14178,
    "h": 136
  },
  "luminance": 0.14757
}

Semantic roles & 50–950 ramp

primary
#3E7916
secondary
#803DAE
accent
#3CECA5
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0F04
muted
#7C7E79

Preview Lab

Preview with #3E7916

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

Preview Lab → · Contrast checker → · Palette generator →

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