#3D7A15#3D7A15

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

Color values

HEX#3D7A15
RGBrgb(61, 122, 21)
HSLhsl(96, 71%, 28%)
HSVhsv(96, 83%, 48%)
CMYKcmyk(50%, 0%, 82.8%, 52.2%)
CIE-LABlab(45.59, -37.40, 44.96)
CIE-LCHlch(45.59, 58.48, 129.75°)
OKLaboklab(51.85% -0.1042 0.0995)
OKLCHoklch(51.85% 0.144 136.3)
XYZxyz(9.0191, 14.9647, 3.1225)
Luminance0.1497 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D7A15 #52157A
analogous
#6F7A15 #3D7A15 #157A20
triadic
#3D7A15 #153D7A #7A153D
tetradic
#3D7A15 #156F7A #52157A #7A2015
square
#3D7A15 #156F7A #52157A #7A2015
split-complementary
#3D7A15 #20157A #7A156F
monochromatic
#0D1A04 #23460C #3D7A15 #57AE1E #73DB2E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3D7A15#FFFFFF#000000##FFFFFF
##3D7A151.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)
#776A21
Tritanopia (blue-blind)
#3A7568
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #3d7a15;
/* rgb */ color: rgb(61, 122, 21);
/* oklch */ color: oklch(51.8% 0.144 136.3);
Tailwind
colors: {
  custom: {
    50: '#79a15c',
    500: '#3d7a15',
    950: '#000000',
  },
}
SCSS
$custom: #3d7a15;
$custom-light: #79a15c;
$custom-dark: #000000;
JSON
{
  "hex": "#3d7a15",
  "rgb": {
    "r": 61,
    "g": 122,
    "b": 21
  },
  "hsl": {
    "h": 96.238,
    "s": 70.629,
    "l": 28.039
  },
  "oklch": {
    "l": 0.51849,
    "c": 0.14408,
    "h": 136.3
  },
  "luminance": 0.14965
}

Semantic roles & 50–950 ramp

primary
#3D7A15
secondary
#813BAF
accent
#3AEDA7
background
#F7F9F5
surface
#EEF2E9
border
#C9CCC5
text
#0A0F04
muted
#7C7E79

Preview Lab

Preview with #3D7A15

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

Preview Lab → · Contrast checker → · Palette generator →

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