#3D7C17#3D7C17

#3D7C17 is a mid, vivid yellow-green. Relative luminance 0.155; OKLCH L 52.4% C 0.146 H 136.7°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#3D7C17
RGBrgb(61, 124, 23)
HSLhsl(97, 69%, 29%)
HSVhsv(97, 81%, 49%)
CMYKcmyk(50.8%, 0%, 81.5%, 51.4%)
CIE-LABlab(46.27, -38.11, 44.96)
CIE-LCHlch(46.27, 58.94, 130.29°)
OKLaboklab(52.42% -0.106 0.0998)
OKLCHoklch(52.42% 0.146 136.7)
XYZxyz(9.2865, 15.4686, 3.3068)
Luminance0.1547 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D7C17 #56177C
analogous
#707C17 #3D7C17 #177C24
triadic
#3D7C17 #173D7C #7C173D
tetradic
#3D7C17 #17707C #56177C #7C2417
square
#3D7C17 #17707C #56177C #7C2417
split-complementary
#3D7C17 #24177C #7C1770
monochromatic
#0D1A05 #24480D #3D7C17 #56B021 #72D934

Accessibility & contrast

On white

5.13
#3D7C17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#3D7C17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D7C17
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D7C17#FFFFFF#000000##FFFFFF
##3D7C171.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807100
Deuteranopia (green-blind)
#786C23
Tritanopia (blue-blind)
#397769
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #3d7c17;
/* rgb */ color: rgb(61, 124, 23);
/* oklch */ color: oklch(52.4% 0.146 136.7);
Tailwind
colors: {
  custom: {
    50: '#79a25d',
    500: '#3d7c17',
    950: '#000000',
  },
}
SCSS
$custom: #3d7c17;
$custom-light: #79a25d;
$custom-dark: #000000;
JSON
{
  "hex": "#3d7c17",
  "rgb": {
    "r": 61,
    "g": 124,
    "b": 23
  },
  "hsl": {
    "h": 97.426,
    "s": 68.707,
    "l": 28.824
  },
  "oklch": {
    "l": 0.52415,
    "c": 0.1456,
    "h": 136.7
  },
  "luminance": 0.15469
}

Semantic roles & 50–950 ramp

primary
#3D7C17
secondary
#863EB1
accent
#3CECAA
background
#F7FAF5
surface
#EEF3E9
border
#C9CDC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3D7C17

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

Preview Lab → · Contrast checker → · Palette generator →

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