#3E6717#3E6717

#3E6717 is a mid, moderate yellow-green. Relative luminance 0.108; OKLCH L 46.6% C 0.117 H 133.1°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#3E6717
RGBrgb(62, 103, 23)
HSLhsl(91, 63%, 25%)
HSVhsv(91, 78%, 40%)
CMYKcmyk(39.8%, 0%, 77.7%, 59.6%)
CIE-LABlab(39.22, -28.51, 38.18)
CIE-LCHlch(39.22, 47.65, 126.75°)
OKLaboklab(46.64% -0.0802 0.0856)
OKLCHoklch(46.64% 0.117 133.1)
XYZxyz(6.9914, 10.7862, 2.5240)
Luminance0.1079 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E6717 #401767
analogous
#666717 #3E6717 #176718
triadic
#3E6717 #173E67 #67173E
tetradic
#3E6717 #176667 #401767 #671817
square
#3E6717 #176667 #401767 #671817
split-complementary
#3E6717 #181767 #671766
monochromatic
#0F1906 #20350C #3E6717 #5C9922 #7ACB2D

Accessibility & contrast

On white

6.65
#3E6717 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#3E6717 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E6717
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E6717#FFFFFF#000000##FFFFFF
##3E67171.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E08
Deuteranopia (green-blind)
#665B1F
Tritanopia (blue-blind)
#3E6358
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #3e6717;
/* rgb */ color: rgb(62, 103, 23);
/* oklch */ color: oklch(46.6% 0.117 133.1);
Tailwind
colors: {
  custom: {
    50: '#77925a',
    500: '#3e6717',
    950: '#000000',
  },
}
SCSS
$custom: #3e6717;
$custom-light: #77925a;
$custom-dark: #000000;
JSON
{
  "hex": "#3e6717",
  "rgb": {
    "r": 62,
    "g": 103,
    "b": 23
  },
  "hsl": {
    "h": 90.75,
    "s": 63.492,
    "l": 24.706
  },
  "oklch": {
    "l": 0.46644,
    "c": 0.11728,
    "h": 133.1
  },
  "luminance": 0.10786
}

Semantic roles & 50–950 ramp

primary
#3E6717
secondary
#6E3D9D
accent
#41E796
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #3E6717

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

Preview Lab → · Contrast checker → · Palette generator →

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