#3D5D17#3D5D17

#3D5D17 is a dark, moderate yellow-green. Relative luminance 0.089; OKLCH L 43.8% C 0.104 H 131.0°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#3D5D17
RGBrgb(61, 93, 23)
HSLhsl(87, 60%, 23%)
HSVhsv(87, 75%, 36%)
CMYKcmyk(34.4%, 0%, 75.3%, 63.5%)
CIE-LABlab(35.76, -24.08, 34.69)
CIE-LCHlch(35.76, 42.22, 124.77°)
OKLaboklab(43.81% -0.0681 0.0783)
OKLCHoklch(43.81% 0.104 131)
XYZxyz(5.9934, 8.8825, 2.2092)
Luminance0.0888 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D5D17 #37175D
analogous
#5D5A17 #3D5D17 #1A5D17
triadic
#3D5D17 #173D5D #5D173D
tetradic
#3D5D17 #175D5A #37175D #5D171A
square
#3D5D17 #175D5A #37175D #5D171A
split-complementary
#3D5D17 #171A5D #5A175D
monochromatic
#101906 #1D2C0B #3D5D17 #5D8E23 #7DBF2F

Accessibility & contrast

On white

7.56
#3D5D17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#3D5D17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D5D17
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D5D17#FFFFFF#000000##FFFFFF
##3D5D171.007.562.787.56
#FFFFFF7.561.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#61560C
Deuteranopia (green-blind)
#5D531D
Tritanopia (blue-blind)
#3E594F
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #3d5d17;
/* rgb */ color: rgb(61, 93, 23);
/* oklch */ color: oklch(43.8% 0.104 131.0);
Tailwind
colors: {
  custom: {
    50: '#758b59',
    500: '#3d5d17',
    950: '#000000',
  },
}
SCSS
$custom: #3d5d17;
$custom-light: #758b59;
$custom-dark: #000000;
JSON
{
  "hex": "#3d5d17",
  "rgb": {
    "r": 61,
    "g": 93,
    "b": 23
  },
  "hsl": {
    "h": 87.429,
    "s": 60.345,
    "l": 22.745
  },
  "oklch": {
    "l": 0.43805,
    "c": 0.10376,
    "h": 131
  },
  "luminance": 0.08883
}

Semantic roles & 50–950 ramp

primary
#3D5D17
secondary
#643C94
accent
#44E38D
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090C04
muted
#7B7D79

Preview Lab

Preview with #3D5D17

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

Preview Lab → · Contrast checker → · Palette generator →

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