#3D5717#3D5717

#3D5717 is a dark, moderate yellow-green. Relative luminance 0.079; OKLCH L 42.1% C 0.095 H 129.0°. Best body text is #FFFFFF at 8.16:1 contrast (WCAG AA passes).

Color values

HEX#3D5717
RGBrgb(61, 87, 23)
HSLhsl(84, 58%, 22%)
HSVhsv(84, 74%, 34%)
CMYKcmyk(29.9%, 0%, 73.6%, 65.9%)
CIE-LABlab(33.71, -21.03, 32.59)
CIE-LCHlch(33.71, 38.78, 122.83°)
OKLaboklab(42.14% -0.0597 0.0739)
OKLCHoklch(42.14% 0.095 129)
XYZxyz(5.4873, 7.8702, 2.0404)
Luminance0.0787 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D5717 #311757
analogous
#575117 #3D5717 #1D5717
triadic
#3D5717 #173D57 #57173D
tetradic
#3D5717 #175751 #311757 #57171D
square
#3D5717 #175751 #311757 #57171D
split-complementary
#3D5717 #171D57 #511757
monochromatic
#111806 #1B270A #3D5717 #5F8724 #81B831

Accessibility & contrast

On white

8.16
#3D5717 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.57
#3D5717 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D5717
8.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D5717#FFFFFF#000000##FFFFFF
##3D57171.008.162.578.16
#FFFFFF8.161.0021.001.00
#0000002.5721.001.0021.00
##FFFFFF8.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B500E
Deuteranopia (green-blind)
#584F1C
Tritanopia (blue-blind)
#3F534A
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #3d5717;
/* rgb */ color: rgb(61, 87, 23);
/* oklch */ color: oklch(42.1% 0.095 129.0);
Tailwind
colors: {
  custom: {
    50: '#758658',
    500: '#3d5717',
    950: '#000000',
  },
}
SCSS
$custom: #3d5717;
$custom-light: #758658;
$custom-dark: #000000;
JSON
{
  "hex": "#3d5717",
  "rgb": {
    "r": 61,
    "g": 87,
    "b": 23
  },
  "hsl": {
    "h": 84.375,
    "s": 58.182,
    "l": 21.569
  },
  "oklch": {
    "l": 0.42141,
    "c": 0.09503,
    "h": 129
  },
  "luminance": 0.0787
}

Semantic roles & 50–950 ramp

primary
#3D5717
secondary
#5D3C8E
accent
#46E185
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#080B03
muted
#7B7C78

Preview Lab

Preview with #3D5717

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

Preview Lab → · Contrast checker → · Palette generator →

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