#3D6612#3D6612

#3D6612 is a mid, moderate yellow-green. Relative luminance 0.105; OKLCH L 46.3% C 0.120 H 132.8°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#3D6612
RGBrgb(61, 102, 18)
HSLhsl(89, 70%, 24%)
HSVhsv(89, 82%, 40%)
CMYKcmyk(40.2%, 0%, 82.4%, 60%)
CIE-LABlab(38.79, -28.76, 39.60)
CIE-LCHlch(38.79, 48.94, 125.99°)
OKLaboklab(46.27% -0.0812 0.0878)
OKLCHoklch(46.27% 0.12 132.8)
XYZxyz(6.7849, 10.5382, 2.2487)
Luminance0.1054 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D6612 #3B1266
analogous
#666512 #3D6612 #136612
triadic
#3D6612 #123D66 #66123D
tetradic
#3D6612 #126665 #3B1266 #661213
square
#3D6612 #126665 #3B1266 #661213
split-complementary
#3D6612 #121366 #651266
monochromatic
#101A05 #1E3209 #3D6612 #5C9A1B #7BCE24

Accessibility & contrast

On white

6.76
#3D6612 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#3D6612 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D6612
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D6612#FFFFFF#000000##FFFFFF
##3D66121.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5D00
Deuteranopia (green-blind)
#655A1B
Tritanopia (blue-blind)
#3D6256
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #3d6612;
/* rgb */ color: rgb(61, 102, 18);
/* oklch */ color: oklch(46.3% 0.120 132.8);
Tailwind
colors: {
  custom: {
    50: '#779258',
    500: '#3d6612',
    950: '#000000',
  },
}
SCSS
$custom: #3d6612;
$custom-light: #779258;
$custom-dark: #000000;
JSON
{
  "hex": "#3d6612",
  "rgb": {
    "r": 61,
    "g": 102,
    "b": 18
  },
  "hsl": {
    "h": 89.286,
    "s": 70,
    "l": 23.529
  },
  "oklch": {
    "l": 0.46271,
    "c": 0.11953,
    "h": 132.8
  },
  "luminance": 0.10539
}

Semantic roles & 50–950 ramp

primary
#3D6612
secondary
#69369E
accent
#3BED92
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #3D6612

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

Preview Lab → · Contrast checker → · Palette generator →

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