#3D8415#3D8415

#3D8415 is a mid, vivid yellow-green. Relative luminance 0.175; OKLCH L 54.6% C 0.156 H 137.4°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#3D8415
RGBrgb(61, 132, 21)
HSLhsl(98, 73%, 30%)
HSVhsv(98, 84%, 52%)
CMYKcmyk(53.8%, 0%, 84.1%, 48.2%)
CIE-LABlab(48.94, -41.46, 48.06)
CIE-LCHlch(48.94, 63.47, 130.79°)
OKLaboklab(54.61% -0.1151 0.106)
OKLCHoklch(54.61% 0.156 137.4)
XYZxyz(10.3108, 17.5480, 3.5531)
Luminance0.1755 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D8415 #5C1584
analogous
#758415 #3D8415 #158424
triadic
#3D8415 #153D84 #84153D
tetradic
#3D8415 #157584 #5C1584 #842415
square
#3D8415 #157584 #5C1584 #842415
split-complementary
#3D8415 #241584 #841575
monochromatic
#0C1A04 #254F0D #3D8415 #55B91D #72DF35

Accessibility & contrast

On white

4.66
#3D8415 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#3D8415 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #3D8415
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D8415#FFFFFF#000000##FFFFFF
##3D84151.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#897800
Deuteranopia (green-blind)
#7F7223
Tritanopia (blue-blind)
#387F70
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #3d8415;
/* rgb */ color: rgb(61, 132, 21);
/* oklch */ color: oklch(54.6% 0.156 137.4);
Tailwind
colors: {
  custom: {
    50: '#7ba85e',
    500: '#3d8415',
    950: '#000000',
  },
}
SCSS
$custom: #3d8415;
$custom-light: #7ba85e;
$custom-dark: #000000;
JSON
{
  "hex": "#3d8415",
  "rgb": {
    "r": 61,
    "g": 132,
    "b": 21
  },
  "hsl": {
    "h": 98.378,
    "s": 72.549,
    "l": 30
  },
  "oklch": {
    "l": 0.54614,
    "c": 0.15647,
    "h": 137.4
  },
  "luminance": 0.17549
}

Semantic roles & 50–950 ramp

primary
#3D8415
secondary
#8C3CB9
accent
#39EFAD
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #3D8415

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

Preview Lab → · Contrast checker → · Palette generator →

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