#3D8417#3D8417

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

Color values

HEX#3D8417
RGBrgb(61, 132, 23)
HSLhsl(99, 70%, 30%)
HSVhsv(99, 83%, 52%)
CMYKcmyk(53.8%, 0%, 82.6%, 48.2%)
CIE-LABlab(48.95, -41.36, 47.47)
CIE-LCHlch(48.95, 62.96, 131.06°)
OKLaboklab(54.63% -0.1147 0.1051)
OKLCHoklch(54.63% 0.156 137.5)
XYZxyz(10.3300, 17.5557, 3.6547)
Luminance0.1756 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D8417 #5E1784
analogous
#738417 #3D8417 #178428
triadic
#3D8417 #173D84 #84173D
tetradic
#3D8417 #177384 #5E1784 #842817
square
#3D8417 #177384 #5E1784 #842817
split-complementary
#3D8417 #281784 #841773
monochromatic
#0D1C05 #25500E #3D8417 #55B820 #72DC39

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3D8417#FFFFFF#000000##FFFFFF
##3D84171.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)
#7F7224
Tritanopia (blue-blind)
#387F70
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #3d8417;
/* rgb */ color: rgb(61, 132, 23);
/* oklch */ color: oklch(54.6% 0.156 137.5);
Tailwind
colors: {
  custom: {
    50: '#7ba85f',
    500: '#3d8417',
    950: '#000000',
  },
}
SCSS
$custom: #3d8417;
$custom-light: #7ba85f;
$custom-dark: #000000;
JSON
{
  "hex": "#3d8417",
  "rgb": {
    "r": 61,
    "g": 132,
    "b": 23
  },
  "hsl": {
    "h": 99.083,
    "s": 70.323,
    "l": 30.392
  },
  "oklch": {
    "l": 0.54625,
    "c": 0.15556,
    "h": 137.5
  },
  "luminance": 0.17556
}

Semantic roles & 50–950 ramp

primary
#3D8417
secondary
#8E3FB8
accent
#3BEDAF
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #3D8417

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

Preview Lab → · Contrast checker → · Palette generator →

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