#3D8517#3D8517

#3D8517 is a mid, vivid yellow-green. Relative luminance 0.178; OKLCH L 54.9% C 0.157 H 137.6°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#3D8517
RGBrgb(61, 133, 23)
HSLhsl(99, 71%, 31%)
HSVhsv(99, 83%, 52%)
CMYKcmyk(54.1%, 0%, 82.7%, 47.8%)
CIE-LABlab(49.29, -41.75, 47.78)
CIE-LCHlch(49.29, 63.46, 131.15°)
OKLaboklab(54.9% -0.1158 0.1057)
OKLCHoklch(54.9% 0.157 137.6)
XYZxyz(10.4663, 17.8282, 3.7001)
Luminance0.1783 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D8517 #5F1785
analogous
#748517 #3D8517 #178528
triadic
#3D8517 #173D85 #85173D
tetradic
#3D8517 #177485 #5F1785 #852817
square
#3D8517 #177485 #5F1785 #852817
split-complementary
#3D8517 #281785 #851774
monochromatic
#0D1D05 #25510E #3D8517 #55B920 #72DD3A

Accessibility & contrast

On white

4.60
#3D8517 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#3D8517 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #3D8517
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D8517#FFFFFF#000000##FFFFFF
##3D85171.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#8A7900
Deuteranopia (green-blind)
#807324
Tritanopia (blue-blind)
#388071
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #3d8517;
/* rgb */ color: rgb(61, 133, 23);
/* oklch */ color: oklch(54.9% 0.157 137.6);
Tailwind
colors: {
  custom: {
    50: '#7ba95f',
    500: '#3d8517',
    950: '#000000',
  },
}
SCSS
$custom: #3d8517;
$custom-light: #7ba95f;
$custom-dark: #000000;
JSON
{
  "hex": "#3d8517",
  "rgb": {
    "r": 61,
    "g": 133,
    "b": 23
  },
  "hsl": {
    "h": 99.273,
    "s": 70.513,
    "l": 30.588
  },
  "oklch": {
    "l": 0.549,
    "c": 0.15678,
    "h": 137.6
  },
  "luminance": 0.17829
}

Semantic roles & 50–950 ramp

primary
#3D8517
secondary
#8F3FB9
accent
#3BEDB0
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A1005
muted
#7C7F79

Preview Lab

Preview with #3D8517

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

Preview Lab → · Contrast checker → · Palette generator →

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