#3D7D1C#3D7D1C

#3D7D1C is a mid, vivid yellow-green. Relative luminance 0.157; OKLCH L 52.7% C 0.144 H 137.3°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#3D7D1C
RGBrgb(61, 125, 28)
HSLhsl(100, 63%, 30%)
HSVhsv(100, 78%, 49%)
CMYKcmyk(51.2%, 0%, 77.6%, 51%)
CIE-LABlab(46.63, -38.20, 43.57)
CIE-LCHlch(46.63, 57.95, 131.24°)
OKLaboklab(52.73% -0.1059 0.0977)
OKLCHoklch(52.73% 0.144 137.3)
XYZxyz(9.4674, 15.7425, 3.6381)
Luminance0.1574 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D7D1C #5C1C7D
analogous
#6D7D1C #3D7D1C #1C7D2C
triadic
#3D7D1C #1C3D7D #7D1C3D
tetradic
#3D7D1C #1C6D7D #5C1C7D #7D2C1C
square
#3D7D1C #1C6D7D #5C1C7D #7D2C1C
split-complementary
#3D7D1C #2C1C7D #7D1C6D
monochromatic
#0C1906 #254B11 #3D7D1C #55AF27 #72D43F

Accessibility & contrast

On white

5.06
#3D7D1C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#3D7D1C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #3D7D1C
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##3D7D1C#FFFFFF#000000##FFFFFF
##3D7D1C1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#817207
Deuteranopia (green-blind)
#796D26
Tritanopia (blue-blind)
#39786A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #3d7d1c;
/* rgb */ color: rgb(61, 125, 28);
/* oklch */ color: oklch(52.7% 0.144 137.3);
Tailwind
colors: {
  custom: {
    50: '#79a360',
    500: '#3d7d1c',
    950: '#000000',
  },
}
SCSS
$custom: #3d7d1c;
$custom-light: #79a360;
$custom-dark: #000000;
JSON
{
  "hex": "#3d7d1c",
  "rgb": {
    "r": 61,
    "g": 125,
    "b": 28
  },
  "hsl": {
    "h": 99.588,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.52725,
    "c": 0.14408,
    "h": 137.3
  },
  "luminance": 0.15743
}

Semantic roles & 50–950 ramp

primary
#3D7D1C
secondary
#8C44B1
accent
#41E6AE
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3D7D1C

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

Preview Lab → · Contrast checker → · Palette generator →

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