#3D7D17#3D7D17

#3D7D17 is a mid, vivid yellow-green. Relative luminance 0.157; OKLCH L 52.7% C 0.147 H 136.8°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#3D7D17
RGBrgb(61, 125, 23)
HSLhsl(98, 69%, 29%)
HSVhsv(98, 82%, 49%)
CMYKcmyk(51.2%, 0%, 81.6%, 51%)
CIE-LABlab(46.61, -38.53, 45.28)
CIE-LCHlch(46.61, 59.45, 130.39°)
OKLaboklab(52.69% -0.1071 0.1005)
OKLCHoklch(52.69% 0.147 136.8)
XYZxyz(9.4125, 15.7205, 3.3488)
Luminance0.1572 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D7D17 #57177D
analogous
#707D17 #3D7D17 #177D24
triadic
#3D7D17 #173D7D #7D173D
tetradic
#3D7D17 #17707D #57177D #7D2417
square
#3D7D17 #17707D #57177D #7D2417
split-complementary
#3D7D17 #24177D #7D1770
monochromatic
#0D1A05 #24490D #3D7D17 #56B121 #72DA35

Accessibility & contrast

On white

5.07
#3D7D17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#3D7D17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D7D17
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D7D17#FFFFFF#000000##FFFFFF
##3D7D171.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817200
Deuteranopia (green-blind)
#796C23
Tritanopia (blue-blind)
#39786A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #3d7d17;
/* rgb */ color: rgb(61, 125, 23);
/* oklch */ color: oklch(52.7% 0.147 136.8);
Tailwind
colors: {
  custom: {
    50: '#7aa35d',
    500: '#3d7d17',
    950: '#000000',
  },
}
SCSS
$custom: #3d7d17;
$custom-light: #7aa35d;
$custom-dark: #000000;
JSON
{
  "hex": "#3d7d17",
  "rgb": {
    "r": 61,
    "g": 125,
    "b": 23
  },
  "hsl": {
    "h": 97.647,
    "s": 68.919,
    "l": 29.02
  },
  "oklch": {
    "l": 0.52692,
    "c": 0.14686,
    "h": 136.8
  },
  "luminance": 0.15721
}

Semantic roles & 50–950 ramp

primary
#3D7D17
secondary
#873EB2
accent
#3CECAA
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3D7D17

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

Preview Lab → · Contrast checker → · Palette generator →

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