#3E6816#3E6816

#3E6816 is a mid, moderate yellow-green. Relative luminance 0.110; OKLCH L 46.9% C 0.119 H 133.2°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#3E6816
RGBrgb(62, 104, 22)
HSLhsl(91, 65%, 25%)
HSVhsv(91, 79%, 41%)
CMYKcmyk(40.4%, 0%, 78.8%, 59.2%)
CIE-LABlab(39.55, -29.05, 38.89)
CIE-LCHlch(39.55, 48.54, 126.76°)
OKLaboklab(46.91% -0.0817 0.0869)
OKLCHoklch(46.91% 0.119 133.2)
XYZxyz(7.0816, 10.9824, 2.5056)
Luminance0.1098 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E6816 #401668
analogous
#676816 #3E6816 #166817
triadic
#3E6816 #163E68 #68163E
tetradic
#3E6816 #166768 #401668 #681716
square
#3E6816 #166768 #401668 #681716
split-complementary
#3E6816 #171668 #681667
monochromatic
#0F1905 #20350B #3E6816 #5C9B21 #7ACD2B

Accessibility & contrast

On white

6.57
#3E6816 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#3E6816 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E6816
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E6816#FFFFFF#000000##FFFFFF
##3E68161.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F05
Deuteranopia (green-blind)
#675C1E
Tritanopia (blue-blind)
#3E6458
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3e6816;
/* rgb */ color: rgb(62, 104, 22);
/* oklch */ color: oklch(46.9% 0.119 133.2);
Tailwind
colors: {
  custom: {
    50: '#77935a',
    500: '#3e6816',
    950: '#000000',
  },
}
SCSS
$custom: #3e6816;
$custom-light: #77935a;
$custom-dark: #000000;
JSON
{
  "hex": "#3e6816",
  "rgb": {
    "r": 62,
    "g": 104,
    "b": 22
  },
  "hsl": {
    "h": 90.732,
    "s": 65.079,
    "l": 24.706
  },
  "oklch": {
    "l": 0.46914,
    "c": 0.1193,
    "h": 133.2
  },
  "luminance": 0.10983
}

Semantic roles & 50–950 ramp

primary
#3E6816
secondary
#6E3B9F
accent
#40E896
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #3E6816

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

Preview Lab → · Contrast checker → · Palette generator →

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