#3D7917#3D7917

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

Color values

HEX#3D7917
RGBrgb(61, 121, 23)
HSLhsl(97, 68%, 28%)
HSVhsv(97, 81%, 47%)
CMYKcmyk(49.6%, 0%, 81%, 52.5%)
CIE-LABlab(45.26, -36.86, 44.01)
CIE-LCHlch(45.26, 57.41, 129.95°)
OKLaboklab(51.58% -0.1026 0.0978)
OKLCHoklch(51.58% 0.142 136.4)
XYZxyz(8.9162, 14.7281, 3.1834)
Luminance0.1473 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D7917 #531779
analogous
#6E7917 #3D7917 #177922
triadic
#3D7917 #173D79 #79173D
tetradic
#3D7917 #176E79 #531779 #792217
square
#3D7917 #176E79 #531779 #792217
split-complementary
#3D7917 #221779 #79176E
monochromatic
#0D1A05 #23460D #3D7917 #57AC21 #73D832

Accessibility & contrast

On white

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

On black

3.95
#3D7917 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3D7917#FFFFFF#000000##FFFFFF
##3D79171.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3d7917;
/* rgb */ color: rgb(61, 121, 23);
/* oklch */ color: oklch(51.6% 0.142 136.4);
Tailwind
colors: {
  custom: {
    50: '#79a05d',
    500: '#3d7917',
    950: '#000000',
  },
}
SCSS
$custom: #3d7917;
$custom-light: #79a05d;
$custom-dark: #000000;
JSON
{
  "hex": "#3d7917",
  "rgb": {
    "r": 61,
    "g": 121,
    "b": 23
  },
  "hsl": {
    "h": 96.735,
    "s": 68.056,
    "l": 28.235
  },
  "oklch": {
    "l": 0.51584,
    "c": 0.14178,
    "h": 136.4
  },
  "luminance": 0.14729
}

Semantic roles & 50–950 ramp

primary
#3D7917
secondary
#833EAE
accent
#3DEBA7
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0F05
muted
#7C7E79

Preview Lab

Preview with #3D7917

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

Preview Lab → · Contrast checker → · Palette generator →

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