#3D5017#3D5017

#3D5017 is a dark, moderate yellow-green. Relative luminance 0.068; OKLCH L 40.2% C 0.085 H 125.8°. Best body text is #FFFFFF at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#3D5017
RGBrgb(61, 80, 23)
HSLhsl(80, 55%, 20%)
HSVhsv(80, 71%, 31%)
CMYKcmyk(23.7%, 0%, 71.2%, 68.6%)
CIE-LABlab(31.33, -17.30, 30.08)
CIE-LCHlch(31.33, 34.70, 119.90°)
OKLaboklab(40.21% -0.0495 0.0686)
OKLCHoklch(40.21% 0.085 125.8)
XYZxyz(4.9478, 6.7912, 1.8606)
Luminance0.0679 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D5017 #2A1750
analogous
#504617 #3D5017 #205017
triadic
#3D5017 #173D50 #50173D
tetradic
#3D5017 #175046 #2A1750 #501720
square
#3D5017 #175046 #2A1750 #501720
split-complementary
#3D5017 #172050 #461750
monochromatic
#121807 #192009 #3D5017 #618025 #85AF32

Accessibility & contrast

On white

8.91
#3D5017 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.36
#3D5017 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D5017
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D5017#FFFFFF#000000##FFFFFF
##3D50171.008.912.368.91
#FFFFFF8.911.0021.001.00
#0000002.3621.001.0021.00
##FFFFFF8.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554A0F
Deuteranopia (green-blind)
#52491B
Tritanopia (blue-blind)
#404C44
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #3d5017;
/* rgb */ color: rgb(61, 80, 23);
/* oklch */ color: oklch(40.2% 0.085 125.8);
Tailwind
colors: {
  custom: {
    50: '#748157',
    500: '#3d5017',
    950: '#000000',
  },
}
SCSS
$custom: #3d5017;
$custom-light: #748157;
$custom-dark: #000000;
JSON
{
  "hex": "#3d5017",
  "rgb": {
    "r": 61,
    "g": 80,
    "b": 23
  },
  "hsl": {
    "h": 80,
    "s": 55.34,
    "l": 20.196
  },
  "oklch": {
    "l": 0.40208,
    "c": 0.08463,
    "h": 125.8
  },
  "luminance": 0.06791
}

Semantic roles & 50–950 ramp

primary
#3D5017
secondary
#553C87
accent
#49DF7B
background
#F7F7F5
surface
#EDEEE9
border
#C8C9C5
text
#080A03
muted
#7B7C78

Preview Lab

Preview with #3D5017

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

Preview Lab → · Contrast checker → · Palette generator →

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