#3D5218#3D5218

#3D5218 is a dark, moderate yellow-green. Relative luminance 0.071; OKLCH L 40.8% C 0.087 H 126.9°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#3D5218
RGBrgb(61, 82, 24)
HSLhsl(82, 55%, 21%)
HSVhsv(82, 71%, 32%)
CMYKcmyk(25.6%, 0%, 70.7%, 67.8%)
CIE-LABlab(32.02, -18.30, 30.34)
CIE-LCHlch(32.02, 35.43, 121.10°)
OKLaboklab(40.77% -0.0521 0.0693)
OKLCHoklch(40.77% 0.087 126.9)
XYZxyz(5.1066, 7.0925, 1.9639)
Luminance0.0709 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D5218 #2D1852
analogous
#524A18 #3D5218 #205218
triadic
#3D5218 #183D52 #52183D
tetradic
#3D5218 #18524A #2D1852 #521820
square
#3D5218 #18524A #2D1852 #521820
split-complementary
#3D5218 #182052 #4A1852
monochromatic
#121807 #1A230A #3D5218 #608126 #83B134

Accessibility & contrast

On white

8.68
#3D5218 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#3D5218 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D5218
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D5218#FFFFFF#000000##FFFFFF
##3D52181.008.682.428.68
#FFFFFF8.681.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564C10
Deuteranopia (green-blind)
#544B1C
Tritanopia (blue-blind)
#3F4E46
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #3d5218;
/* rgb */ color: rgb(61, 82, 24);
/* oklch */ color: oklch(40.8% 0.087 126.9);
Tailwind
colors: {
  custom: {
    50: '#758258',
    500: '#3d5218',
    950: '#000000',
  },
}
SCSS
$custom: #3d5218;
$custom-light: #758258;
$custom-dark: #000000;
JSON
{
  "hex": "#3d5218",
  "rgb": {
    "r": 61,
    "g": 82,
    "b": 24
  },
  "hsl": {
    "h": 81.724,
    "s": 54.717,
    "l": 20.784
  },
  "oklch": {
    "l": 0.4077,
    "c": 0.08674,
    "h": 126.9
  },
  "luminance": 0.07093
}

Semantic roles & 50–950 ramp

primary
#3D5218
secondary
#583D89
accent
#4ADE7F
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#080A03
muted
#7B7C78

Preview Lab

Preview with #3D5218

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

Preview Lab → · Contrast checker → · Palette generator →

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