#3D5815#3D5815

#3D5815 is a dark, moderate yellow-green. Relative luminance 0.080; OKLCH L 42.4% C 0.098 H 129.1°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#3D5815
RGBrgb(61, 88, 21)
HSLhsl(84, 61%, 21%)
HSVhsv(84, 76%, 35%)
CMYKcmyk(30.7%, 0%, 76.1%, 65.5%)
CIE-LABlab(34.04, -21.70, 33.80)
CIE-LCHlch(34.04, 40.17, 122.70°)
OKLaboklab(42.4% -0.0618 0.0761)
OKLCHoklch(42.4% 0.098 129.1)
XYZxyz(5.5495, 8.0255, 1.9660)
Luminance0.0803 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D5815 #301558
analogous
#585215 #3D5815 #1C5815
triadic
#3D5815 #153D58 #58153D
tetradic
#3D5815 #155852 #301558 #58151C
square
#3D5815 #155852 #301558 #58151C
split-complementary
#3D5815 #151C58 #521558
monochromatic
#111906 #1B2709 #3D5815 #5F8921 #82BB2D

Accessibility & contrast

On white

8.06
#3D5815 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#3D5815 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D5815
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D5815#FFFFFF#000000##FFFFFF
##3D58151.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D510A
Deuteranopia (green-blind)
#594F1B
Tritanopia (blue-blind)
#3F544B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3d5815;
/* rgb */ color: rgb(61, 88, 21);
/* oklch */ color: oklch(42.4% 0.098 129.1);
Tailwind
colors: {
  custom: {
    50: '#758757',
    500: '#3d5815',
    950: '#000000',
  },
}
SCSS
$custom: #3d5815;
$custom-light: #758757;
$custom-dark: #000000;
JSON
{
  "hex": "#3d5815",
  "rgb": {
    "r": 61,
    "g": 88,
    "b": 21
  },
  "hsl": {
    "h": 84.179,
    "s": 61.468,
    "l": 21.373
  },
  "oklch": {
    "l": 0.424,
    "c": 0.09803,
    "h": 129.1
  },
  "luminance": 0.08026
}

Semantic roles & 50–950 ramp

primary
#3D5815
secondary
#5C3990
accent
#43E584
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#090B03
muted
#7B7C78

Preview Lab

Preview with #3D5815

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

Preview Lab → · Contrast checker → · Palette generator →

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