#3D6815#3D6815

#3D6815 is a mid, vivid yellow-green. Relative luminance 0.109; OKLCH L 46.8% C 0.120 H 133.5°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#3D6815
RGBrgb(61, 104, 21)
HSLhsl(91, 66%, 25%)
HSVhsv(91, 80%, 41%)
CMYKcmyk(41.3%, 0%, 79.8%, 59.2%)
CIE-LABlab(39.49, -29.50, 39.19)
CIE-LCHlch(39.49, 49.05, 126.97°)
OKLaboklab(46.85% -0.0829 0.0874)
OKLCHoklch(46.85% 0.12 133.5)
XYZxyz(7.0100, 10.9465, 2.4529)
Luminance0.1095 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D6815 #401568
analogous
#676815 #3D6815 #156816
triadic
#3D6815 #153D68 #68153D
tetradic
#3D6815 #156768 #401568 #681615
square
#3D6815 #156768 #401568 #681615
split-complementary
#3D6815 #161568 #681567
monochromatic
#0F1905 #1F350B #3D6815 #5B9B1F #79CE2A

Accessibility & contrast

On white

6.58
#3D6815 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#3D6815 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D6815
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D6815#FFFFFF#000000##FFFFFF
##3D68151.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F03
Deuteranopia (green-blind)
#675C1E
Tritanopia (blue-blind)
#3D6458
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #3d6815;
/* rgb */ color: rgb(61, 104, 21);
/* oklch */ color: oklch(46.8% 0.120 133.5);
Tailwind
colors: {
  custom: {
    50: '#779359',
    500: '#3d6815',
    950: '#000000',
  },
}
SCSS
$custom: #3d6815;
$custom-light: #779359;
$custom-dark: #000000;
JSON
{
  "hex": "#3d6815",
  "rgb": {
    "r": 61,
    "g": 104,
    "b": 21
  },
  "hsl": {
    "h": 91.084,
    "s": 66.4,
    "l": 24.51
  },
  "oklch": {
    "l": 0.46848,
    "c": 0.12049,
    "h": 133.5
  },
  "luminance": 0.10947
}

Semantic roles & 50–950 ramp

primary
#3D6815
secondary
#6E3A9F
accent
#3EE997
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #3D6815

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

Preview Lab → · Contrast checker → · Palette generator →

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