#3D5915#3D5915

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

Color values

HEX#3D5915
RGBrgb(61, 89, 21)
HSLhsl(85, 62%, 22%)
HSVhsv(85, 76%, 35%)
CMYKcmyk(31.5%, 0%, 76.4%, 65.1%)
CIE-LABlab(34.38, -22.21, 34.14)
CIE-LCHlch(34.38, 40.73, 123.04°)
OKLaboklab(42.68% -0.0632 0.0768)
OKLCHoklch(42.68% 0.099 129.4)
XYZxyz(5.6322, 8.1908, 1.9936)
Luminance0.0819 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D5915 #311559
analogous
#595315 #3D5915 #1B5915
triadic
#3D5915 #153D59 #59153D
tetradic
#3D5915 #155953 #311559 #59151B
square
#3D5915 #155953 #311559 #59151B
split-complementary
#3D5915 #151B59 #531559
monochromatic
#111906 #1B2709 #3D5915 #5F8B21 #81BC2C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3D5915#FFFFFF#000000##FFFFFF
##3D59151.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)
#5E520A
Deuteranopia (green-blind)
#5A501B
Tritanopia (blue-blind)
#3F554C
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #3d5915;
/* rgb */ color: rgb(61, 89, 21);
/* oklch */ color: oklch(42.7% 0.099 129.4);
Tailwind
colors: {
  custom: {
    50: '#758857',
    500: '#3d5915',
    950: '#000000',
  },
}
SCSS
$custom: #3d5915;
$custom-light: #758857;
$custom-dark: #000000;
JSON
{
  "hex": "#3d5915",
  "rgb": {
    "r": 61,
    "g": 89,
    "b": 21
  },
  "hsl": {
    "h": 84.706,
    "s": 61.818,
    "l": 21.569
  },
  "oklch": {
    "l": 0.42677,
    "c": 0.09947,
    "h": 129.4
  },
  "luminance": 0.08191
}

Semantic roles & 50–950 ramp

primary
#3D5915
secondary
#5D3991
accent
#43E586
background
#F7F8F5
surface
#EDEFE9
border
#C8CAC5
text
#090B03
muted
#7B7C78

Preview Lab

Preview with #3D5915

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

Preview Lab → · Contrast checker → · Palette generator →

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