#3D5A17#3D5A17

#3D5A17 is a dark, moderate yellow-green. Relative luminance 0.084; OKLCH L 43.0% C 0.099 H 130.0°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#3D5A17
RGBrgb(61, 90, 23)
HSLhsl(86, 59%, 22%)
HSVhsv(86, 74%, 35%)
CMYKcmyk(32.2%, 0%, 74.4%, 64.7%)
CIE-LABlab(34.73, -22.57, 33.64)
CIE-LCHlch(34.73, 40.51, 123.85°)
OKLaboklab(42.97% -0.064 0.0761)
OKLCHoklch(42.97% 0.099 130)
XYZxyz(5.7353, 8.3661, 2.1231)
Luminance0.0837 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D5A17 #34175A
analogous
#5A5617 #3D5A17 #1C5A17
triadic
#3D5A17 #173D5A #5A173D
tetradic
#3D5A17 #175A56 #34175A #5A171C
square
#3D5A17 #175A56 #34175A #5A171C
split-complementary
#3D5A17 #171C5A #56175A
monochromatic
#111806 #1C290B #3D5A17 #5E8B23 #7FBB30

Accessibility & contrast

On white

7.86
#3D5A17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#3D5A17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D5A17
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D5A17#FFFFFF#000000##FFFFFF
##3D5A171.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E530D
Deuteranopia (green-blind)
#5A511D
Tritanopia (blue-blind)
#3F564D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #3d5a17;
/* rgb */ color: rgb(61, 90, 23);
/* oklch */ color: oklch(43.0% 0.099 130.0);
Tailwind
colors: {
  custom: {
    50: '#758958',
    500: '#3d5a17',
    950: '#000000',
  },
}
SCSS
$custom: #3d5a17;
$custom-light: #758958;
$custom-dark: #000000;
JSON
{
  "hex": "#3d5a17",
  "rgb": {
    "r": 61,
    "g": 90,
    "b": 23
  },
  "hsl": {
    "h": 85.97,
    "s": 59.292,
    "l": 22.157
  },
  "oklch": {
    "l": 0.42972,
    "c": 0.09941,
    "h": 130
  },
  "luminance": 0.08366
}

Semantic roles & 50–950 ramp

primary
#3D5A17
secondary
#613C91
accent
#45E289
background
#F7F8F5
surface
#EDF0E9
border
#C8CBC5
text
#090B04
muted
#7B7C79

Preview Lab

Preview with #3D5A17

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

Preview Lab → · Contrast checker → · Palette generator →

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