#3E6617#3E6617

#3E6617 is a mid, moderate yellow-green. Relative luminance 0.106; OKLCH L 46.4% C 0.116 H 132.9°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#3E6617
RGBrgb(62, 102, 23)
HSLhsl(90, 63%, 25%)
HSVhsv(90, 77%, 40%)
CMYKcmyk(39.2%, 0%, 77.5%, 60%)
CIE-LABlab(38.88, -28.04, 37.84)
CIE-LCHlch(38.88, 47.10, 126.54°)
OKLaboklab(46.37% -0.0789 0.0849)
OKLCHoklch(46.37% 0.116 132.9)
XYZxyz(6.8925, 10.5884, 2.4911)
Luminance0.1059 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E6617 #3F1766
analogous
#666617 #3E6617 #176618
triadic
#3E6617 #173E66 #66173E
tetradic
#3E6617 #176666 #3F1766 #661817
square
#3E6617 #176666 #3F1766 #661817
split-complementary
#3E6617 #181766 #661766
monochromatic
#0F1906 #20340C #3E6617 #5C9822 #7BCA2E

Accessibility & contrast

On white

6.74
#3E6617 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#3E6617 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E6617
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E6617#FFFFFF#000000##FFFFFF
##3E66171.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5E08
Deuteranopia (green-blind)
#655A1F
Tritanopia (blue-blind)
#3E6257
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3e6617;
/* rgb */ color: rgb(62, 102, 23);
/* oklch */ color: oklch(46.4% 0.116 132.9);
Tailwind
colors: {
  custom: {
    50: '#77925a',
    500: '#3e6617',
    950: '#000000',
  },
}
SCSS
$custom: #3e6617;
$custom-light: #77925a;
$custom-dark: #000000;
JSON
{
  "hex": "#3e6617",
  "rgb": {
    "r": 62,
    "g": 102,
    "b": 23
  },
  "hsl": {
    "h": 90.38,
    "s": 63.2,
    "l": 24.51
  },
  "oklch": {
    "l": 0.46367,
    "c": 0.1159,
    "h": 132.9
  },
  "luminance": 0.10589
}

Semantic roles & 50–950 ramp

primary
#3E6617
secondary
#6D3C9C
accent
#42E695
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #3E6617

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

Preview Lab → · Contrast checker → · Palette generator →

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