#3D8316#3D8316

#3D8316 is a mid, vivid yellow-green. Relative luminance 0.173; OKLCH L 54.3% C 0.155 H 137.3°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#3D8316
RGBrgb(61, 131, 22)
HSLhsl(99, 71%, 30%)
HSVhsv(99, 83%, 51%)
CMYKcmyk(53.4%, 0%, 83.2%, 48.6%)
CIE-LABlab(48.61, -41.01, 47.46)
CIE-LCHlch(48.61, 62.73, 130.83°)
OKLaboklab(54.34% -0.1138 0.1049)
OKLCHoklch(54.34% 0.155 137.3)
XYZxyz(10.1853, 17.2819, 3.5579)
Luminance0.1728 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D8316 #5C1683
analogous
#748316 #3D8316 #168325
triadic
#3D8316 #163D83 #83163D
tetradic
#3D8316 #167483 #5C1683 #832516
square
#3D8316 #167483 #5C1683 #832516
split-complementary
#3D8316 #251683 #831674
monochromatic
#0C1A04 #254F0D #3D8316 #55B71F #72DD36

Accessibility & contrast

On white

4.71
#3D8316 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#3D8316 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D8316
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D8316#FFFFFF#000000##FFFFFF
##3D83161.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#887700
Deuteranopia (green-blind)
#7F7123
Tritanopia (blue-blind)
#387E6F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #3d8316;
/* rgb */ color: rgb(61, 131, 22);
/* oklch */ color: oklch(54.3% 0.155 137.3);
Tailwind
colors: {
  custom: {
    50: '#7ba85e',
    500: '#3d8316',
    950: '#000000',
  },
}
SCSS
$custom: #3d8316;
$custom-light: #7ba85e;
$custom-dark: #000000;
JSON
{
  "hex": "#3d8316",
  "rgb": {
    "r": 61,
    "g": 131,
    "b": 22
  },
  "hsl": {
    "h": 98.532,
    "s": 71.242,
    "l": 30
  },
  "oklch": {
    "l": 0.54343,
    "c": 0.15479,
    "h": 137.3
  },
  "luminance": 0.17283
}

Semantic roles & 50–950 ramp

primary
#3D8316
secondary
#8C3DB7
accent
#3AEEAE
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3D8316

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

Preview Lab → · Contrast checker → · Palette generator →

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