#3D5012#3D5012

#3D5012 is a dark, moderate yellow-green. Relative luminance 0.068; OKLCH L 40.2% C 0.089 H 125.2°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#3D5012
RGBrgb(61, 80, 18)
HSLhsl(78, 63%, 19%)
HSVhsv(78, 78%, 31%)
CMYKcmyk(23.7%, 0%, 77.5%, 68.6%)
CIE-LABlab(31.28, -17.69, 32.32)
CIE-LCHlch(31.28, 36.85, 118.70°)
OKLaboklab(40.16% -0.0511 0.0725)
OKLCHoklch(40.16% 0.089 125.2)
XYZxyz(4.9023, 6.7730, 1.6212)
Luminance0.0677 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D5012 #251250
analogous
#504412 #3D5012 #1E5012
triadic
#3D5012 #123D50 #50123D
tetradic
#3D5012 #125044 #251250 #50121E
square
#3D5012 #125044 #251250 #50121E
split-complementary
#3D5012 #121E50 #441250
monochromatic
#131906 #171E07 #3D5012 #63821D #89B428

Accessibility & contrast

On white

8.92
#3D5012 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#3D5012 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D5012
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D5012#FFFFFF#000000##FFFFFF
##3D50121.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554A08
Deuteranopia (green-blind)
#524917
Tritanopia (blue-blind)
#404C44
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3d5012;
/* rgb */ color: rgb(61, 80, 18);
/* oklch */ color: oklch(40.2% 0.089 125.2);
Tailwind
colors: {
  custom: {
    50: '#758154',
    500: '#3d5012',
    950: '#000000',
  },
}
SCSS
$custom: #3d5012;
$custom-light: #758154;
$custom-dark: #000000;
JSON
{
  "hex": "#3d5012",
  "rgb": {
    "r": 61,
    "g": 80,
    "b": 18
  },
  "hsl": {
    "h": 78.387,
    "s": 63.265,
    "l": 19.216
  },
  "oklch": {
    "l": 0.40161,
    "c": 0.08869,
    "h": 125.2
  },
  "luminance": 0.06773
}

Semantic roles & 50–950 ramp

primary
#3D5012
secondary
#4F3589
accent
#41E674
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#080A03
muted
#7B7C78

Preview Lab

Preview with #3D5012

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

Preview Lab → · Contrast checker → · Palette generator →

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