#3D5917#3D5917

#3D5917 is a dark, moderate yellow-green. Relative luminance 0.082; OKLCH L 42.7% C 0.098 H 129.7°. Best body text is #FFFFFF at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#3D5917
RGBrgb(61, 89, 23)
HSLhsl(85, 59%, 22%)
HSVhsv(85, 74%, 35%)
CMYKcmyk(31.5%, 0%, 74.2%, 65.1%)
CIE-LABlab(34.39, -22.06, 33.29)
CIE-LCHlch(34.39, 39.93, 123.53°)
OKLaboklab(42.7% -0.0626 0.0754)
OKLCHoklch(42.7% 0.098 129.7)
XYZxyz(5.6515, 8.1986, 2.0952)
Luminance0.0820 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D5917 #331759
analogous
#595417 #3D5917 #1C5917
triadic
#3D5917 #173D59 #59173D
tetradic
#3D5917 #175954 #331759 #59171C
square
#3D5917 #175954 #331759 #59171C
split-complementary
#3D5917 #171C59 #541759
monochromatic
#111806 #1C280A #3D5917 #5E8A24 #80BA30

Accessibility & contrast

On white

7.96
#3D5917 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#3D5917 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D5917
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D5917#FFFFFF#000000##FFFFFF
##3D59171.007.962.647.96
#FFFFFF7.961.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D520D
Deuteranopia (green-blind)
#5A501D
Tritanopia (blue-blind)
#3F554C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3d5917;
/* rgb */ color: rgb(61, 89, 23);
/* oklch */ color: oklch(42.7% 0.098 129.7);
Tailwind
colors: {
  custom: {
    50: '#758858',
    500: '#3d5917',
    950: '#000000',
  },
}
SCSS
$custom: #3d5917;
$custom-light: #758858;
$custom-dark: #000000;
JSON
{
  "hex": "#3d5917",
  "rgb": {
    "r": 61,
    "g": 89,
    "b": 23
  },
  "hsl": {
    "h": 85.455,
    "s": 58.929,
    "l": 21.961
  },
  "oklch": {
    "l": 0.42695,
    "c": 0.09796,
    "h": 129.7
  },
  "luminance": 0.08199
}

Semantic roles & 50–950 ramp

primary
#3D5917
secondary
#603C90
accent
#46E288
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#080B03
muted
#7B7C78

Preview Lab

Preview with #3D5917

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

Preview Lab → · Contrast checker → · Palette generator →

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