#3D7417#3D7417

#3D7417 is a mid, vivid yellow-green. Relative luminance 0.135; OKLCH L 50.2% C 0.135 H 135.7°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#3D7417
RGBrgb(61, 116, 23)
HSLhsl(95, 67%, 27%)
HSVhsv(95, 80%, 45%)
CMYKcmyk(47.4%, 0%, 80.2%, 54.5%)
CIE-LABlab(43.57, -34.73, 42.40)
CIE-LCHlch(43.57, 54.81, 129.32°)
OKLaboklab(50.2% -0.0969 0.0944)
OKLCHoklch(50.2% 0.135 135.7)
XYZxyz(8.3243, 13.5442, 2.9861)
Luminance0.1354 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D7417 #4E1774
analogous
#6B7417 #3D7417 #177420
triadic
#3D7417 #173D74 #74173D
tetradic
#3D7417 #176B74 #4E1774 #742017
square
#3D7417 #176B74 #4E1774 #742017
split-complementary
#3D7417 #201774 #74176B
monochromatic
#0D1A05 #22410D #3D7417 #58A721 #73D630

Accessibility & contrast

On white

5.66
#3D7417 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#3D7417 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D7417
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D7417#FFFFFF#000000##FFFFFF
##3D74171.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786A01
Deuteranopia (green-blind)
#716521
Tritanopia (blue-blind)
#3B6F63
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #3d7417;
/* rgb */ color: rgb(61, 116, 23);
/* oklch */ color: oklch(50.2% 0.135 135.7);
Tailwind
colors: {
  custom: {
    50: '#789c5c',
    500: '#3d7417',
    950: '#000000',
  },
}
SCSS
$custom: #3d7417;
$custom-light: #789c5c;
$custom-dark: #000000;
JSON
{
  "hex": "#3d7417",
  "rgb": {
    "r": 61,
    "g": 116,
    "b": 23
  },
  "hsl": {
    "h": 95.484,
    "s": 66.906,
    "l": 27.255
  },
  "oklch": {
    "l": 0.50198,
    "c": 0.13532,
    "h": 135.7
  },
  "luminance": 0.13545
}

Semantic roles & 50–950 ramp

primary
#3D7417
secondary
#7D3DA9
accent
#3EEAA4
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #3D7417

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

Preview Lab → · Contrast checker → · Palette generator →

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