#3D7A1C#3D7A1C

#3D7A1C is a mid, vivid yellow-green. Relative luminance 0.150; OKLCH L 51.9% C 0.140 H 137.0°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#3D7A1C
RGBrgb(61, 122, 28)
HSLhsl(99, 63%, 29%)
HSVhsv(99, 77%, 48%)
CMYKcmyk(50%, 0%, 77%, 52.2%)
CIE-LABlab(45.63, -36.95, 42.58)
CIE-LCHlch(45.63, 56.38, 130.95°)
OKLaboklab(51.9% -0.1025 0.0956)
OKLCHoklch(51.9% 0.14 137)
XYZxyz(9.0933, 14.9944, 3.5134)
Luminance0.1499 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D7A1C #591C7A
analogous
#6C7A1C #3D7A1C #1C7A2A
triadic
#3D7A1C #1C3D7A #7A1C3D
tetradic
#3D7A1C #1C6C7A #591C7A #7A2A1C
square
#3D7A1C #1C6C7A #591C7A #7A2A1C
split-complementary
#3D7A1C #2A1C7A #7A1C6C
monochromatic
#0C1906 #244811 #3D7A1C #56AC27 #72D33E

Accessibility & contrast

On white

5.25
#3D7A1C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#3D7A1C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D7A1C
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D7A1C#FFFFFF#000000##FFFFFF
##3D7A1C1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7E6F09
Deuteranopia (green-blind)
#766A26
Tritanopia (blue-blind)
#397568
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #3d7a1c;
/* rgb */ color: rgb(61, 122, 28);
/* oklch */ color: oklch(51.9% 0.140 137.0);
Tailwind
colors: {
  custom: {
    50: '#79a15f',
    500: '#3d7a1c',
    950: '#000000',
  },
}
SCSS
$custom: #3d7a1c;
$custom-light: #79a15f;
$custom-dark: #000000;
JSON
{
  "hex": "#3d7a1c",
  "rgb": {
    "r": 61,
    "g": 122,
    "b": 28
  },
  "hsl": {
    "h": 98.936,
    "s": 62.667,
    "l": 29.412
  },
  "oklch": {
    "l": 0.51896,
    "c": 0.14019,
    "h": 137
  },
  "luminance": 0.14995
}

Semantic roles & 50–950 ramp

primary
#3D7A1C
secondary
#8944AE
accent
#42E6AC
background
#F7F9F5
surface
#EEF2EA
border
#C9CCC6
text
#0A0F05
muted
#7C7E79

Preview Lab

Preview with #3D7A1C

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

Preview Lab → · Contrast checker → · Palette generator →

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