#3D8217#3D8217

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

Color values

HEX#3D8217
RGBrgb(61, 130, 23)
HSLhsl(99, 70%, 30%)
HSVhsv(99, 82%, 51%)
CMYKcmyk(53.1%, 0%, 82.3%, 49%)
CIE-LABlab(48.28, -40.56, 46.85)
CIE-LCHlch(48.28, 61.97, 130.88°)
OKLaboklab(54.07% -0.1126 0.1038)
OKLCHoklch(54.07% 0.153 137.3)
XYZxyz(10.0614, 17.0185, 3.5652)
Luminance0.1702 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D8217 #5C1782
analogous
#728217 #3D8217 #178227
triadic
#3D8217 #173D82 #82173D
tetradic
#3D8217 #177282 #5C1782 #822717
square
#3D8217 #177282 #5C1782 #822717
split-complementary
#3D8217 #271782 #821772
monochromatic
#0C1A05 #254E0E #3D8217 #55B620 #72DC38

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3D8217#FFFFFF#000000##FFFFFF
##3D82171.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)
#867600
Deuteranopia (green-blind)
#7E7124
Tritanopia (blue-blind)
#387D6E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #3d8217;
/* rgb */ color: rgb(61, 130, 23);
/* oklch */ color: oklch(54.1% 0.153 137.3);
Tailwind
colors: {
  custom: {
    50: '#7aa75e',
    500: '#3d8217',
    950: '#000000',
  },
}
SCSS
$custom: #3d8217;
$custom-light: #7aa75e;
$custom-dark: #000000;
JSON
{
  "hex": "#3d8217",
  "rgb": {
    "r": 61,
    "g": 130,
    "b": 23
  },
  "hsl": {
    "h": 98.692,
    "s": 69.935,
    "l": 30
  },
  "oklch": {
    "l": 0.54073,
    "c": 0.15309,
    "h": 137.3
  },
  "luminance": 0.17019
}

Semantic roles & 50–950 ramp

primary
#3D8217
secondary
#8C3EB6
accent
#3BEDAE
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3D8217

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

Preview Lab → · Contrast checker → · Palette generator →

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