#3D7A17#3D7A17

#3D7A17 is a mid, vivid yellow-green. Relative luminance 0.150; OKLCH L 51.9% C 0.143 H 136.5°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#3D7A17
RGBrgb(61, 122, 23)
HSLhsl(97, 68%, 28%)
HSVhsv(97, 81%, 48%)
CMYKcmyk(50%, 0%, 81.1%, 52.2%)
CIE-LABlab(45.60, -37.28, 44.33)
CIE-LCHlch(45.60, 57.92, 130.07°)
OKLaboklab(51.86% -0.1038 0.0985)
OKLCHoklch(51.86% 0.143 136.5)
XYZxyz(9.0384, 14.9724, 3.2241)
Luminance0.1497 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D7A17 #54177A
analogous
#6E7A17 #3D7A17 #177A22
triadic
#3D7A17 #173D7A #7A173D
tetradic
#3D7A17 #176E7A #54177A #7A2217
square
#3D7A17 #176E7A #54177A #7A2217
split-complementary
#3D7A17 #22177A #7A176E
monochromatic
#0D1A05 #23470D #3D7A17 #57AD21 #72D933

Accessibility & contrast

On white

5.26
#3D7A17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#3D7A17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D7A17
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D7A17#FFFFFF#000000##FFFFFF
##3D7A171.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F00
Deuteranopia (green-blind)
#766A22
Tritanopia (blue-blind)
#3A7568
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #3d7a17;
/* rgb */ color: rgb(61, 122, 23);
/* oklch */ color: oklch(51.9% 0.143 136.5);
Tailwind
colors: {
  custom: {
    50: '#79a15d',
    500: '#3d7a17',
    950: '#000000',
  },
}
SCSS
$custom: #3d7a17;
$custom-light: #79a15d;
$custom-dark: #000000;
JSON
{
  "hex": "#3d7a17",
  "rgb": {
    "r": 61,
    "g": 122,
    "b": 23
  },
  "hsl": {
    "h": 96.97,
    "s": 68.276,
    "l": 28.431
  },
  "oklch": {
    "l": 0.51861,
    "c": 0.14305,
    "h": 136.5
  },
  "luminance": 0.14973
}

Semantic roles & 50–950 ramp

primary
#3D7A17
secondary
#843EAF
accent
#3DEBA8
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0F05
muted
#7C7E79

Preview Lab

Preview with #3D7A17

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

Preview Lab → · Contrast checker → · Palette generator →

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