#3D5212#3D5212

#3D5212 is a dark, moderate yellow-green. Relative luminance 0.071; OKLCH L 40.7% C 0.092 H 126.2°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#3D5212
RGBrgb(61, 82, 18)
HSLhsl(80, 64%, 20%)
HSVhsv(80, 78%, 32%)
CMYKcmyk(25.6%, 0%, 78%, 67.8%)
CIE-LABlab(31.97, -18.77, 33.00)
CIE-LCHlch(31.97, 37.97, 119.63°)
OKLaboklab(40.71% -0.054 0.0739)
OKLCHoklch(40.71% 0.092 126.2)
XYZxyz(5.0510, 7.0703, 1.6707)
Luminance0.0707 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D5212 #271252
analogous
#524712 #3D5212 #1D5212
triadic
#3D5212 #123D52 #52123D
tetradic
#3D5212 #125247 #271252 #52121D
square
#3D5212 #125247 #271252 #52121D
split-complementary
#3D5212 #121D52 #471252
monochromatic
#131906 #182007 #3D5212 #62841D #88B628

Accessibility & contrast

On white

8.70
#3D5212 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#3D5212 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D5212
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D5212#FFFFFF#000000##FFFFFF
##3D52121.008.702.418.70
#FFFFFF8.701.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574C07
Deuteranopia (green-blind)
#544B18
Tritanopia (blue-blind)
#404E46
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3d5212;
/* rgb */ color: rgb(61, 82, 18);
/* oklch */ color: oklch(40.7% 0.092 126.2);
Tailwind
colors: {
  custom: {
    50: '#758255',
    500: '#3d5212',
    950: '#000000',
  },
}
SCSS
$custom: #3d5212;
$custom-light: #758255;
$custom-dark: #000000;
JSON
{
  "hex": "#3d5212",
  "rgb": {
    "r": 61,
    "g": 82,
    "b": 18
  },
  "hsl": {
    "h": 79.688,
    "s": 64,
    "l": 19.608
  },
  "oklch": {
    "l": 0.40713,
    "c": 0.09157,
    "h": 126.2
  },
  "luminance": 0.0707
}

Semantic roles & 50–950 ramp

primary
#3D5212
secondary
#51358B
accent
#41E777
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#080A03
muted
#7B7C78

Preview Lab

Preview with #3D5212

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

Preview Lab → · Contrast checker → · Palette generator →

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