#3E6517#3E6517

#3E6517 is a mid, moderate yellow-green. Relative luminance 0.104; OKLCH L 46.1% C 0.115 H 132.7°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#3E6517
RGBrgb(62, 101, 23)
HSLhsl(90, 63%, 24%)
HSVhsv(90, 77%, 40%)
CMYKcmyk(38.6%, 0%, 77.2%, 60.4%)
CIE-LABlab(38.54, -27.57, 37.50)
CIE-LCHlch(38.54, 46.55, 126.32°)
OKLaboklab(46.09% -0.0776 0.0842)
OKLCHoklch(46.09% 0.115 132.7)
XYZxyz(6.7948, 10.3931, 2.4585)
Luminance0.1039 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E6517 #3E1765
analogous
#656517 #3E6517 #176517
triadic
#3E6517 #173E65 #65173E
tetradic
#3E6517 #176565 #3E1765 #651717
square
#3E6517 #176565 #3E1765 #651717
split-complementary
#3E6517 #171765 #651765
monochromatic
#0F1906 #1F330C #3E6517 #5D9722 #7BC92E

Accessibility & contrast

On white

6.82
#3E6517 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#3E6517 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E6517
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E6517#FFFFFF#000000##FFFFFF
##3E65171.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695D08
Deuteranopia (green-blind)
#645A1E
Tritanopia (blue-blind)
#3F6156
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3e6517;
/* rgb */ color: rgb(62, 101, 23);
/* oklch */ color: oklch(46.1% 0.115 132.7);
Tailwind
colors: {
  custom: {
    50: '#77915a',
    500: '#3e6517',
    950: '#000000',
  },
}
SCSS
$custom: #3e6517;
$custom-light: #77915a;
$custom-dark: #000000;
JSON
{
  "hex": "#3e6517",
  "rgb": {
    "r": 62,
    "g": 101,
    "b": 23
  },
  "hsl": {
    "h": 90,
    "s": 62.903,
    "l": 24.314
  },
  "oklch": {
    "l": 0.46089,
    "c": 0.11451,
    "h": 132.7
  },
  "luminance": 0.10393
}

Semantic roles & 50–950 ramp

primary
#3E6517
secondary
#6C3C9B
accent
#42E694
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090C04
muted
#7B7D79

Preview Lab

Preview with #3E6517

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

Preview Lab → · Contrast checker → · Palette generator →

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