#3D6817#3D6817

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

Color values

HEX#3D6817
RGBrgb(61, 104, 23)
HSLhsl(92, 64%, 25%)
HSVhsv(92, 78%, 41%)
CMYKcmyk(41.3%, 0%, 77.9%, 59.2%)
CIE-LABlab(39.50, -29.36, 38.44)
CIE-LCHlch(39.50, 48.37, 127.37°)
OKLaboklab(46.86% -0.0824 0.0862)
OKLCHoklch(46.86% 0.119 133.7)
XYZxyz(7.0293, 10.9542, 2.5544)
Luminance0.1095 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D6817 #421768
analogous
#666817 #3D6817 #176819
triadic
#3D6817 #173D68 #68173D
tetradic
#3D6817 #176668 #421768 #681917
square
#3D6817 #176668 #421768 #681917
split-complementary
#3D6817 #191768 #681766
monochromatic
#0F1906 #20360C #3D6817 #5A9A22 #78CC2D

Accessibility & contrast

On white

6.58
#3D6817 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#3D6817 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D6817
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D6817#FFFFFF#000000##FFFFFF
##3D68171.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3d6817;
/* rgb */ color: rgb(61, 104, 23);
/* oklch */ color: oklch(46.9% 0.119 133.7);
Tailwind
colors: {
  custom: {
    50: '#77935a',
    500: '#3d6817',
    950: '#000000',
  },
}
SCSS
$custom: #3d6817;
$custom-light: #77935a;
$custom-dark: #000000;
JSON
{
  "hex": "#3d6817",
  "rgb": {
    "r": 61,
    "g": 104,
    "b": 23
  },
  "hsl": {
    "h": 91.852,
    "s": 63.78,
    "l": 24.902
  },
  "oklch": {
    "l": 0.46863,
    "c": 0.11923,
    "h": 133.7
  },
  "luminance": 0.10955
}

Semantic roles & 50–950 ramp

primary
#3D6817
secondary
#703D9E
accent
#41E799
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #3D6817

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

Preview Lab → · Contrast checker → · Palette generator →

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