#3D7915#3D7915

#3D7915 is a mid, vivid yellow-green. Relative luminance 0.147; OKLCH L 51.6% C 0.143 H 136.2°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#3D7915
RGBrgb(61, 121, 21)
HSLhsl(96, 70%, 28%)
HSVhsv(96, 83%, 47%)
CMYKcmyk(49.6%, 0%, 82.6%, 52.5%)
CIE-LABlab(45.25, -36.98, 44.65)
CIE-LCHlch(45.25, 57.98, 129.63°)
OKLaboklab(51.57% -0.1031 0.0988)
OKLCHoklch(51.57% 0.143 136.2)
XYZxyz(8.8970, 14.7204, 3.0818)
Luminance0.1472 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D7915 #511579
analogous
#6F7915 #3D7915 #15791F
triadic
#3D7915 #153D79 #79153D
tetradic
#3D7915 #156F79 #511579 #791F15
square
#3D7915 #156F79 #511579 #791F15
split-complementary
#3D7915 #1F1579 #79156F
monochromatic
#0D1A05 #23450C #3D7915 #57AD1E #73DB2E

Accessibility & contrast

On white

5.32
#3D7915 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#3D7915 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D7915
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D7915#FFFFFF#000000##FFFFFF
##3D79151.005.323.945.32
#FFFFFF5.321.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7D6E00
Deuteranopia (green-blind)
#766921
Tritanopia (blue-blind)
#3A7467
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #3d7915;
/* rgb */ color: rgb(61, 121, 21);
/* oklch */ color: oklch(51.6% 0.143 136.2);
Tailwind
colors: {
  custom: {
    50: '#79a05c',
    500: '#3d7915',
    950: '#000000',
  },
}
SCSS
$custom: #3d7915;
$custom-light: #79a05c;
$custom-dark: #000000;
JSON
{
  "hex": "#3d7915",
  "rgb": {
    "r": 61,
    "g": 121,
    "b": 21
  },
  "hsl": {
    "h": 96,
    "s": 70.423,
    "l": 27.843
  },
  "oklch": {
    "l": 0.51572,
    "c": 0.14281,
    "h": 136.2
  },
  "luminance": 0.14721
}

Semantic roles & 50–950 ramp

primary
#3D7915
secondary
#803BAF
accent
#3BEDA6
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0F04
muted
#7C7E79

Preview Lab

Preview with #3D7915

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

Preview Lab → · Contrast checker → · Palette generator →

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