#3D7017#3D7017

#3D7017 is a mid, vivid yellow-green. Relative luminance 0.126; OKLCH L 49.1% C 0.130 H 135.2°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#3D7017
RGBrgb(61, 112, 23)
HSLhsl(94, 66%, 26%)
HSVhsv(94, 79%, 44%)
CMYKcmyk(45.5%, 0%, 79.5%, 56.1%)
CIE-LABlab(42.22, -32.98, 41.09)
CIE-LCHlch(42.22, 52.69, 128.75°)
OKLaboklab(49.09% -0.0922 0.0917)
OKLCHoklch(49.09% 0.13 135.2)
XYZxyz(7.8731, 12.6418, 2.8357)
Luminance0.1264 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D7017 #4A1770
analogous
#6A7017 #3D7017 #17701E
triadic
#3D7017 #173D70 #70173D
tetradic
#3D7017 #176A70 #4A1770 #701E17
square
#3D7017 #176A70 #4A1770 #701E17
split-complementary
#3D7017 #1E1770 #70176A
monochromatic
#0E1905 #213D0D #3D7017 #59A321 #75D42D

Accessibility & contrast

On white

5.95
#3D7017 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#3D7017 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D7017
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D7017#FFFFFF#000000##FFFFFF
##3D70171.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746603
Deuteranopia (green-blind)
#6E6220
Tritanopia (blue-blind)
#3C6B5F
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #3d7017;
/* rgb */ color: rgb(61, 112, 23);
/* oklch */ color: oklch(49.1% 0.130 135.2);
Tailwind
colors: {
  custom: {
    50: '#78995b',
    500: '#3d7017',
    950: '#000000',
  },
}
SCSS
$custom: #3d7017;
$custom-light: #78995b;
$custom-dark: #000000;
JSON
{
  "hex": "#3d7017",
  "rgb": {
    "r": 61,
    "g": 112,
    "b": 23
  },
  "hsl": {
    "h": 94.382,
    "s": 65.926,
    "l": 26.471
  },
  "oklch": {
    "l": 0.49087,
    "c": 0.13004,
    "h": 135.2
  },
  "luminance": 0.12642
}

Semantic roles & 50–950 ramp

primary
#3D7017
secondary
#793DA6
accent
#3FE9A0
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #3D7017

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

Preview Lab → · Contrast checker → · Palette generator →

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