#3D7C1C#3D7C1C

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

Color values

HEX#3D7C1C
RGBrgb(61, 124, 28)
HSLhsl(99, 63%, 30%)
HSVhsv(99, 77%, 49%)
CMYKcmyk(50.8%, 0%, 77.4%, 51.4%)
CIE-LABlab(46.30, -37.79, 43.24)
CIE-LCHlch(46.30, 57.43, 131.15°)
OKLaboklab(52.45% -0.1048 0.097)
OKLCHoklch(52.45% 0.143 137.2)
XYZxyz(9.3414, 15.4906, 3.5961)
Luminance0.1549 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D7C1C #5B1C7C
analogous
#6D7C1C #3D7C1C #1C7C2B
triadic
#3D7C1C #1C3D7C #7C1C3D
tetradic
#3D7C1C #1C6D7C #5B1C7C #7C2B1C
square
#3D7C1C #1C6D7C #5B1C7C #7C2B1C
split-complementary
#3D7C1C #2B1C7C #7C1C6D
monochromatic
#0C1906 #244A11 #3D7C1C #56AE27 #72D43F

Accessibility & contrast

On white

5.12
#3D7C1C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #3D7C1C
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D7C1C#FFFFFF#000000##FFFFFF
##3D7C1C1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #3d7c1c;
/* rgb */ color: rgb(61, 124, 28);
/* oklch */ color: oklch(52.4% 0.143 137.2);
Tailwind
colors: {
  custom: {
    50: '#79a260',
    500: '#3d7c1c',
    950: '#000000',
  },
}
SCSS
$custom: #3d7c1c;
$custom-light: #79a260;
$custom-dark: #000000;
JSON
{
  "hex": "#3d7c1c",
  "rgb": {
    "r": 61,
    "g": 124,
    "b": 28
  },
  "hsl": {
    "h": 99.375,
    "s": 63.158,
    "l": 29.804
  },
  "oklch": {
    "l": 0.52449,
    "c": 0.14279,
    "h": 137.2
  },
  "luminance": 0.15491
}

Semantic roles & 50–950 ramp

primary
#3D7C1C
secondary
#8B44B0
accent
#42E6AE
background
#F7FAF5
surface
#EEF3EA
border
#C9CDC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3D7C1C

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

Preview Lab → · Contrast checker → · Palette generator →

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