#3D5817#3D5817

#3D5817 is a dark, moderate yellow-green. Relative luminance 0.080; OKLCH L 42.4% C 0.096 H 129.3°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#3D5817
RGBrgb(61, 88, 23)
HSLhsl(85, 59%, 22%)
HSVhsv(85, 74%, 35%)
CMYKcmyk(30.7%, 0%, 73.9%, 65.5%)
CIE-LABlab(34.05, -21.54, 32.94)
CIE-LCHlch(34.05, 39.36, 123.19°)
OKLaboklab(42.42% -0.0611 0.0746)
OKLCHoklch(42.42% 0.096 129.3)
XYZxyz(5.5688, 8.0333, 2.0676)
Luminance0.0803 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D5817 #321758
analogous
#585317 #3D5817 #1D5817
triadic
#3D5817 #173D58 #58173D
tetradic
#3D5817 #175853 #321758 #58171D
square
#3D5817 #175853 #321758 #58171D
split-complementary
#3D5817 #171D58 #531758
monochromatic
#111806 #1B270A #3D5817 #5F8924 #80B930

Accessibility & contrast

On white

8.06
#3D5817 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#3D5817 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #3D5817
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D5817#FFFFFF#000000##FFFFFF
##3D58171.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C510D
Deuteranopia (green-blind)
#594F1C
Tritanopia (blue-blind)
#3F544B
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #3d5817;
/* rgb */ color: rgb(61, 88, 23);
/* oklch */ color: oklch(42.4% 0.096 129.3);
Tailwind
colors: {
  custom: {
    50: '#758758',
    500: '#3d5817',
    950: '#000000',
  },
}
SCSS
$custom: #3d5817;
$custom-light: #758758;
$custom-dark: #000000;
JSON
{
  "hex": "#3d5817",
  "rgb": {
    "r": 61,
    "g": 88,
    "b": 23
  },
  "hsl": {
    "h": 84.923,
    "s": 58.559,
    "l": 21.765
  },
  "oklch": {
    "l": 0.42418,
    "c": 0.09649,
    "h": 129.3
  },
  "luminance": 0.08033
}

Semantic roles & 50–950 ramp

primary
#3D5817
secondary
#5E3C8F
accent
#46E287
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#080B03
muted
#7B7C78

Preview Lab

Preview with #3D5817

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

Preview Lab → · Contrast checker → · Palette generator →

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