#3E6417#3E6417

#3E6417 is a mid, moderate yellow-green. Relative luminance 0.102; OKLCH L 45.8% C 0.113 H 132.4°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#3E6417
RGBrgb(62, 100, 23)
HSLhsl(90, 63%, 24%)
HSVhsv(90, 77%, 39%)
CMYKcmyk(38%, 0%, 77%, 60.8%)
CIE-LABlab(38.20, -27.09, 37.17)
CIE-LCHlch(38.20, 45.99, 126.09°)
OKLaboklab(45.81% -0.0763 0.0835)
OKLCHoklch(45.81% 0.113 132.4)
XYZxyz(6.6983, 10.2001, 2.4263)
Luminance0.1020 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E6417 #3D1764
analogous
#646417 #3E6417 #186417
triadic
#3E6417 #173E64 #64173E
tetradic
#3E6417 #176464 #3D1764 #641718
square
#3E6417 #176464 #3D1764 #641718
split-complementary
#3E6417 #171864 #641764
monochromatic
#0F1906 #1F320C #3E6417 #5D9622 #7CC82E

Accessibility & contrast

On white

6.91
#3E6417 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#3E6417 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E6417
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E6417#FFFFFF#000000##FFFFFF
##3E64171.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#685C09
Deuteranopia (green-blind)
#63591E
Tritanopia (blue-blind)
#3F6055
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #3e6417;
/* rgb */ color: rgb(62, 100, 23);
/* oklch */ color: oklch(45.8% 0.113 132.4);
Tailwind
colors: {
  custom: {
    50: '#77905a',
    500: '#3e6417',
    950: '#000000',
  },
}
SCSS
$custom: #3e6417;
$custom-light: #77905a;
$custom-dark: #000000;
JSON
{
  "hex": "#3e6417",
  "rgb": {
    "r": 62,
    "g": 100,
    "b": 23
  },
  "hsl": {
    "h": 89.61,
    "s": 62.602,
    "l": 24.118
  },
  "oklch": {
    "l": 0.45812,
    "c": 0.11312,
    "h": 132.4
  },
  "luminance": 0.102
}

Semantic roles & 50–950 ramp

primary
#3E6417
secondary
#6B3C9A
accent
#42E693
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090C04
muted
#7B7D79

Preview Lab

Preview with #3E6417

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

Preview Lab → · Contrast checker → · Palette generator →

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