#3D5215#3D5215

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

Color values

HEX#3D5215
RGBrgb(61, 82, 21)
HSLhsl(81, 59%, 20%)
HSVhsv(81, 74%, 32%)
CMYKcmyk(25.6%, 0%, 74.4%, 67.8%)
CIE-LABlab(31.99, -18.55, 31.71)
CIE-LCHlch(31.99, 36.74, 120.32°)
OKLaboklab(40.74% -0.0531 0.0717)
OKLCHoklch(40.74% 0.089 126.5)
XYZxyz(5.0771, 7.0807, 1.8086)
Luminance0.0708 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D5215 #2A1552
analogous
#524815 #3D5215 #1E5215
triadic
#3D5215 #153D52 #52153D
tetradic
#3D5215 #155248 #2A1552 #52151E
square
#3D5215 #155248 #2A1552 #52151E
split-complementary
#3D5215 #151E52 #481552
monochromatic
#121806 #192109 #3D5215 #618321 #85B32E

Accessibility & contrast

On white

8.69
#3D5215 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #3D5215
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D5215#FFFFFF#000000##FFFFFF
##3D52151.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3d5215;
/* rgb */ color: rgb(61, 82, 21);
/* oklch */ color: oklch(40.7% 0.089 126.5);
Tailwind
colors: {
  custom: {
    50: '#758256',
    500: '#3d5215',
    950: '#000000',
  },
}
SCSS
$custom: #3d5215;
$custom-light: #758256;
$custom-dark: #000000;
JSON
{
  "hex": "#3d5215",
  "rgb": {
    "r": 61,
    "g": 82,
    "b": 21
  },
  "hsl": {
    "h": 80.656,
    "s": 59.223,
    "l": 20.196
  },
  "oklch": {
    "l": 0.40739,
    "c": 0.08927,
    "h": 126.5
  },
  "luminance": 0.07081
}

Semantic roles & 50–950 ramp

primary
#3D5215
secondary
#55398A
accent
#45E27B
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#080A03
muted
#7B7C78

Preview Lab

Preview with #3D5215

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

Preview Lab → · Contrast checker → · Palette generator →

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