#3E6817#3E6817

#3E6817 is a mid, moderate yellow-green. Relative luminance 0.110; OKLCH L 46.9% C 0.119 H 133.3°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#3E6817
RGBrgb(62, 104, 23)
HSLhsl(91, 64%, 25%)
HSVhsv(91, 78%, 41%)
CMYKcmyk(40.4%, 0%, 77.9%, 59.2%)
CIE-LABlab(39.56, -28.98, 38.51)
CIE-LCHlch(39.56, 48.20, 126.96°)
OKLaboklab(46.92% -0.0814 0.0863)
OKLCHoklch(46.92% 0.119 133.3)
XYZxyz(7.0915, 10.9863, 2.5574)
Luminance0.1099 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3E6817 #411768
analogous
#676817 #3E6817 #176818
triadic
#3E6817 #173E68 #68173E
tetradic
#3E6817 #176768 #411768 #681817
square
#3E6817 #176768 #411768 #681817
split-complementary
#3E6817 #181768 #681767
monochromatic
#0F1906 #20360C #3E6817 #5C9A22 #7ACC2D

Accessibility & contrast

On white

6.57
#3E6817 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#3E6817 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3E6817
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3E6817#FFFFFF#000000##FFFFFF
##3E68171.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F07
Deuteranopia (green-blind)
#675C1F
Tritanopia (blue-blind)
#3E6458
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3e6817;
/* rgb */ color: rgb(62, 104, 23);
/* oklch */ color: oklch(46.9% 0.119 133.3);
Tailwind
colors: {
  custom: {
    50: '#77935a',
    500: '#3e6817',
    950: '#000000',
  },
}
SCSS
$custom: #3e6817;
$custom-light: #77935a;
$custom-dark: #000000;
JSON
{
  "hex": "#3e6817",
  "rgb": {
    "r": 62,
    "g": 104,
    "b": 23
  },
  "hsl": {
    "h": 91.111,
    "s": 63.78,
    "l": 24.902
  },
  "oklch": {
    "l": 0.46922,
    "c": 0.11866,
    "h": 133.3
  },
  "luminance": 0.10987
}

Semantic roles & 50–950 ramp

primary
#3E6817
secondary
#6F3D9E
accent
#41E797
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #3E6817

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

Preview Lab → · Contrast checker → · Palette generator →

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