#3D6A17#3D6A17

#3D6A17 is a mid, vivid yellow-green. Relative luminance 0.114; OKLCH L 47.4% C 0.122 H 134.1°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#3D6A17
RGBrgb(61, 106, 23)
HSLhsl(93, 64%, 25%)
HSVhsv(93, 78%, 42%)
CMYKcmyk(42.5%, 0%, 78.3%, 58.4%)
CIE-LABlab(40.18, -30.29, 39.11)
CIE-LCHlch(40.18, 49.46, 127.75°)
OKLaboklab(47.42% -0.0849 0.0876)
OKLCHoklch(47.42% 0.122 134.1)
XYZxyz(7.2330, 11.3617, 2.6224)
Luminance0.1136 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D6A17 #44176A
analogous
#666A17 #3D6A17 #176A1A
triadic
#3D6A17 #173D6A #6A173D
tetradic
#3D6A17 #17666A #44176A #6A1A17
square
#3D6A17 #17666A #44176A #6A1A17
split-complementary
#3D6A17 #1A176A #6A1766
monochromatic
#0E1905 #20380C #3D6A17 #5A9C22 #77CF2D

Accessibility & contrast

On white

6.42
#3D6A17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#3D6A17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D6A17
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D6A17#FFFFFF#000000##FFFFFF
##3D6A171.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6106
Deuteranopia (green-blind)
#685D1F
Tritanopia (blue-blind)
#3D665A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #3d6a17;
/* rgb */ color: rgb(61, 106, 23);
/* oklch */ color: oklch(47.4% 0.122 134.1);
Tailwind
colors: {
  custom: {
    50: '#77955b',
    500: '#3d6a17',
    950: '#000000',
  },
}
SCSS
$custom: #3d6a17;
$custom-light: #77955b;
$custom-dark: #000000;
JSON
{
  "hex": "#3d6a17",
  "rgb": {
    "r": 61,
    "g": 106,
    "b": 23
  },
  "hsl": {
    "h": 92.53,
    "s": 64.341,
    "l": 25.294
  },
  "oklch": {
    "l": 0.47419,
    "c": 0.12197,
    "h": 134.1
  },
  "luminance": 0.11362
}

Semantic roles & 50–950 ramp

primary
#3D6A17
secondary
#733DA0
accent
#40E79B
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#090D04
muted
#7B7E79

Preview Lab

Preview with #3D6A17

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

Preview Lab → · Contrast checker → · Palette generator →

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