#3D8216#3D8216

#3D8216 is a mid, vivid yellow-green. Relative luminance 0.170; OKLCH L 54.1% C 0.154 H 137.3°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#3D8216
RGBrgb(61, 130, 22)
HSLhsl(98, 71%, 30%)
HSVhsv(98, 83%, 51%)
CMYKcmyk(53.1%, 0%, 83.1%, 49%)
CIE-LABlab(48.28, -40.61, 47.15)
CIE-LCHlch(48.28, 62.23, 130.74°)
OKLaboklab(54.07% -0.1128 0.1042)
OKLCHoklch(54.07% 0.154 137.3)
XYZxyz(10.0516, 17.0145, 3.5134)
Luminance0.1701 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D8216 #5B1682
analogous
#738216 #3D8216 #168225
triadic
#3D8216 #163D82 #82163D
tetradic
#3D8216 #167382 #5B1682 #822516
square
#3D8216 #167382 #5B1682 #822516
split-complementary
#3D8216 #251682 #821673
monochromatic
#0C1A04 #244E0D #3D8216 #56B61F #72DD35

Accessibility & contrast

On white

4.77
#3D8216 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#3D8216 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D8216
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D8216#FFFFFF#000000##FFFFFF
##3D82161.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#877600
Deuteranopia (green-blind)
#7E7023
Tritanopia (blue-blind)
#387D6E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #3d8216;
/* rgb */ color: rgb(61, 130, 22);
/* oklch */ color: oklch(54.1% 0.154 137.3);
Tailwind
colors: {
  custom: {
    50: '#7aa75e',
    500: '#3d8216',
    950: '#000000',
  },
}
SCSS
$custom: #3d8216;
$custom-light: #7aa75e;
$custom-dark: #000000;
JSON
{
  "hex": "#3d8216",
  "rgb": {
    "r": 61,
    "g": 130,
    "b": 22
  },
  "hsl": {
    "h": 98.333,
    "s": 71.053,
    "l": 29.804
  },
  "oklch": {
    "l": 0.54067,
    "c": 0.15357,
    "h": 137.3
  },
  "luminance": 0.17015
}

Semantic roles & 50–950 ramp

primary
#3D8216
secondary
#8B3DB7
accent
#3AEEAD
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3D8216

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

Preview Lab → · Contrast checker → · Palette generator →

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