#3D7D1A#3D7D1A

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

Color values

HEX#3D7D1A
RGBrgb(61, 125, 26)
HSLhsl(99, 66%, 30%)
HSVhsv(99, 79%, 49%)
CMYKcmyk(51.2%, 0%, 79.2%, 51%)
CIE-LABlab(46.62, -38.34, 44.28)
CIE-LCHlch(46.62, 58.57, 130.89°)
OKLaboklab(52.71% -0.1064 0.0988)
OKLCHoklch(52.71% 0.145 137.1)
XYZxyz(9.4442, 15.7332, 3.5162)
Luminance0.1573 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#3D7D1A #5A1A7D
analogous
#6F7D1A #3D7D1A #1A7D29
triadic
#3D7D1A #1A3D7D #7D1A3D
tetradic
#3D7D1A #1A6F7D #5A1A7D #7D291A
square
#3D7D1A #1A6F7D #5A1A7D #7D291A
split-complementary
#3D7D1A #291A7D #7D1A6F
monochromatic
#0C1905 #244A0F #3D7D1A #56B025 #72D63B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##3D7D1A#FFFFFF#000000##FFFFFF
##3D7D1A1.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)
#817203
Deuteranopia (green-blind)
#796D25
Tritanopia (blue-blind)
#39786A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #3d7d1a;
/* rgb */ color: rgb(61, 125, 26);
/* oklch */ color: oklch(52.7% 0.145 137.1);
Tailwind
colors: {
  custom: {
    50: '#79a35f',
    500: '#3d7d1a',
    950: '#000000',
  },
}
SCSS
$custom: #3d7d1a;
$custom-light: #79a35f;
$custom-dark: #000000;
JSON
{
  "hex": "#3d7d1a",
  "rgb": {
    "r": 61,
    "g": 125,
    "b": 26
  },
  "hsl": {
    "h": 98.788,
    "s": 65.563,
    "l": 29.608
  },
  "oklch": {
    "l": 0.52711,
    "c": 0.14524,
    "h": 137.1
  },
  "luminance": 0.15734
}

Semantic roles & 50–950 ramp

primary
#3D7D1A
secondary
#8A42B1
accent
#3FE9AD
background
#F7FAF5
surface
#EEF4EA
border
#C9CEC6
text
#0A0F05
muted
#7C7F79

Preview Lab

Preview with #3D7D1A

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

Preview Lab → · Contrast checker → · Palette generator →

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