#3D7C1A#3D7C1A

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

Color values

HEX#3D7C1A
RGBrgb(61, 124, 26)
HSLhsl(99, 65%, 29%)
HSVhsv(99, 79%, 49%)
CMYKcmyk(50.8%, 0%, 79%, 51.4%)
CIE-LABlab(46.29, -37.92, 43.95)
CIE-LCHlch(46.29, 58.05, 130.79°)
OKLaboklab(52.43% -0.1053 0.0982)
OKLCHoklch(52.43% 0.144 137)
XYZxyz(9.3183, 15.4813, 3.4743)
Luminance0.1548 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D7C1A #591A7C
analogous
#6E7C1A #3D7C1A #1A7C28
triadic
#3D7C1A #1A3D7C #7C1A3D
tetradic
#3D7C1A #1A6E7C #591A7C #7C281A
square
#3D7C1A #1A6E7C #591A7C #7C281A
split-complementary
#3D7C1A #281A7C #7C1A6E
monochromatic
#0C1905 #24490F #3D7C1A #56AF25 #72D63B

Accessibility & contrast

On white

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

On black

4.10
#3D7C1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##3D7C1A#FFFFFF#000000##FFFFFF
##3D7C1A1.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#807103
Deuteranopia (green-blind)
#786C25
Tritanopia (blue-blind)
#39776A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #3d7c1a;
/* rgb */ color: rgb(61, 124, 26);
/* oklch */ color: oklch(52.4% 0.144 137.0);
Tailwind
colors: {
  custom: {
    50: '#79a25f',
    500: '#3d7c1a',
    950: '#000000',
  },
}
SCSS
$custom: #3d7c1a;
$custom-light: #79a25f;
$custom-dark: #000000;
JSON
{
  "hex": "#3d7c1a",
  "rgb": {
    "r": 61,
    "g": 124,
    "b": 26
  },
  "hsl": {
    "h": 98.571,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.52435,
    "c": 0.14396,
    "h": 137
  },
  "luminance": 0.15482
}

Semantic roles & 50–950 ramp

primary
#3D7C1A
secondary
#8942B0
accent
#40E8AC
background
#F7FAF5
surface
#EEF3EA
border
#C9CDC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3D7C1A

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

Preview Lab → · Contrast checker → · Palette generator →

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