#3E6917#3E6917

#3E6917 is a mid, vivid yellow-green. Relative luminance 0.112; OKLCH L 47.2% C 0.120 H 133.6°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#3E6917
RGBrgb(62, 105, 23)
HSLhsl(91, 64%, 25%)
HSVhsv(91, 78%, 41%)
CMYKcmyk(41%, 0%, 78.1%, 58.8%)
CIE-LABlab(39.90, -29.44, 38.85)
CIE-LCHlch(39.90, 48.74, 127.16°)
OKLaboklab(47.2% -0.0827 0.087)
OKLCHoklch(47.2% 0.12 133.6)
XYZxyz(7.1927, 11.1888, 2.5911)
Luminance0.1119 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E6917 #421769
analogous
#676917 #3E6917 #176919
triadic
#3E6917 #173E69 #69173E
tetradic
#3E6917 #176769 #421769 #691917
square
#3E6917 #176769 #421769 #691917
split-complementary
#3E6917 #191769 #691767
monochromatic
#0F1905 #20370C #3E6917 #5C9B22 #79CD2D

Accessibility & contrast

On white

6.49
#3E6917 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#3E6917 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E6917
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E6917#FFFFFF#000000##FFFFFF
##3E69171.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6007
Deuteranopia (green-blind)
#685D1F
Tritanopia (blue-blind)
#3E6559
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #3e6917;
/* rgb */ color: rgb(62, 105, 23);
/* oklch */ color: oklch(47.2% 0.120 133.6);
Tailwind
colors: {
  custom: {
    50: '#77945b',
    500: '#3e6917',
    950: '#000000',
  },
}
SCSS
$custom: #3e6917;
$custom-light: #77945b;
$custom-dark: #000000;
JSON
{
  "hex": "#3e6917",
  "rgb": {
    "r": 62,
    "g": 105,
    "b": 23
  },
  "hsl": {
    "h": 91.463,
    "s": 64.063,
    "l": 25.098
  },
  "oklch": {
    "l": 0.47199,
    "c": 0.12003,
    "h": 133.6
  },
  "luminance": 0.11189
}

Semantic roles & 50–950 ramp

primary
#3E6917
secondary
#703D9F
accent
#41E798
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #3E6917

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

Preview Lab → · Contrast checker → · Palette generator →

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