#3D8515#3D8515

#3D8515 is a mid, vivid yellow-green. Relative luminance 0.178; OKLCH L 54.9% C 0.158 H 137.4°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#3D8515
RGBrgb(61, 133, 21)
HSLhsl(99, 73%, 30%)
HSVhsv(99, 84%, 52%)
CMYKcmyk(54.1%, 0%, 84.2%, 47.8%)
CIE-LABlab(49.28, -41.86, 48.37)
CIE-LCHlch(49.28, 63.96, 130.88°)
OKLaboklab(54.89% -0.1162 0.1066)
OKLCHoklch(54.89% 0.158 137.4)
XYZxyz(10.4470, 17.8205, 3.5985)
Luminance0.1782 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D8515 #5D1585
analogous
#758515 #3D8515 #158525
triadic
#3D8515 #153D85 #85153D
tetradic
#3D8515 #157585 #5D1585 #852515
square
#3D8515 #157585 #5D1585 #852515
split-complementary
#3D8515 #251585 #851575
monochromatic
#0D1B04 #25500D #3D8515 #55BA1D #72DF35

Accessibility & contrast

On white

4.60
#3D8515 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#3D8515 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #3D8515
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D8515#FFFFFF#000000##FFFFFF
##3D85151.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#807323
Tritanopia (blue-blind)
#388071
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #3d8515;
/* rgb */ color: rgb(61, 133, 21);
/* oklch */ color: oklch(54.9% 0.158 137.4);
Tailwind
colors: {
  custom: {
    50: '#7ba95e',
    500: '#3d8515',
    950: '#000000',
  },
}
SCSS
$custom: #3d8515;
$custom-light: #7ba95e;
$custom-dark: #000000;
JSON
{
  "hex": "#3d8515",
  "rgb": {
    "r": 61,
    "g": 133,
    "b": 21
  },
  "hsl": {
    "h": 98.571,
    "s": 72.727,
    "l": 30.196
  },
  "oklch": {
    "l": 0.54889,
    "c": 0.15769,
    "h": 137.4
  },
  "luminance": 0.17821
}

Semantic roles & 50–950 ramp

primary
#3D8515
secondary
#8D3CB9
accent
#38EFAE
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #3D8515

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

Preview Lab → · Contrast checker → · Palette generator →

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