#3D7E17#3D7E17

#3D7E17 is a mid, vivid yellow-green. Relative luminance 0.160; OKLCH L 53.0% C 0.148 H 136.9°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#3D7E17
RGBrgb(61, 126, 23)
HSLhsl(98, 69%, 29%)
HSVhsv(98, 82%, 49%)
CMYKcmyk(51.6%, 0%, 81.7%, 50.6%)
CIE-LABlab(46.94, -38.94, 45.59)
CIE-LCHlch(46.94, 59.96, 130.50°)
OKLaboklab(52.97% -0.1082 0.1011)
OKLCHoklch(52.97% 0.148 136.9)
XYZxyz(9.5397, 15.9750, 3.3912)
Luminance0.1598 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D7E17 #58177E
analogous
#717E17 #3D7E17 #177E24
triadic
#3D7E17 #173D7E #7E173D
tetradic
#3D7E17 #17717E #58177E #7E2417
square
#3D7E17 #17717E #58177E #7E2417
split-complementary
#3D7E17 #24177E #7E1771
monochromatic
#0D1A05 #244A0E #3D7E17 #56B220 #72DA35

Accessibility & contrast

On white

5.01
#3D7E17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#3D7E17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D7E17
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D7E17#FFFFFF#000000##FFFFFF
##3D7E171.005.014.205.01
#FFFFFF5.011.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#827300
Deuteranopia (green-blind)
#7A6D23
Tritanopia (blue-blind)
#39796B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #3d7e17;
/* rgb */ color: rgb(61, 126, 23);
/* oklch */ color: oklch(53.0% 0.148 136.9);
Tailwind
colors: {
  custom: {
    50: '#7aa45e',
    500: '#3d7e17',
    950: '#000000',
  },
}
SCSS
$custom: #3d7e17;
$custom-light: #7aa45e;
$custom-dark: #000000;
JSON
{
  "hex": "#3d7e17",
  "rgb": {
    "r": 61,
    "g": 126,
    "b": 23
  },
  "hsl": {
    "h": 97.864,
    "s": 69.128,
    "l": 29.216
  },
  "oklch": {
    "l": 0.52968,
    "c": 0.14811,
    "h": 136.9
  },
  "luminance": 0.15976
}

Semantic roles & 50–950 ramp

primary
#3D7E17
secondary
#883EB3
accent
#3CECAB
background
#F7FAF5
surface
#EEF4E9
border
#C9CEC5
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3D7E17

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

Preview Lab → · Contrast checker → · Palette generator →

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