#3D6012#3D6012

#3D6012 is a dark, moderate yellow-green. Relative luminance 0.094; OKLCH L 44.6% C 0.111 H 131.3°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#3D6012
RGBrgb(61, 96, 18)
HSLhsl(87, 68%, 22%)
HSVhsv(87, 81%, 38%)
CMYKcmyk(36.5%, 0%, 81.3%, 62.4%)
CIE-LABlab(36.75, -25.90, 37.66)
CIE-LCHlch(36.75, 45.70, 124.52°)
OKLaboklab(44.6% -0.0734 0.0837)
OKLCHoklch(44.6% 0.111 131.3)
XYZxyz(6.2165, 9.4013, 2.0592)
Luminance0.0940 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D6012 #351260
analogous
#605C12 #3D6012 #166012
triadic
#3D6012 #123D60 #60123D
tetradic
#3D6012 #12605C #351260 #601216
square
#3D6012 #12605C #351260 #601216
split-complementary
#3D6012 #121660 #5C1260
monochromatic
#101A05 #1C2C08 #3D6012 #5E941C #7EC725

Accessibility & contrast

On white

7.29
#3D6012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#3D6012 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D6012
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D6012#FFFFFF#000000##FFFFFF
##3D60121.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655802
Deuteranopia (green-blind)
#60561A
Tritanopia (blue-blind)
#3E5C51
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #3d6012;
/* rgb */ color: rgb(61, 96, 18);
/* oklch */ color: oklch(44.6% 0.111 131.3);
Tailwind
colors: {
  custom: {
    50: '#768d57',
    500: '#3d6012',
    950: '#000000',
  },
}
SCSS
$custom: #3d6012;
$custom-light: #768d57;
$custom-dark: #000000;
JSON
{
  "hex": "#3d6012",
  "rgb": {
    "r": 61,
    "g": 96,
    "b": 18
  },
  "hsl": {
    "h": 86.923,
    "s": 68.421,
    "l": 22.353
  },
  "oklch": {
    "l": 0.446,
    "c": 0.11134,
    "h": 131.3
  },
  "luminance": 0.09402
}

Semantic roles & 50–950 ramp

primary
#3D6012
secondary
#623698
accent
#3DEB8B
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090C03
muted
#7B7D78

Preview Lab

Preview with #3D6012

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

Preview Lab → · Contrast checker → · Palette generator →

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